kevin218 / Eureka

Eureka! is a data reduction and analysis pipeline intended for time-series observations with JWST.
https://eurekadocs.readthedocs.io/
MIT License
60 stars 47 forks source link

Handling S3 NaN wavelengths #459

Closed taylorbell57 closed 2 years ago

taylorbell57 commented 2 years ago

Resolves #457

This PR adds a warning to users that they're using pixels that do not have a wavelength solution. This also adds an extrapolation to the NaN wavelengths for Figure 3101 just for plotting purposes. I found that a cubic spline was able to perfectly predict the wavelength solution of two wavelengths artificially set to NaN for MIRI data.