Ticket #5032 (closed: fixed)
EQSANS: add option to choose beam spectrum file
Reported by: | Mathieu Doucet | Owned by: | Mathieu Doucet |
---|---|---|---|
Priority: | major | Milestone: | Release 2.1 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Shelly Ren |
Description
At the moment only the default beam file name is used. Add an option to let a user set the beam spectrum file.
Change History
comment:2 Changed 9 years ago by Martyn Gigg
Fix variable's scope to fix system tests. Refs #5032
Changeset: d2340459a516ff237d870261eeadb00eb04558a6
comment:3 Changed 9 years ago by Mathieu Doucet
Re #5032 fix system test
Changeset: 6dbaf864ec2734cd55bbd9eef34ad3aef4cbc8c7
comment:4 Changed 8 years ago by Mathieu Doucet
- Status changed from new to accepted
To test: see TotalChargeNormalization comment in sns_command_interface.py
comment:5 Changed 8 years ago by Mathieu Doucet
- Status changed from accepted to verify
- Resolution set to fixed
comment:6 Changed 8 years ago by Shelly Ren
- Status changed from verify to verifying
- Tester set to Shelly Ren
comment:7 Changed 8 years ago by Shelly Ren
- Status changed from verifying to closed
Test case 1: tested norm using default BeamSpectrumFile:
- EQSANSLoad filename "12007", and created an output workspace.
- EQSANSNormalise using the workspace created in step 1, and selected the "NormaliseToBeam" check box, but leave the BeamSpectrumFile empty.
- SumSpectra using the updated workspace from step 2, and enter outWS for OutputWorkspace
- Plot spectrum which shows a wavelength distribution.
Test case 2: tested norm using user supplied BeamSpectrumFile, which is the same as the default one:
- EQSANSLoad filename "12007", and created another output workspace.
- EQSANSNormalise using the workspace created in step 1, and selected the "NormaliseToBeam" check box, and enter /SNS/EQSANS/shared/instrument_configuration/bl6_flux_at_sample in the BeamSpectrumFile field.
- SumSpectra using the updated workspace from step 2, and enter outWS2 for OutputWorkspace
- Plot spectrum which shows a wavelength distribution.
Test case 3: tested norm using user supplied BeamSpectrumFile, which is different from the default one:
- EQSANSLoad filename "12007", and created another output workspace.
- EQSANSNormalise using the workspace created in step 1, and selected the "NormaliseToBeam" check box, and enter /SNS/EQSANS/shared/instrument_configuration/bl6_flux_at_sample_original in the BeamSpectrumFile field.
- SumSpectra using the updated workspace from step 2, and enter outWS3 for OutputWorkspace
- Plot spectrum which shows a wavelength distribution.
Test case 1 & 2 showed same wavelength distribution, while test case 3 has a different plot.
Re #5032 Add option to pick beam spectrum file