|
Mantid
|
#include "MantidAPI/Axis.h"#include "MantidAPI/BinEdgeAxis.h"#include "MantidAPI/MatrixWorkspace.h"#include "MantidAPI/NumericAxis.h"#include "MantidAPI/SpectraAxis.h"#include "MantidAPI/TextAxis.h"#include "MantidKernel/WarningSuppressions.h"#include "MantidPythonInterface/core/GetPointer.h"#include <boost/python/class.hpp>#include <boost/python/copy_const_reference.hpp>#include <boost/python/overloads.hpp>#include <boost/python/register_ptr_to_python.hpp>#include <boost/python/ssize_t.hpp>#include <numpy/arrayobject.h>Go to the source code of this file.
Macros | |
| #define | NO_IMPORT_ARRAY |
| #define | PY_ARRAY_UNIQUE_SYMBOL API_ARRAY_API |
Functions | |
| Axis * | createBinEdgeAxis (int length) |
| Creates a BinEdgeAxis. | |
| Axis * | createNumericAxis (int length) |
| Creates a NumericAxis. | |
| Axis * | createSpectraAxis (const MatrixWorkspace *const ws) |
| Creates a SpectraAxis referencing a given workspace. | |
| Axis * | createTextAxis (int length) |
| Creates a TextAxis. | |
| void | export_Axis () |
| void | export_BinEdgeAxis () |
| void | export_NumericAxis () |
| void | export_SpectraAxis () |
| void | export_TextAxis () |
| Axis * createBinEdgeAxis | ( | int | length | ) |
Creates a BinEdgeAxis.
| length | The length of the new axis |
Definition at line 169 of file Axis.cpp.
Referenced by export_BinEdgeAxis().
| Axis * createNumericAxis | ( | int | length | ) |
Creates a NumericAxis.
| length | The length of the new axis |
Definition at line 149 of file Axis.cpp.
Referenced by export_NumericAxis().
| Axis * createSpectraAxis | ( | const MatrixWorkspace *const | ws | ) |
Creates a SpectraAxis referencing a given workspace.
| ws | A pointer to the parent workspace |
Definition at line 130 of file Axis.cpp.
Referenced by export_SpectraAxis().
| Axis * createTextAxis | ( | int | length | ) |
Creates a TextAxis.
| length | The length of the new axis |
Definition at line 189 of file Axis.cpp.
Referenced by export_TextAxis().
| void export_Axis | ( | ) |
Definition at line 88 of file Axis.cpp.
References Mantid::API::Axis::getMax(), Mantid::API::Axis::getMin(), Mantid::API::Axis::getValue(), Mantid::API::Axis::indexOfValue(), Mantid::API::Axis::isNumeric(), Mantid::API::Axis::isSpectra(), Mantid::API::Axis::isText(), Mantid::API::Axis::label(), Mantid::API::Axis::length(), Mantid::API::Axis::setUnit(), Mantid::API::Axis::setValue(), Mantid::API::Axis::title(), and Mantid::API::Axis::unit().
| void export_BinEdgeAxis | ( | ) |
Exported so that Boost.Python can give back a BinEdgeAxis class when an Axis* is returned
Definition at line 171 of file Axis.cpp.
References createBinEdgeAxis().
| void export_NumericAxis | ( | ) |
Exported so that Boost.Python can give back a NumericAxis class when an Axis* is returned
Definition at line 151 of file Axis.cpp.
References createNumericAxis().
| void export_SpectraAxis | ( | ) |
Exported so that Boost.Python can give back a SpectraAxis class when an Axis* is returned
Definition at line 132 of file Axis.cpp.
References createSpectraAxis().
| void export_TextAxis | ( | ) |
Definition at line 191 of file Axis.cpp.
References createTextAxis(), Mantid::API::TextAxis::label(), and Mantid::API::TextAxis::setLabel().