\(\renewcommand\AA{\unicode{x212B}}\)
RemoveSpectra v1¶
Summary¶
Remove spectra from a given workspace, from a list, if spectra is masked, or if spectra has no detector.
See Also¶
Properties¶
| Name | Direction | Type | Default | Description | 
|---|---|---|---|---|
| InputWorkspace | Input | Mandatory | ||
| OutputWorkspace | Output | 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++ header: RemoveSpectra.h
C++ source: RemoveSpectra.cpp