Issue JP-4258 was created on JIRA by Gael Noirot:
The current wfss_contam step for WFSS modes models spectra as flat (constant flux as a function of wavelength). From the perspective of NIRISS (and likely the other WFSS instruments), while it might work well enough to model faint spectra, it is in most cases an inadequate assumption of the true spectral shapes of sources in WFSS observations and is most visible in the residuals of bright stars with strong spectral slopes or in deep observations.
This ticket is to track discussion on possible improvements in that regard. For example, possible ways to improve the spectral shape modeling would be to implement some polynomial fitting to the data, similar to what is implemented in Grizli, or to inform the spectral shape via multi-band data.
Issue JP-4258 was created on JIRA by Gael Noirot:
The current wfss_contam step for WFSS modes models spectra as flat (constant flux as a function of wavelength). From the perspective of NIRISS (and likely the other WFSS instruments), while it might work well enough to model faint spectra, it is in most cases an inadequate assumption of the true spectral shapes of sources in WFSS observations and is most visible in the residuals of bright stars with strong spectral slopes or in deep observations.
This ticket is to track discussion on possible improvements in that regard. For example, possible ways to improve the spectral shape modeling would be to implement some polynomial fitting to the data, similar to what is implemented in Grizli, or to inform the spectral shape via multi-band data.