\(\renewcommand\AA{\unicode{x212B}}\)
Table of Contents
Name | Direction | Type | Default | Description |
---|---|---|---|---|
Workspace | InOut | MatrixWorkspace | Mandatory | Workspace to have logs merged |
OriginalLogName | Input | string | Mandatory | Log’s original name. |
NewLogName | Input | string | Mandatory | Log’s new name. |
Rename a specified sample log of type TimeSeriesProperty in a given Workspace.
Example - Rename a sample log:
import os
nxsfilename = "HYS_11092_event.nxs"
wsname = "HYS_11092_event"
Load(Filename = nxsfilename,
OutputWorkspace = wsname,
MetaDataOnly = True,
LoadLogs = True)
RenameLog(Workspace=wsname, OriginalLogName='a1b', NewLogName='A1B_New')
Output:
Categories: AlgorithmIndex | DataHandling\Logs
C++ header: RenameLog.h (last modified: 2021-03-31)
C++ source: RenameLog.cpp (last modified: 2021-03-31)