Ticket #6740 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

SANS: Better canSAS output when batch

Reported by: Anders Markvardsen Owned by: Gesner Passos
Priority: critical Milestone: Release 2.5
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Nick Draper

Description

When running in batch mode the canSAS output format does not detector information. I.e. when run in single mode for LOQ you get something like:

<SASdetector>

<name>HAB</name> <SDD unit="m">0.527</SDD>

</SASdetector> <SASdetector>

<name>main-detector-bank</name> <SDD unit="m">4.1721</SDD>

</SASdetector>

within the SASinstrument element. Ensure that this also gets added when using batch mode.

Note http://www.mantidproject.org/SaveCanSAS1D have a parameter DetectorNames which may not get populated for this case

Attachments

SANS2D_nexusinputs.csv (136 bytes) - added by Gesner Passos 8 years ago.
Tester: Use this file as input for the Batch Mode CSV File

Change History

comment:1 Changed 8 years ago by Gesner Passos

  • Status changed from new to accepted

Changed 8 years ago by Gesner Passos

Tester: Use this file as input for the Batch Mode CSV File

comment:2 Changed 8 years ago by Gesner Passos

Tester:

Currently, the SANS Interface allows loading only nexus file through BatchMode files. So, to make your life easier, I've attached a suggested batch file that will allow you to test all the nexus files available at SANS2D (at LOQ there is not nexus file).

So:

  • Open SANS INTERFACE
  • Change the instrument to SANS2D
  • Load the MaskFile: MASKSANS2D.091A (systemtests/Data/SANS2D)
  • Change to BatchMode
  • Load the SANS2D_nexusinputs.csv file
  • Enable the checkbox: CanSAS under Save section (First Tab)
  • Execute: Reduce1D (You are not allowed to Save the Reduce2D result in CanSAS)
  • Check that 3 new files were created at your Default Save Directory (2500_SANS2DBatch.xml,5512p7_SANS2DBatch.xml, 808_SANS2DBatch.xml)
  • Check that these files has the entry requested SASDetector.

If you have more time, you can also try to run these data in single mode and double check that the result is the same.

comment:3 Changed 8 years ago by Gesner Passos

Correct the Save algorithm for SANSBatchMode

Add the DetectorNames to SaveCanSAS1D and Append to SaveRKH to produce the same output as in SingleMode.

re #6740

Changeset: 323fb79bb7f8f08b681ae980e03a67c1c421a02e

comment:4 Changed 8 years ago by Gesner Passos

git branch: feature/6740_sans_cansas

comment:5 Changed 8 years ago by Gesner Passos

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:6 Changed 8 years ago by Nick Draper

  • Status changed from verify to verifying
  • Tester set to Nick Draper

comment:7 Changed 8 years ago by Gesner Passos

Correct the Save algorithm for SANSBatchMode

Add the DetectorNames to SaveCanSAS1D and Append to SaveRKH to produce the same output as in SingleMode.

re #6740

Changeset: 323fb79bb7f8f08b681ae980e03a67c1c421a02e

comment:8 Changed 8 years ago by Nick Draper

  • Status changed from verifying to closed

passed the test above

comment:9 Changed 8 years ago by Gesner Passos

Correct the Save algorithm for SANSBatchMode

Add the DetectorNames to SaveCanSAS1D and Append to SaveRKH to produce the same output as in SingleMode.

re #6740

Changeset: 323fb79bb7f8f08b681ae980e03a67c1c421a02e

comment:10 Changed 8 years ago by Gesner Passos

Correct the Save algorithm for SANSBatchMode

Add the DetectorNames to SaveCanSAS1D and Append to SaveRKH to produce the same output as in SingleMode.

re #6740

Changeset: 323fb79bb7f8f08b681ae980e03a67c1c421a02e

comment:11 Changed 7 years ago by Gesner Passos

Correct the Save algorithm for SANSBatchMode

Add the DetectorNames to SaveCanSAS1D and Append to SaveRKH to produce the same output as in SingleMode.

re #6740

Changeset: 323fb79bb7f8f08b681ae980e03a67c1c421a02e

comment:12 Changed 7 years ago by Gesner Passos

Correct the Save algorithm for SANSBatchMode

Add the DetectorNames to SaveCanSAS1D and Append to SaveRKH to produce the same output as in SingleMode.

re #6740

Changeset: 323fb79bb7f8f08b681ae980e03a67c1c421a02e

comment:13 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 7586

Note: See TracTickets for help on using tickets.