\(\renewcommand\AA{\unicode{x212B}}\)
Table of Contents
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’] |
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.
LoadPreNexusLive(Instrument='SNAP', OutputWorkspace='SNAP_live')
Categories: AlgorithmIndex | DataHandling
Python: LoadPreNexusLive.py (last modified: 2020-03-27)