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

ChangePulsetime v1

../_images/ChangePulsetime-v1_dlg.png

ChangePulsetime dialog.

Summary

Adds a constant time value, in seconds, to the pulse time of events in an EventWorkspace.

See Also

CreateLogTimeCorrection, CalculateCountRate

Properties

Name

Direction

Type

Default

Description

InputWorkspace

Input

EventWorkspace

Mandatory

An input event workspace.

TimeOffset

Input

number

0

Number of seconds (a float) to add to each event’s pulse time. Required.

WorkspaceIndexList

Input

int list

An optional list of workspace indices to change. If blank, all spectra in the workspace are modified.

OutputWorkspace

Output

EventWorkspace

Mandatory

An output event workspace.

Description

Modifies the pulse time (wall-clock time) of all the events in the specified spectra of an EventWorkspace, by adding the given number of seconds as specified with TimeOffset.

Categories: AlgorithmIndex | Events | Transforms\Axes

Source

C++ header: ChangePulsetime.h

C++ source: ChangePulsetime.cpp