Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove pipeline config files #791

Merged
merged 4 commits into from
Jun 7, 2022

Conversation

bhilbert4
Copy link
Collaborator

Resolves #742

This PR removes the pipeline configuration files (*.cfg) from Mirage. The JWST pipeline has switched to using parameter reference files, and these cfg files are no longer supported.

After some debate, I decided to remove the files completely and not add support for the parameter reference files. This is because the only place Mirage uses them is to linearize a raw dark current file. In this case, the superbias and reference pixel signal is subtracted, and the data are linearized. The simulated sources are added, the ramp is unlinearized, and the superbias and reference pixel signal is added back in. So really, the exact details of how the reference pixel signal is subtracted (that seems like the only step where someone would want to deviate from the defaults) don't matter, as the signal will be added back in at the end.

@bhilbert4 bhilbert4 self-assigned this Apr 27, 2022
@bhilbert4
Copy link
Collaborator Author

Ran a test case where I created some new yaml files and ran Mirage, and everything completed successfully. Also ran Mirage using an old yaml file, and that completed successfully as well.

@bhilbert4 bhilbert4 requested a review from hover2pi June 6, 2022 21:24
@bhilbert4
Copy link
Collaborator Author

@hover2pi, when you have a free moment, I've got 2 PRs that I finished a while ago but never got around to asking you to review. This one and the other are largely removing unused files/features, so hopefully should be quick to review. Thanks!

Copy link
Collaborator

@hover2pi hover2pi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adios, archivos!

@bhilbert4 bhilbert4 merged commit f26bfc0 into spacetelescope:master Jun 7, 2022
@bhilbert4 bhilbert4 deleted the remove-pipeline-cfgs branch June 7, 2022 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove pipeline cfg files
2 participants