RemoveSpectra v1

../_images/RemoveSpectra-v1_dlg.png

RemoveSpectra dialog.

Summary

Remove spectra from a given workspace, from a list, if spectra is masked, or if spectra has no detector.

Properties

Name Direction Type Default Description
InputWorkspace Input MatrixWorkspace Mandatory  
OutputWorkspace Output MatrixWorkspace Mandatory  
WorkspaceIndices Input unsigned int list   A comma-separated list of individual workspace indices to remove
RemoveMaskedSpectra Input boolean False Whether or not to remove spectra that have been masked from the inputworkspace.
RemoveSpectraWithNoDetector Input boolean False Whether or not to remove spectra that have no attached detector.

Description

The RemoveSpectra algorithm allows for removing of a spectra from a given workspace, allowing specification of workspace indices, or multiple forms of detected removal.

This would work well for repairing “Bad Data” which for RemoveSpectraWithNoDetector or RemoveMaskedSpectra.

Categories: AlgorithmIndex | Transforms\Splitting

Source

C++ source: RemoveSpectra.cpp (last modified: 2019-06-10)

C++ header: RemoveSpectra.h (last modified: 2019-06-10)