Weak lensing: DC2 updates - #1101
Merged
Merged
Conversation
timwhite0
commented
Dec 15, 2025
Collaborator
- Updated catalog so that it includes all unique galaxies in the truth table, not just those with r-band flux greater than 200.
- Switched to using four redshift bins instead of three.
- Implemented a new method of partitioning into contiguous train/val/test sets: first sort files based on RA/DEC flags, then partition them by file order.
- Previously our configs and encoders inherited from the main BLISS configs/encoder. Now they are standalone.
- Reorganized notebooks and configs and updated READMEs.
- Updated plots for the mass mapping manuscript.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1101 +/- ##
=======================================
Coverage 80.64% 80.64%
=======================================
Files 22 22
Lines 3111 3111
=======================================
Hits 2509 2509
Misses 602 602
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
jeff-regier
pushed a commit
that referenced
this pull request
Jun 10, 2026
* Update figure: DC2 ground truth maps * Update figure: descwl NPE credible intervals * Update figure: NPE credible intervals and coverage probs * Switch to serif font: DC2 ground truth maps * Update figure: DC2 ground truth maps * Update figure: DC2 posterior mean maps * Switch to serif font: Descwl credible intervals * Update figure and switch to serif: cosmoDC2 galaxies * Update figure: cosmoDC2 galaxies * Update gitignore * Posterior stdev maps for DC2 redbin3 * Posterior mean metrics for DC2 redbin3 * np array -> tensor instead of (list of np arrays) -> tensor * Better train/val/test partition via file names * Remove alt DC2 catalog generation files which kept all galaxies in obj-truth-match * Generate DC2 catalog without flux threshold * Update configs after catalog changes * Manually specify res_midpoint when building network layers * Update plot axis scales * Update path in great lakes config * Update train/val/test partition in dc2.py * Remove old redbin1 notebooks * Update figure: DC2 image and maps * Update train/val/test partition in dc2.py again * Remove old configs * Update current configs * Rename configs * Update gitignore * Update configs * Update figures: DC2 credible intervals and maps * Update figure: DC2 galaxy properties * Update DC2 image and maps * Update learning rate * New ckpt * Update posterior mean map colorbar * Update plot colors * Update READMEs * Make res_midpoint an argument * Update gitignore * Update README * Make weak lensing configs and encoder independent * Rename some encoder arguments * ruff formatting fixes * more ruff formatting fixes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.