AlanRace / SpectralAnalysis

Software for the analysis and interactive exploration of spectral imaging data
https://alanrace.github.io/SpectralAnalysis/
Apache License 2.0
29 stars 9 forks source link

Creating a normalised image [BUG] #41

Open eksisley opened 3 years ago

eksisley commented 3 years ago

Describe the bug Trouble creating a normalised image. I can create the normalised spectra but not the normalised image am I missing something obvious?

To Reproduce Steps to reproduce the behavior:

  1. Go to 'spectrum preprocessing'

  2. Click on 'Total Intensity Normalisation '

  3. Choose m/z of interest and 'generate image'

  4. No error is returned but the image generated is not normalised

  5. If attempting to open the Preprocessing 'Image Generation' option

  6. Error 'Unrecognized method, property, or field 'editImageGenPreprocessingWorkflow' for class 'DataViewer'.

Error in DataViewer>@(src,evnt)obj.editImageGenPreprocessingWorkflow() (line 1201) @(src, evnt)obj.editImageGenPreprocessingWorkflow(), 'edit', 'Edit image generation preprocessing workflow');

Error while evaluating UIControl Callback.'

Expected behavior I would expect the scale bar to show x10^-3 if the image had been normalised at the moment it still shows 10^5

Screenshots image

Software version

If using source code, MATLAB version (please complete the following information):

Desktop (please complete the following information):

Additional context