LSSTDESC / BlendingToolKit

Tools to create blend catalogs, produce training samples and implement blending metrics
https://lsstdesc.org/BlendingToolKit/index.html
MIT License
28 stars 11 forks source link

make default catalogs compatible with all surveys #218

Open ismael-mendoza opened 3 years ago

ismael-mendoza commented 3 years ago

@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?

aguinot commented 2 years ago

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)

ismael-mendoza commented 5 months ago

Note: At least we throw an error in the CatsimCatalog in the case that the catalog does not have the required bands/filters