Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
4cfb90b
object-wise leakage with aux quantities
Apr 2, 2025
ef66d67
leakage aux
Apr 3, 2025
3f2a305
cosmo_val print bug fix
Apr 6, 2025
d7e06f7
removed commented code
martinkilbinger Apr 7, 2025
f97db74
added columns for obj_leakage
Apr 9, 2025
e9ccadf
Merge remote-tracking branch 'upstream/develop' into obj_leakage_aux
Apr 11, 2025
bfdbd73
major version as variable
Apr 18, 2025
2eb70b1
cosmo val config: minor version 'a' for psf and star cats
Apr 18, 2025
a590f24
Merge remote-tracking branch 'origin/cosmo_val_mk' into obj_leakage_aux
Apr 29, 2025
bbf26fb
Merge remote-tracking branch 'upstream/develop' into obj_leakage_aux
May 6, 2025
a428ad7
sp_val cfg paths
May 9, 2025
597c982
Merge remote-tracking branch 'upstream/develop' into obj_leakage_aux
martinkilbinger Jun 5, 2025
da7e851
Updated to python 3.12; added v1.3.6 to cosmo_val
Jan 14, 2026
3f1e1cf
Merge remote-tracking branch 'upstream/develop' into obj_leakage_aux
martinkilbinger Jan 20, 2026
8b78f89
remove conflict marker
martinkilbinger Jan 20, 2026
64e61da
moved cosmo_val to src
martinkilbinger Jan 20, 2026
0b4562f
added _aux functions (back)
martinkilbinger Jan 20, 2026
b076413
Implemented psf size hack to propagate PSF size for no shear; added s…
Jan 26, 2026
01afc55
added v1.X.10 config file: include deblended objects
Jan 26, 2026
529e25e
Merge remote-tracking branch 'upstream/develop' into obj_leakage_aux
Jan 26, 2026
073e15e
ran "black" formatting
Jan 26, 2026
b7650cf
Added v1.6.6 to cosmo_val config
Jan 26, 2026
f87dd90
bug fix on results/results_obj
Jan 26, 2026
c8dca03
more minor bug fixes
Jan 26, 2026
6182318
scale/obj bug fix
Jan 26, 2026
8f64292
merge
Jan 26, 2026
029a919
Merge remote-tracking branch 'origin/psf_size_hack' into obj_leakage_aux
Jan 26, 2026
453e6bf
remove obsolete angular separation plot
Jan 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ notebooks/demo_add_bands_to_empty.ipynb
notebooks/demo_comprehensive_to_minimal_cat.ipynb
notebooks/demo_create_footprint_mask.ipynb
notebooks/demo_check_footprint.ipynb
notebooks/demo_comprehensive_to_minimal_cat.ipynb
notebooks/demo_calibrate_minimal_cat.ipynb
notebooks/leakage_minimal.ipynb
notebooks/demo_add_bands.ipynb
Expand Down
110 changes: 110 additions & 0 deletions config/calibration/mask_v1.X.10.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
# Config file for masking and calibration.
# Standard cuts without halo masks, type v1.X.10

# General parameters (can also given on command line)
params:
input_path: unions_shapepipe_comprehensive_struc_2024_v1.X.c.hdf5
cmatrices: False
sky_regions: False
verbose: True

# Masks
## Using columns in 'dat' group (ShapePipe flags)
dat:
# SExtractor flags
- col_name: FLAGS
label: SE FLAGS
kind: smaller_equal
value: 2

# Duplicate objects
- col_name: overlap
label: tile overlap
kind: equal
value: True

# ShapePipe flags
- col_name: IMAFLAGS_ISO
label: SP mask
kind: equal
value: 0

# Number of epochs
- col_name: N_EPOCH
label: r"$n_{\rm epoch}$"
kind: greater_equal
value: 2

# Magnitude range
- col_name: mag
label: mag range
kind: range
value: [15, 30]

# ngmix flags
- col_name: NGMIX_MOM_FAIL
label: "ngmix moments failure"
kind: equal
value: 0

# invalid PSF ellipticities
- col_name: NGMIX_ELL_PSFo_NOSHEAR_0
label: "bad PSF ellipticity comp 1"
kind: not_equal
value: -10
- col_name: NGMIX_ELL_PSFo_NOSHEAR_1
label: "bad PSF ellipticity comp 2"
kind: not_equal
value: -10

## Using columns in 'dat_ext' group (post-processing flags)
dat_ext:

# Stars
- col_name: 4_Stars
label: "Stars"
kind: equal
value: False

# Manual mask
- col_name: 8_Manual
label: "manual mask"
kind: equal
value: False

# r-band footprint
- col_name: 64_r
label: "r-band imaging"
kind: equal
value: False

# Maximask
- col_name: 1024_Maximask
label: "maximask"
kind: equal
value: False

# Rough pointing coverage
- col_name: npoint3
label: r"$n_{\rm pointing}$"
kind: greater_equal
value: 3

# Metacal parameters
metacal:
# Ellipticity dispersion
sigma_eps_prior: 0.34

# Signal-to-noise range
gal_snr_min: 10
gal_snr_max: 500

# Relative-size (hlr / hlr_psf) range
gal_rel_size_min: 0.707
gal_rel_size_max: 3

# Correct relative size for ellipticity?
gal_size_corr_ell: False

# Weight for global response matrix, None for unweighted mean
global_R_weight: w
Loading