\(\renewcommand\AA{\unicode{x212B}}\)

LoadHFIRSANS v1

Summary

Loads a SANS data file produce by the HFIR instruments at ORNL. The instrument geometry is also loaded. The center of the detector is placed at (0,0,D), where D is the sample-to-detector distance.

See Also

LoadSpiceAscii, LoadSpiceXML2DDet

Properties

Name

Direction

Type

Default

Description

Filename

Input

string

Mandatory

The name of the input xml file to load. Allowed extensions: [‘.xml’]

OutputWorkspace

Output

Workspace

Mandatory

The name of the Output workspace

Wavelength

Input

number

Optional

Optional wavelength value to use when loading the data file (Angstrom). This value will be used instead of the value found in the data file.

WavelengthSpread

Input

number

Optional

Optional wavelength spread value to use when loading the data file (Angstrom). This value will be used instead of the value found in the data file.

SampleDetectorDistance

Input

number

Optional

Sample to detector distance to use (overrides meta data), in mm

Description

This Loader reads XML data files from HFIR SANS Instruments (BioSANS and GPSANS) created by the SPICE data acquisition. It places the detector(s) at the right position and sets some properties necessary for posterior data reduction.

For both BioSANS and GPSANS places the main detector at the right distance. In the case of the BioSANS rotates the wing detector to the right angle.

Finds and sets the logs:

  • beam-trap-diameter

  • wavelength

  • wavelength-spread

  • wavelength-spread-ratio

  • monitor

  • timer

  • sample-thicknes

  • source-aperture-diameter and source_aperture_diameter

  • sample-aperture-diameter and sample-aperture-diameter

  • number-of-guides

  • sample-detector-distance, sample_detector_distance, and sdd

  • source-sample-distance and source-sample-distance

  • beam-diameter

Categories: AlgorithmIndex | DataHandling\Text | SANS\DataHandling

Source

C++ header: LoadHFIRSANS.h

C++ source: LoadHFIRSANS.cpp