sweverett / Balrog-GalSim

Modules for GalSim that will be useful for DES images in conjunction with Balrog.
MIT License
5 stars 5 forks source link

All bands are being injected into each chip! #9

Closed sweverett closed 6 years ago

sweverett commented 6 years ago

Stolen from slack: The ngmix_catalog should know which band to inject in given the nullwt name. But it is being overwritten by the global config that is passed in bal_config.yaml. It was copied over a long time ago when ngmix_catalog simulations were done in a slightly different way. So the global

input : ngmix_catalog
    bands : 'griz'
    ....

(which is being used to determine how many bands to iterate over) is also overwriting each chip injection to inject all bands at every injection

sweverett commented 6 years ago

While there are still photometry issues (see #11), this bug seems to have been correctly fixed.