GetTimeSeriesLogInformation v1

../_images/GetTimeSeriesLogInformation-v1_dlg.png

GetTimeSeriesLogInformation dialog.

Summary

Get information from a TimeSeriesProperty log.

Properties

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.

Description

Get information from a TimeSeriesProperty log.

Usage

Note

To run these usage examples please first download the usage data, and add these to your path. In MantidPlot 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

Source

C++ source: GetTimeSeriesLogInformation.cpp (last modified: 2019-07-17)

C++ header: GetTimeSeriesLogInformation.h (last modified: 2018-10-05)