mantidproject / mantidimaging

Graphical toolkit for neutron imaging.
https://mantidproject.github.io/mantidimaging
GNU General Public License v3.0
13 stars 6 forks source link

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

Closed JackEAllen closed 3 months ago

JackEAllen commented 3 months ago

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.

Acceptance Criteria

How should the reviewer test your changes?

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

coveralls commented 3 months ago

Coverage Status

coverage: 73.137%. remained the same when pulling 5161bd554c2ba35f47e72ea20156be033b88a5a0 on export_shuttercount_corrected_spectra into dce729e5147779ad642d6b053017acdc4c9dc560 on main.