Ticket #5032 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

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:1 Changed 9 years ago by Mathieu Doucet

Re #5032 Add option to pick beam spectrum file

Changeset: 8e8fd49b915e8f915470a8ca8418ee425e68d235

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:

  1. EQSANSLoad filename "12007", and created an output workspace.
  2. EQSANSNormalise using the workspace created in step 1, and selected the "NormaliseToBeam" check box, but leave the BeamSpectrumFile empty.
  3. SumSpectra using the updated workspace from step 2, and enter outWS for OutputWorkspace
  4. Plot spectrum which shows a wavelength distribution.

Test case 2: tested norm using user supplied BeamSpectrumFile, which is the same as the default one:

  1. EQSANSLoad filename "12007", and created another output workspace.
  2. 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.
  3. SumSpectra using the updated workspace from step 2, and enter outWS2 for OutputWorkspace
  4. Plot spectrum which shows a wavelength distribution.

Test case 3: tested norm using user supplied BeamSpectrumFile, which is different from the default one:

  1. EQSANSLoad filename "12007", and created another output workspace.
  2. 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.
  3. SumSpectra using the updated workspace from step 2, and enter outWS3 for OutputWorkspace
  4. Plot spectrum which shows a wavelength distribution.

Test case 1 & 2 showed same wavelength distribution, while test case 3 has a different plot.

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5878

Note: See TracTickets for help on using tickets.