Closed rcooke-ast closed 2 months ago
It seems a good idea to have the "blaze function" in the SpecObj, but we may want to consolidate this with what pypeit_coadd_1dspec
is doing, which also uses the blaze. @jhennawi what do you think?
Also, @rcooke-ast can you add a quick example of how to use UVES_popler with PypeIt spec1ds?
Thanks for the quick feedback @kbwestfall and @debora-pe! Responding to your queries:
Increment the datamodel version number for SpecObj.
Done!
I dislike our use of the term "blaze function" here. The flat-field observations do not strictly provide the blaze function only (unless I'm missing something). Maybe that's the dominant term, but there are other components (e.g., the detector QE, etc). Why not just use "FLAT" instead?
You're right, it's not strictly the blaze, but this is how UVES_popler reads in the PypeIt files. I have changed this to FLAT, and I'll submit a small PR to UVES_popler.
Also, @rcooke-ast can you add a quick example of how to use UVES_popler with PypeIt spec1ds?
I've linked to the documentation, and I don't wish to reproduce too much here, but I've added some of the first simple steps to get things going. For the record, here is the documentation for your interest:
https://astronomy.swin.edu.au/~mmurphy/UVES_popler/
Also, Michael Murphy has a video tutorial of how to interact with UVES_popler, and is going to share that with us.
:warning: Please install the to ensure uploads and comments are reliably processed by Codecov.
Attention: Patch coverage is 66.66667%
with 30 lines
in your changes missing coverage. Please review.
Project coverage is 38.07%. Comparing base (
081f2f4
) to head (492c13b
).
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Tests pass...
OK - I've unified the approach to the blaze computation, and tests now pass. This also required a few bug fixes in the flatfield code which produces infinities in the flat model (even on the develop
branch).
Tests pass...
Tests still pass
I've checked this branch works with UVES_popler
, so I'm merging.
I have added support to combine PypeIt data products with UVES_popler. The UVES_popler changes have now been merged, although there may still be a few minor issues that need to be sorted out. Michael Murphy has kindly joined the User's Slack and is happy to assist users with some support if they choose to use this package. I've also updated some of the docs.
Overall, if this is something that receives a lot of interest, we may want to consider redeveloping a GUI for such data combination in the future, possibly with python so users don't need to install CFITSIO and PGPLOT...