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

Allow optional extinction factors #59

Closed sweverett closed 5 years ago

sweverett commented 5 years ago

We should allow for input objects to be extinction-corrected and then re-extincted given local conditions. This will require:

  1. Storing extinction info per band/tile (maybe in the geometry file?)
  2. Remove extinction factor to input object fluxes given pos
  3. Apply new extinction factor given local injection region
  4. Save both flux and flux_ext to truth catalog.
sweverett commented 5 years ago

Re-opening as I just realized that the de-reddening of stars has not yet been taken care of. We may also want to make the following column name changes in the truth catalog: flux_deredden->flux flux- -> flux_redden or at least something similar so that people are comparing to the closest estimate we have for the 'true' flux of the object.

sweverett commented 5 years ago

Closing this again as we have decided to keep all column names the same for clarity. Any changes will either be done with an after-burner code, but more likely we will just ensure we write clear documentation & provide plotting scripts that handle the comparisons correctly.