grizli
grizli copied to clipboard
Dispersive element naming confusion
It's confusing that the dispersive element for HST, NIRISS, and NIRCam are all different. Maybe call dispersive element dispname throughout, which will be FILTER for HST, PUPIL-FILTER for NIRISS and FILTER-PUPIL for NIRCam, with a function in utils that generates this from a passed Header or ImageHDU
I think that this is now essentially fixed in that utils.get_hst_filter returns the combination {filter}-{disperser} for JWST instruments accounting for the swap between NIRCam and NIRISS WFSS.
However, pipeline.auto_script.load_GroupFLT still doesn't recognize two JWST grisms for a common blocking filter as being processed together.