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
coverage: 73.137%. remained the same
when pulling 5161bd554c2ba35f47e72ea20156be033b88a5a0 on export_shuttercount_corrected_spectra
into dce729e5147779ad642d6b053017acdc4c9dc560 on main.
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.
all_norm
using applying only normalisation and normalisation with ShutterCount CorrectionAcceptance Criteria
How should the reviewer test your changes?
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 forall_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