superbit-collaboration / superbit-metacal

Contains a collection of routines used to perform gmix/metacalibration on simulated SuperBIT images
4 stars 1 forks source link

Make matching against truth/redshift file optional #80

Open mcclearyj opened 2 years ago

mcclearyj commented 2 years ago

In superbit_lensing/shear_profiles/make_annular_catalog.py: the selection of background galaxies in compute_metacal_quantities() means that if a truth file is not passed, the script will fail. For the sake of future SuperBIT forecasting and analysis work, matching the metcalibration fits file against a truth/redshift catalog should be made optional.

https://github.com/superbit-collaboration/superbit-metacal/blob/0f07bef22fe6c4b498daef70830ac81b607393d7/superbit_lensing/shear_profiles/make_annular_catalog.py#L239