How to de-redden forced source on dia objects

I only see E(B-V) SFD values in the DP1 Object Table. Can anybody recommend a method for de-reddening magnitudes (from the psfFluxes) of objects in the forced source on diaObjects table?

Hi Bob – for extinction coefficients to convert from E(B-V) to extinction values in Rubin filters, I’d suggest:

from rubin_sim.phot_utils import DustValues
DustValues().r_x

When I tried this just now, rubin_sim was available in my RSP environment without having to specifically install it. I believe that for the above to work you’ll also need to set the RUBIN_SIM_DATA_DIR environment variable to /rubin/rubin_sim_data. Thanks!

Thank you Aaron, I’ll play with it this weekend!

1 Like