desihub / timedomain

Time-domain code.
MIT License
3 stars 14 forks source link

Calculate difference between spectral and fiber magnitudes #8

Closed rstaten closed 3 years ago

rstaten commented 3 years ago

This PR adds a desitrip function to calculate the difference between spectral and fiber magnitudes. These differences are calculated by running cnn_classify_data.py and are stored per arm in the fibermap HDU of the output transient candidate FITS file as 'DELTAMAG_G', 'DELTAMAG_R', and 'DELTAMAG_Z'. @sybenzvi, @apalmese, please let me know if you'd like me to refactor or update this in any way.