|
virtual void | addPeak (const Kernel::V3D &position, const Kernel::SpecialCoordinateSystem &frame)=0 |
| Add a peak to the list. More...
|
|
virtual void | addPeak (const Mantid::Geometry::IPeak &ipeak)=0 |
| Add a peak to the list. More...
|
|
IPeaksWorkspace_uptr | clone () const |
| Returns a clone of the workspace. More...
|
|
virtual API::ITableWorkspace_sptr | createDetectorTable () const =0 |
| Creates a new TableWorkspace giving the IDs of the detectors that contribute to the peak. More...
|
|
virtual std::unique_ptr< Geometry::IPeak > | createPeak () const =0 |
| Create an instance of a peak using default constructor. More...
|
|
virtual std::unique_ptr< Mantid::Geometry::IPeak > | createPeak (const Mantid::Kernel::V3D &position, const Mantid::Kernel::SpecialCoordinateSystem &frame) const =0 |
| Create an instance of a Peak. More...
|
|
virtual std::unique_ptr< Geometry::IPeak > | createPeak (const Mantid::Kernel::V3D &QLabFrame, boost::optional< double > detectorDistance=boost::none) const =0 |
| Create an instance of a Peak. More...
|
|
virtual std::unique_ptr< Geometry::IPeak > | createPeakHKL (const Mantid::Kernel::V3D &HKL) const =0 |
| Create an instance of a peak using a V3D. More...
|
|
virtual std::unique_ptr< Mantid::Geometry::IPeak > | createPeakQSample (const Mantid::Kernel::V3D &position) const =0 |
| Create an instance of a Peak. More...
|
|
virtual std::string | getConvention () const =0 |
|
virtual int | getNumberPeaks () const =0 |
|
virtual const Mantid::Geometry::IPeak & | getPeak (int peakNum) const =0 |
| Return a reference to the Peak (const version) More...
|
|
virtual Mantid::Geometry::IPeak & | getPeak (int peakNum)=0 |
| Return a reference to the Peak. More...
|
|
Mantid::Geometry::IPeak * | getPeakPtr (const int peakNum) |
| Return a pointer to the Peak. More...
|
|
virtual Kernel::SpecialCoordinateSystem | getSpecialCoordinateSystem () const =0 |
| Get the special coordinate system. More...
|
|
virtual bool | hasIntegratedPeaks () const =0 |
| Determine if the workspace has been integrated using a peaks integration algorithm. More...
|
|
| IPeaksWorkspace () |
| Ctor. More...
|
|
IPeaksWorkspace & | operator= (const IPeaksWorkspace &other)=delete |
|
virtual std::vector< std::pair< std::string, std::string > > | peakInfo (const Kernel::V3D &QFrame, bool labCoords) const =0 |
|
virtual int | peakInfoNumber (const Kernel::V3D &qLabFrame, bool labCoords) const =0 |
|
virtual void | removePeak (int peakNum)=0 |
| Removes the indicated peak. More...
|
|
virtual void | removePeaks (std::vector< int > badPeaks)=0 |
|
virtual void | saveNexus (::NeXus::File *file) const =0 |
|
virtual void | setCoordinateSystem (const Kernel::SpecialCoordinateSystem coordinateSystem)=0 |
| Set the special coordinate system. More...
|
|
virtual Column_sptr | addColumn (const std::string &type, const std::string &name)=0 |
| Creates a new column. More...
|
|
virtual bool | addColumns (const std::string &type, const std::string &name, size_t n) |
| Creates n new columns of the same type. More...
|
|
TableRowHelper | appendRow () |
| Appends a row. More...
|
|
Boolean & | Bool (size_t row, size_t col) |
| Get the reference to the element in row row and column col if its type is bool . More...
|
|
template<class T > |
T & | cell (size_t row, size_t col) |
| Get the reference to the element in row row and column col . More...
|
|
ITableWorkspace_uptr | clone () const |
| Returns a clone of the workspace. More...
|
|
ITableWorkspace_uptr | cloneColumns (const std::vector< std::string > &colNames) const |
| Returns a clone of the workspace. More...
|
|
ITableWorkspace_uptr | cloneEmpty () const |
| Returns a default-initialized clone of the workspace. More...
|
|
virtual size_t | columnCount () const =0 |
| Number of columns in the workspace. More...
|
|
virtual bool | customSort () const |
| Does this type of TableWorkspace need a custom sorting call (e.g. More...
|
|
double & | Double (size_t row, size_t col) |
| Get the reference to the element in row row and column col if its type is double . More...
|
|
virtual void | find (API::Boolean value, size_t &row, size_t col)=0 |
| find method to get the index of API::Boolean value cell in a table workspace More...
|
|
virtual void | find (const Mantid::Kernel::V3D &value, size_t &row, size_t col)=0 |
| find method to get the index of Mantid::Kernel::V3D cell value in a table workspace More...
|
|
virtual void | find (const std::string &value, size_t &row, size_t col)=0 |
| find method to get the index of cellstd::string value in a table workspace More...
|
|
virtual void | find (double value, size_t &row, size_t col)=0 |
| find method to get the index of double cell value in a table workspace More...
|
|
virtual void | find (float value, size_t &row, size_t col)=0 |
| find method to get the index of float cell value in a table workspace More...
|
|
virtual void | find (size_t value, size_t &row, size_t col)=0 |
| find method to get the index of integer cell value in a table workspace More...
|
|
virtual Column_const_sptr | getColumn (const std::string &name) const =0 |
| Gets the shared pointer to a column by name. More...
|
|
virtual Column_sptr | getColumn (const std::string &name)=0 |
| Gets the shared pointer to a column by name. More...
|
|
virtual Column_const_sptr | getColumn (size_t index) const =0 |
| Gets the shared pointer to a column by index - return none-modifyable column. More...
|
|
virtual Column_sptr | getColumn (size_t index)=0 |
| Gets the shared pointer to a column by index. More...
|
|
virtual std::vector< std::string > | getColumnNames () const =0 |
| Returns a vector of all column names. More...
|
|
TableRowHelper | getFirstRow () |
| Creates a TableRow object for the first row (row == 0). More...
|
|
virtual API::LogManager_const_sptr | getLogs () const =0 |
| Get constant access to shared pointer containing workspace properties. More...
|
|
template<class T > |
T & | getRef (const std::string &name, size_t index) |
| Get a reference to a data element. More...
|
|
TableRowHelper | getRow (size_t row) |
| Creates a TableRow object for row row. More...
|
|
TableColumnHelper | getVector (const std::string &name) |
| Access the column with name name trough a ColumnVector object. More...
|
|
TableConstColumnHelper | getVector (const std::string &name) const |
| Access the column with name name trough a ColumnVector object. More...
|
|
const std::string | id () const override |
| Return the workspace typeID. More...
|
|
virtual size_t | insertRow (size_t index)=0 |
| Inserts a row before row pointed to by index and fills it with default vales. More...
|
|
int & | Int (size_t row, size_t col) |
| Get the reference to the element in row row and column col if its type is int . More...
|
|
| ITableWorkspace () |
| Constructor. More...
|
|
virtual API::LogManager_sptr | logs ()=0 |
| Get access to shared pointer containing workspace properties. More...
|
|
void | modified () |
| If the workspace is the AnalysisDataService sends AfterReplaceNotification. More...
|
|
ITableWorkspace & | operator= (const ITableWorkspace &)=delete |
|
virtual void | removeColumn (const std::string &name)=0 |
| Removes a column. More...
|
|
virtual void | removeRow (size_t index)=0 |
| Delets a row if it exists. More...
|
|
virtual size_t | rowCount () const =0 |
| Number of rows in the workspace. More...
|
|
virtual void | setRowCount (size_t count)=0 |
| Resizes the workspace. More...
|
|
virtual void | sort (std::vector< std::pair< std::string, bool > > &criteria) |
| Overridable method to custom-sort the workspace. More...
|
|
std::string & | String (size_t row, size_t col) |
| Get the reference to the element in row row and column col if its type is std::string . More...
|
|
const std::string | toString () const override |
| Serializes the object to a string. More...
|
|
Workspace_uptr | clone () const |
| Returns a clone (copy) of the workspace with covariant return type in all derived classes. More...
|
|
Workspace_uptr | cloneEmpty () const |
| Returns a default-initialized clone of the workspace. More...
|
|
const std::string & | getComment () const |
| Get the workspace comment. More...
|
|
const WorkspaceHistory & | getHistory () const |
| Returns a reference to the WorkspaceHistory const. More...
|
|
virtual size_t | getMemorySize () const =0 |
| Get the footprint in memory in bytes. More...
|
|
std::string | getMemorySizeAsStr () const |
| Returns the memory footprint in sensible units. More...
|
|
const std::string & | getName () const override |
| Get the workspace name. More...
|
|
virtual const std::string | getTitle () const |
| Get the workspace title. More...
|
|
WorkspaceHistory & | history () |
| Returns a reference to the WorkspaceHistory. More...
|
|
bool | isDirty (const int n=1) const |
| Check whether other algorithms have been applied to the workspace by checking the history length. More...
|
|
virtual bool | isGroup () const |
|
Workspace & | operator= (const Workspace &other)=delete |
|
void | setComment (const std::string &) |
| Set the comment field of the workspace. More...
|
|
virtual void | setTitle (const std::string &) |
| Set the title of the workspace. More...
|
|
Parallel::StorageMode | storageMode () const |
| Returns the storage mode (used for MPI runs) More...
|
|
bool | threadSafe () const override |
| Marks the workspace as safe for multiple threads to edit data simutaneously. More...
|
|
| Workspace (const Parallel::StorageMode storageMode=Parallel::StorageMode::Cloned) |
|
| ~Workspace () |
|
| DataItem () |
| Default constructor. More...
|
|
| DataItem (const DataItem &other) |
| Copy constructor Always makes a unique lock. More...
|
|
virtual | ~DataItem () |
| Destructor. More...
|
|
void | readLock () |
| Acquires a read lock. More...
|
|
void | unlock () |
|
virtual ExperimentInfo * | cloneExperimentInfo () const |
| Clone us. More...
|
|
const Geometry::ComponentInfo & | componentInfo () const |
|
const Geometry::ParameterMap & | constInstrumentParameters () const |
| Const version. More...
|
|
void | copyExperimentInfoFrom (const ExperimentInfo *other) |
| Copy everything from the given experiment object. More...
|
|
const Geometry::DetectorInfo & | detectorInfo () const |
| Return a const reference to the DetectorInfo object. More...
|
|
| ExperimentInfo () |
| Default constructor. More...
|
|
| ExperimentInfo (const ExperimentInfo &) |
| Copy constructor. More...
|
|
std::string | getAvailableWorkspaceEndDate () const |
| Return workspace end date as a formatted string (strftime style, as returned by Kernel::DateAdnTime) string, if available. More...
|
|
std::string | getAvailableWorkspaceStartDate () const |
| Return workspace start date as a formatted string (strftime, as returned by Types::Core::DateAndTime) string, if available. More...
|
|
double | getEFixed (const detid_t detID) const |
| Easy access to the efixed value for this run & detector ID. More...
|
|
double | getEFixed (const std::shared_ptr< const Geometry::IDetector > &detector=std::shared_ptr< const Geometry::IDetector >{nullptr}) const |
| Easy access to the efixed value for this run & optional detector. More...
|
|
double | getEFixedForIndirect (const std::shared_ptr< const Geometry::IDetector > &detector, const std::vector< std::string > ¶meterNames) const |
|
double | getEFixedGivenEMode (const std::shared_ptr< const Geometry::IDetector > &detector, const Kernel::DeltaEMode::Type emode) const |
| Easy access to the efixed value for this run & detector. More...
|
|
Kernel::DeltaEMode::Type | getEMode () const |
| Returns the emode for this run. More...
|
|
Geometry::Instrument_const_sptr | getInstrument () const |
| Returns the parameterized instrument. More...
|
|
Kernel::Property * | getLog (const std::string &log) const |
| Access a log for this experiment. More...
|
|
double | getLogAsSingleValue (const std::string &log) const |
| Access a single value from a log for this experiment. More...
|
|
int | getRunNumber () const |
| Utility method to get the run number. More...
|
|
std::string | getWorkspaceStartDate () const |
| Returns the start date for this experiment (or current time if no info available) More...
|
|
Geometry::ParameterMap & | instrumentParameters () |
| Returns a modifiable set of instrument parameters. More...
|
|
const Geometry::ParameterMap & | instrumentParameters () const |
| Returns the set of parameters modifying the base instrument (const-version) More...
|
|
void | invalidateSpectrumDefinition (const size_t index) |
| Notifies the ExperimentInfo that a spectrum definition has changed. More...
|
|
void | loadExperimentInfoNexus (const std::string &nxFilename, ::NeXus::File *file, std::string ¶meterStr) |
| Loads an experiment description from the open NeXus file. More...
|
|
void | loadExperimentInfoNexus (const std::string &nxFilename, ::NeXus::File *file, std::string ¶meterStr, const Mantid::Kernel::NexusHDF5Descriptor &fileInfo, const std::string &prefix) |
|
void | loadInstrumentInfoNexus (const std::string &nxFilename, ::NeXus::File *file) |
| Load the instrument from an open NeXus file without reading any parameters. More...
|
|
void | loadInstrumentInfoNexus (const std::string &nxFilename, ::NeXus::File *file, std::string ¶meterStr) |
| Load the instrument from an open NeXus file. More...
|
|
void | loadInstrumentParametersNexus (::NeXus::File *file, std::string ¶meterStr) |
| Load instrument parameters from an open Nexus file in Instument group if found there. More...
|
|
void | loadSampleAndLogInfoNexus (::NeXus::File *file) |
| Load the sample and log info from an open NeXus file. More...
|
|
void | loadSampleAndLogInfoNexus (::NeXus::File *file, const Mantid::Kernel::NexusHDF5Descriptor &fileInfo, const std::string &prefix) |
| Load the sample and log info from an open NeXus file. More...
|
|
Geometry::ComponentInfo & | mutableComponentInfo () |
|
Geometry::DetectorInfo & | mutableDetectorInfo () |
| Return a non-const reference to the DetectorInfo object. More...
|
|
Run & | mutableRun () |
| Writable version of the run object. More...
|
|
Sample & | mutableSample () |
| Writable version of the sample object. More...
|
|
SpectrumInfo & | mutableSpectrumInfo () |
| Return a non-const reference to the SpectrumInfo object. More...
|
|
ExperimentInfo & | operator= (const ExperimentInfo &) |
| Implements the copy assignment operator. More...
|
|
void | populateInstrumentParameters () |
| Add parameters to the instrument parameter map that are defined in instrument definition file or parameter file, which may contain parameters that require logfile data to be available. More...
|
|
void | readParameterMap (const std::string ¶meterStr) |
| Populate the parameter map given a string. More...
|
|
const Run & | run () const |
| Run details object access. More...
|
|
const Sample & | sample () const |
| Sample accessors. More...
|
|
void | saveExperimentInfoNexus (::NeXus::File *file, bool saveInstrument, bool saveSample, bool saveLogs) const |
| Saves this experiment description to the open NeXus file. More...
|
|
void | saveExperimentInfoNexus (::NeXus::File *file, bool saveLegacyInstrument=true) const |
| Saves this experiment description to the open NeXus file. More...
|
|
void | setDetectorGrouping (const size_t index, const std::set< detid_t > &detIDs) const |
| Sets the detector grouping for the spectrum with the given index . More...
|
|
void | setEFixed (const detid_t detID, const double value) |
| Set the efixed value for a given detector ID. More...
|
|
void | setInstrument (const Geometry::Instrument_const_sptr &instr) |
| Instrument accessors. More...
|
|
void | setNumberOfDetectorGroups (const size_t count) const |
| Sets the number of detector groups. More...
|
|
void | setSharedRun (Kernel::cow_ptr< Run > run) |
| Set the run object. Use in particular to clear run without copying old run. More...
|
|
Kernel::cow_ptr< Run > | sharedRun () |
| Return the cow ptr of the run. More...
|
|
const SpectrumInfo & | spectrumInfo () const |
| Return a reference to the SpectrumInfo object. More...
|
|
const std::string | toString () const |
| Returns a string description of the object. More...
|
|
void | updateSpectrumDefinitionIfNecessary (const size_t index) const |
|
virtual | ~ExperimentInfo () |
| Virtual destructor. More...
|
|