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

18 featbug update sst1 i0 correction #67

Merged
merged 12 commits into from
Feb 16, 2023

Conversation

BijalBPatel
Copy link
Collaborator

@BijalBPatel BijalBPatel commented Feb 14, 2023

Provides an option for calibration mode = i0 which allows direct binning (skips the shutter thinning routine).
Also attempts to fix some xarray warnings that occur on running loadMd.

Additional flags added to loadRun and loadMd, but designed to not affect default behavior.

Introduces a new error that breaks the 'return_dataset' flag of loadrun, although metadata can be loaded without errors using loadMd.

Also added a lot of documentation to loadMd as part of understanding how it works.

@BijalBPatel BijalBPatel linked an issue Feb 14, 2023 that may be closed by this pull request
@BijalBPatel BijalBPatel added bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request labels Feb 14, 2023
@BijalBPatel BijalBPatel self-assigned this Feb 14, 2023
Copy link
Collaborator

@pbeaucage pbeaucage left a comment

Choose a reason for hiding this comment

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

Thanks for doing all this detailed documentation work, this looks good to me.

It would be nice to have tests for this functionality.
But I don't see that this is going to break anything if we merge it now.

Assuming tests pass, this is OK to merge, we should keep an issue alive for testing.

Comment on lines -67 to +84
self.dark_subtract=dark_subtract
self.dark_pedestal=dark_pedestal
self.exposure_offset=exposure_offset
self.dark_subtract = dark_subtract
self.dark_pedestal = dark_pedestal
self.exposure_offset = exposure_offset
Copy link
Collaborator

Choose a reason for hiding this comment

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

We get it, the package is not fully flake8 compliant ;). No actual problem here, thanks for changing all this.

@BijalBPatel BijalBPatel merged commit 339e164 into main Feb 16, 2023
@pbeaucage pbeaucage deleted the 18-featbug-update-sst1-i0-correction branch February 17, 2023 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat/bug: Update SST1 i0 correction
2 participants