|
Mantid
|
Functions | |
| MANTID_ALGORITHMS_DLL API::MatrixWorkspace_sptr | workspaceForSpinState (const API::WorkspaceGroup_sptr &group, const std::string &spinStateOrder, const std::string &targetSpinState) |
| Returns the workspace in the group associated with the given targetSpinState according to the order defined by spinStateOrder. | |
| API::MatrixWorkspace_sptr Mantid::Algorithms::PolarizationCorrectionsHelpers::workspaceForSpinState | ( | const API::WorkspaceGroup_sptr & | group, |
| const std::string & | spinStateOrder, | ||
| const std::string & | targetSpinState | ||
| ) |
Returns the workspace in the group associated with the given targetSpinState according to the order defined by spinStateOrder.
| group | Workspace group containing spin states. |
| spinStateOrder | The order of the different spin states within the group. |
| targetSpinState | The spin state workspace to extract from the group. |
Definition at line 30 of file PolarizationCorrectionsHelpers.cpp.
References group, Mantid::Kernel::SpinStateHelpers::indexOfWorkspaceForSpinState(), Mantid::Kernel::SpinStateHelpers::splitSpinStateString(), and workspaceForSpinState().
Referenced by Mantid::Algorithms::PolarizerEfficiency::calculatePolarizerEfficiency(), and workspaceForSpinState().