ExtractSingleSpectrum

From MantidProject

Jump to: navigation, search

Contents

Summary

Extracts the specified spectrum from a workspace and places it in a new single-spectrum workspace.

Properties

Order Name Direction Type Default Description
1 InputWorkspace Input Workspace2D Mandatory The name of the input workspace.
2 OutputWorkspace Output MatrixWorkspace Mandatory The name under which to store the output workspace.
3 SpectrumIndex Input integer Mandatory The workspace index number of the spectrum to extract.

Description

Extracts a single spectrum from a Workspace2D and stores it in a new workspace.

Source Code

Header ExtractSingleSpectrum.h

Source ExtractSingleSpectrum.cpp

Personal tools
Create a book