Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weak lensing: updated baseline shear estimator + manuscript figures #1079

Merged
merged 22 commits into from
Jan 7, 2025

Conversation

timwhite0
Copy link
Collaborator

  • Regenerated catalog after DC2 files were re-synced. Added ellipticity_1_true_dc2 and ellipticity_2_true_dc2 to the catalog.
  • Estimated galaxy ellipticities using LSST-measured second moments Ixx_pixel, Ixy_pixel, Iyy_pixel. Switched to using these LSST estimates in our baseline shear estimator instead of the true ellipticities.
  • Updated tuning procedure for the baseline shear estimator. We now use only the training set to tune (I was previously using all DC2 images by mistake), and we use R-squared to select the optimal weighted-average kernel size and standard deviation.
  • Created some figures for the manuscript.

See evaluate_encoder.ipynb and manuscript/figure*.ipynb for recent results. Here's a summary from a fairly recent training run:

BLISS:
test loss: -10.34
shear 1 test MSE: 5.8e-05
shear 2 test MSE: 5.9e-05
convergence test MSE: 6.5e-05

Baseline estimator based on LSST ellipticity estimates:
shear 1 test MSE: 8.5e-05 
shear 2 test MSE: 6.5e-05

@timwhite0 timwhite0 requested a review from jeff-regier January 7, 2025 02:08
Copy link

codecov bot commented Jan 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.16%. Comparing base (bb0c5cb) to head (46fc831).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1079   +/-   ##
=======================================
  Coverage   76.16%   76.16%           
=======================================
  Files          22       22           
  Lines        3092     3092           
=======================================
  Hits         2355     2355           
  Misses        737      737           
Flag Coverage Δ
unittests 76.16% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@jeff-regier jeff-regier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@jeff-regier jeff-regier merged commit 73276aa into master Jan 7, 2025
3 checks passed
@jeff-regier jeff-regier deleted the tw/weak_lensing branch January 7, 2025 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants