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

LoadPreNexusLive v1

../_images/LoadPreNexusLive-v1_dlg.png

LoadPreNexusLive dialog.

Summary

Properties

Name

Direction

Type

Default

Description

Instrument

Input

string

Mandatory

Empty uses default instrument. Allowed values: [‘BSS’, ‘SNAP’, ‘REF_M’, ‘CNCS’, ‘EQSANS’, ‘VULCAN’, ‘VENUS’, ‘MANDI’, ‘TOPAZ’, ‘ARCS’]

RunNumber

Input

number

Optional

Live run number to use (Optional, Default=most recent)

OutputWorkspace

Output

Workspace

Mandatory

NormalizeByCurrent

Input

boolean

True

Normalize by current

LoadLogs

Input

boolean

True

Attempt to load logs from an existing file

LogFilename

Input

string

File containing logs to use (Optional). Allowed extensions: [‘_event.nxs’]

Description

This loads a ‘live’ file that is periodically saved by the legacy DAS at SNS. If the LoadLogs option is specified, it will attempt to load logs from the most recent saved run. Specifying LogFilename will turn off the search capability.

Warning

This only works at ORNL.

Usage

LoadPreNexusLive(Instrument='SNAP', OutputWorkspace='SNAP_live')

Categories: AlgorithmIndex | DataHandling

Source

Python: LoadPreNexusLive.py