kevin218 / Eureka

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

[Bug]: S1 custom bias file and skip_superbias overwritten by Eureka_SuperBiasStep #521

Closed taylorbell57 closed 1 year ago

taylorbell57 commented 1 year ago

FAQ check

Instrument

NIRSpec (Stages 1-3)

What happened?

I'm working on reproducing the ERS' PRISM data reduction, and I noticed that my S1 runs weren't using the custom bias file I had provided. Looking at the S1 code, I see it is because all the values passed into the superbias step get over-written by the line self.superbias = Eureka_SuperBiasStep() which also over-writes the specified skip_superbias setting. This line should be done earlier on so that it does not over-write other ECF settings.

Code of Conduct