I have been using the code below to create a total spectra for a specific mask (saved in the roi variable) that I load but it doesnt seem to be working, ie, no matter what the roi mask looks like in the roi variable, the resulting total spectrum is the exactly the same.
Could the 2 commands:
spectrumGeneration.processEntireDataset(false);
spectrumGeneration.setRegionOfInterestList(roiList);
not be doing what I think they were doing (ie changing the mask used to generate the spectra)?
Hi Alan,
I have been using the code below to create a total spectra for a specific mask (saved in the roi variable) that I load but it doesnt seem to be working, ie, no matter what the roi mask looks like in the roi variable, the resulting total spectrum is the exactly the same.
Could the 2 commands: spectrumGeneration.processEntireDataset(false); spectrumGeneration.setRegionOfInterestList(roiList); not be doing what I think they were doing (ie changing the mask used to generate the spectra)?
Any help would be much apreaciated!
Thank you, Teresa
"
addJARsToClassPath() preprocessing = PreprocessingWorkflow; preprocessing.loadWorkflow(preprocessing_file);