BlendingToolKit
BlendingToolKit copied to clipboard
make default catalogs compatible with all surveys
@herjy mentioned that some surveys are not compatible with the base catalog because the corresponding bands are not available. It would be nice to have a catalog that works with all surveys potentially by adding more columns with correct magnitudes for bands in other surveys?
To have access to several bandpass the easiest way is to start from an SED which you can then integrate through various filters. This solution would work only for parametric objects. Also it requiers to either have a the SED provided directly in the catalog containing the galaxy parameters you need to create your model or to do a match based on the magnitudes and library of SED templates. Here are some helpful codes: SED matching: https://github.com/LSSTDESC/sims_photUtils/blob/master/python/lsst/sims/photUtils/readGalfast/selectGalaxySED.py
Photometry from SED: https://github.com/LSSTDESC/sims_photUtils/blob/master/python/lsst/sims/photUtils/Sed.py
I think those codes are part of ImSim (to be confirmed)
Note: At least we throw an error in the CatsimCatalog
in the case that the catalog does not have the required bands/filters