Load ShutterCount Files into Spectrum Viewer if available.
Only apply ShutterCount correction if bool propagated from view (currently not fully integrated)
Apply ShutterCount correction to normalisation using only first value, but written such that more values can be used later on should requirements change.
Testing
Describe the tests that were used to verify your changes.
Manually tested through hard coding normalise parameter in get_spectrum to True and adding log statements
Visual inspection of how spectrum differed based on whether ShutterCount correction has been applied or not.
Unit tests pass
Acceptance Criteria
How should the reviewer test your changes?
Unit tests pass
Through adding additional logs and viewing spectrum, hard coding get_spectrumnormalise param to "True" applies ShutterCount correction
Documentation
How have you changed the documentation to reflect your changes? All changes should be noted in the appropriate file in docs/release_notes
coverage: 73.019% (+0.06%) from 72.96%
when pulling 10749f14908726760416d88b59e56ce731e8a69b on 2095_shuttercount_correction
into 86644dadeff1498c4c9fb88e6ac47dea4d02a670 on main.
Issue
Closes #2095
Description
Add a description of the changes made.
Testing
Describe the tests that were used to verify your changes.
get_spectrum
to True and adding log statementsAcceptance Criteria
How should the reviewer test your changes?
get_spectrum
normalise
param to "True" applies ShutterCount correctionDocumentation
How have you changed the documentation to reflect your changes? All changes should be noted in the appropriate file in docs/release_notes
docs/release_notes/next/feature-2095-apply_shuttercounts_normalisation