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

FLASH PR - Spectrum Viewer: Export ShutterCount corrected all_norm if ShutterCount correction applied #2244

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

JackEAllen
Copy link
Collaborator

@JackEAllen JackEAllen commented Jul 1, 2024

Issue

Not filed as issue

Description

Add a description of the changes made.

Previously if a user exported the spectrum with normalisation applied and ShutterCount correction, all_norm would export the the normalised spectrum without the ShutterCount correction applied. This PR resolves this issue. the ShutterCount corrected normalised spectrum is not exported if ShutterCount correction has been applied.

Testing

Describe the tests that were used to verify your changes.

  • Manually tested by comparing output csv files for all_norm using applying only normalisation and normalisation with ShutterCount Correction

Acceptance Criteria

How should the reviewer test your changes?

  • Compare all_norm column within exported data when exporting with only normalisation and applied against normalisation with ShutterCount correction applied. Also compare against the main branch with normalisation and ShutterCount correction applied which will only export the normalised spectrum for all_norm

Documentation

How have you changed the documentation to reflect your changes? All changes should be noted in the appropriate file in docs/release_notes
NA

@JackEAllen JackEAllen self-assigned this Jul 1, 2024
@JackEAllen JackEAllen added the Release essential Essential to the release - showstoppers. If not done the release might be delayed label Jul 1, 2024
@coveralls
Copy link

Coverage Status

coverage: 73.137%. remained the same
when pulling 5161bd5 on export_shuttercount_corrected_spectra
into dce729e on main.

@JackEAllen JackEAllen marked this pull request as ready for review July 1, 2024 13:23
@JackEAllen JackEAllen added this to the Release 2.8 milestone Jul 1, 2024
@JackEAllen JackEAllen changed the title FLASH PR - SPectrum Viewer: Export ShutterCount corrected all_norm if ShutterCount correction applied FLASH PR - Spectrum Viewer: Export ShutterCount corrected all_norm if ShutterCount correction applied Jul 1, 2024
@samtygier-stfc samtygier-stfc self-requested a review July 1, 2024 16:02
@samtygier-stfc samtygier-stfc self-assigned this Jul 1, 2024
Copy link
Collaborator

@samtygier-stfc samtygier-stfc left a comment

Choose a reason for hiding this comment

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

Confirmed that this fixes the issue. Code looks good.

@samtygier-stfc samtygier-stfc added this pull request to the merge queue Jul 1, 2024
Merged via the queue into main with commit 1cd9d21 Jul 1, 2024
9 checks passed
@samtygier-stfc samtygier-stfc deleted the export_shuttercount_corrected_spectra branch July 1, 2024 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release essential Essential to the release - showstoppers. If not done the release might be delayed
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants