LSSTDESC / skyCatalogs

Create sky catalogs and provide access via API
BSD 3-Clause "New" or "Revised" License
6 stars 4 forks source link

Correct calculation for star extinction #71

Closed JoanneBogart closed 9 months ago

JoanneBogart commented 9 months ago

Make use of ebv column from star sqlite db

JoanneBogart commented 9 months ago

I did a comparison of a very small sample of old and new fluxes. I think it's reasonable. They're not identical but not very different:

old_tbl['lsst_flux_i'][:10] <pyarrow.lib.ChunkedArray object at 0x7fabe4493150> [ [ 0.00006627533, 0.000029024348, 0.000032654632, 0.009009236, 0.000028461804, 0.000011157954, 0.000009312664, 0.000504227, 0.0000099784265, 0.000054448712 ] ] new_tbl['lsst_flux_i'][:10] <pyarrow.lib.ChunkedArray object at 0x7fabe41e3d80> [ [ 0.00006609065, 0.000028960018, 0.000032573218, 0.00898783, 0.000028390612, 0.000011124053, 0.000009290497, 0.0005030877, 0.00000996649, 0.000054386965 ] ]