Repository navigation
Conversation
|
How does this compare to using https://github.com/desihub/desiutil/blob/main/py/desiutil/dust.py#L92 |
|
@sbailey they are identical. I have updated the code to use desiutil function instead. |
|
IIRC years ago we decided to not propagate the MW_TRANSMISSION values under the argument that 1) they are derivable from EBV and PHOTSYS, and 2) they are model-dependent quantities rather than core observed measurements. For those with desiutil in their environment, it seems easy to use |
|
For the coadd/redrock files which are intended for power users, it makes sense to only keep EBV. But most users (including our DESI collaborators) do not know how to derive MW_TRANSMISSION from EBV. In fact I realized that the MW_TRANSMISSION columns are missing when someone in DESI complained about it on Slack. For something as simple (and necessary) as obtaining extinction-corrected fluxes, I don't think we should force them to install and use |
This PR adds the
MW_TRANSMISSION_{G,R,Z,W1,W2}columns back to the v2 zcatalogs, specifically the-imaging.fitsfile.The original MW_TRANSMISSION columns from LS DR9 were not kept by in fibermap, so they have to be recomputed using the EBV value.
Some objects (all sky fibers) have zero-filled EBV values, and their
MW_TRANSMISSIONvalues are set to zero instead of 1. To select these objects, I also require their grz fluxes to be zero so as to avoid including any real object with EBV=0.