\(\renewcommand\AA{\unicode{x212B}}\)
Table of Contents
Name | Direction | Type | Default | Description |
---|---|---|---|---|
InputWorkspace | InOut | MatrixWorkspace | Mandatory | Input EventWorkspace. Each spectrum corresponds to 1 pixel |
OutputWorkspace | Output | MatrixWorkspace | Dummy | Name of the workspace of log delta T distribution. |
InformationWorkspace | Output | TableWorkspace | Name of optional log statistic information output Tableworkspace. | |
LogName | Input | string | Log’s name to filter events. | |
TimeRangeOption | Input | string | Relative Time (second) | User defined time range (T0, Tf) is of absolute time (second). Allowed values: [‘Absolute Time (nano second)’, ‘Relative Time (second)’] |
FilterStartTime | Input | number | Optional | Earliest time of the events to be selected. It can be absolute time (ns), relative time (second) or percentage. |
FilterStopTime | Input | number | Optional | Latest time of the events to be selected. It can be absolute time (ns), relative time (second) or percentage. |
TimeStepBinResolution | Input | number | 0.0001 | Time resolution (second) for time stamp delta T disibution. |
IgnoreNegativeTimeInterval | Input | boolean | False | If true, then the time interval with negative number will be neglected in doing statistic. |
Get information from a TimeSeriesProperty log.
Note
To run these usage examples please first download the usage data, and add these to your path. In Mantid this is done using Manage User Directories.
Example - Get Information from One Log
w=Load('CNCS_7860')
result = GetTimeSeriesLogInformation(InputWorkspace=w,LogName='Speed5',InformationWorkspace='info')
for i in [0,5,6,7,8]:
row = result[1].row(i)
print("{Name} {Value:.3f}".format(**row))
Output:
Items 4.000
Average(dT) 39.239
Max(dT) 53.984
Min(dT) 29.953
Sigma(dt) 10.543
Categories: AlgorithmIndex | Diffraction\Utility | Events\EventFiltering