|
Mantid
|
Namespaces | |
| namespace | AlignAndFocusPowderSlim |
| namespace | ANSTO |
| namespace | AxisHelper |
| namespace | EMU |
| namespace | GeometryArgs |
| Provate namespace storing geometry args. | |
| namespace | LegacyLoadHelper |
| namespace | LoadGeometry |
| Common methods for LoadInstrument.cpp and LoadEmptyInstrument.cpp. | |
| namespace | LoadHelper |
| LoadHelper : Auxiliary functions for Loading Files. | |
| namespace | LoadISISNexusHelper |
| namespace | LoadNexusMonitorsAlg |
| Load Monitors from NeXus files. | |
| namespace | MuonNexus |
| namespace | NeXusEntry |
| namespace | NXcanSAS |
| namespace | PLN |
| namespace | PropertyNames |
| Private namespace storing property name strings. | |
| namespace | SEArgs |
| Private namespace storing sample environment args. | |
| namespace | ShapeArgs |
| Private namespace storing sample environment args. | |
Classes | |
| class | ApplyDiffCal |
| ApplyDiffCal : More... | |
| class | AvrgDetector |
| helper class-collection to keep together the parameters, which characterize average composite detector and help to calculate these parameters More... | |
| class | BankPulseTimes |
| This class defines the pulse times for a specific bank. More... | |
| class | CheckMantidVersion |
| CheckMantidVersion : Checks if the current version of Mantid is the most recent. More... | |
| class | ChopperConfiguration |
| struct | CoincidenceEvent |
| A detected neutron. More... | |
| class | CompressEventAccumulator |
| CompressEventAccumulator : TODO: DESCRIPTION. More... | |
| class | CompressEventAccumulatorFactory |
| The CompressEventAccumulatorFactory Factory object that will create the correct type of CompressEventAccumulator based on configuration information. More... | |
| class | CompressEvents |
| Compress an EventWorkspace by lumping together events with very close TOF value, while ignoring the event's pulse time. More... | |
| class | CreateChunkingFromInstrument |
| CreateChunkingFromInstrument : TODO: DESCRIPTION. More... | |
| class | CreatePolarizationEfficiencies |
| CreatePolarizationEfficiencies. More... | |
| class | CreatePolarizationEfficienciesBase |
| CreatePolarizationEfficienciesBase - the base class for algorithms that create polarization efficiency workspaces: More... | |
| class | CreateSampleShape |
| This class allows the shape of the sample to be defined by using the allowed XML expressions. More... | |
| class | CreateSimulationWorkspace |
| struct | DasEvent |
| Structure that matches the form in the binary event list. More... | |
| class | DataBlock |
| DataBlock: The DataBlock class holds information about a contiguous block of spectrum numbers. More... | |
| class | DataBlockComposite |
| DataBlockComposite: The DataBlockComposite handles a collection of DataBlocks. More... | |
| class | DataBlockGenerator |
| DataBlockGenerator: The DataBlockGenerator class provides increasing int64_t numbers from a collection of intervals which are being input into the generator at construction. More... | |
| class | DefaultEventLoader |
| Helper class for LoadEventNexus that is specific to the current default loading code for NXevent_data entries in Nexus files, in particular LoadBankFromDiskTask and ProcessBankData. More... | |
| class | DefineGaugeVolume |
| This class allows the shape of the sample to be defined by using the allowed XML expressions. More... | |
| class | DeleteTableRows |
| Deletes a row from a TableWorkspace. More... | |
| struct | DetectorWord |
| Holds the 128 bit words from the detector. More... | |
| class | DetermineChunking |
| class | DetParameters |
| Small helper class-holder used to precalculate the detectors parameters in spherical coordinate system. More... | |
| class | DownloadFile |
| DownloadFile : Downloads a file from a url to the file system. More... | |
| class | DownloadInstrument |
| DownloadInstrument : Downloads one or more instrument files to the local instrument cache from the instrument repository. More... | |
| union | EventUnion |
| Is able to hold all versions of the data words in the same memory location. More... | |
| class | EventWorkspaceCollection |
| EventWorkspaceCollection : Collection of EventWorspaces to give backward-forward compatibility around performing operations on groups. More... | |
| class | ExtractMonitorWorkspace |
| Looks for an internally-stored monitor workspace on the input workspace and sets it as the output workspace if found. More... | |
| class | ExtractPolarizationEfficiencies |
| Looks for a parameter in the parameter file that stores polarization efficiencies to be used with the polarization correction algorithm (PolarizationEfficienciesCor). More... | |
| struct | FileTypeDescriptor |
| Description of the ASCII data header, common for all ASCII PAR and PHX files. More... | |
| class | FindDetectorsInShape |
| An algorithm for finding which detectors are contained within a user defined shape within the instrument. More... | |
| class | FindDetectorsPar |
| struct | FITSInfo |
| class | GenerateGroupingPowder |
| GenerateGroupingPowder : Generate grouping file and par file, for powder scattering. More... | |
| class | GenerateGroupingPowder2 |
| GenerateGroupingPowder2 : Generate grouping file and par file, for powder scattering. More... | |
| struct | GenericEvent |
| Generic event to separate bits. More... | |
| class | GroupDetectors |
| An algorithm for grouping detectors and the spectra associated with them into a single DetectorGroup and spectrum. More... | |
| class | GroupDetectors2 |
| An algorithm for grouping detectors and their associated spectra into single spectra and DetectorGroups. More... | |
| struct | HashV3DPair |
| struct | headerData |
| struct | IntermediateEvent |
| Structure used as an intermediate for parallel processing of events. More... | |
| class | InvalidLogPeriods |
| Custom exception extending std::invalid_argument Thrown when nperiods does not match period_log Custom exception so we can re-propagate this error and handle all other errors. More... | |
| class | ISampleEnvironmentSpecFinder |
| Interface for a class responsible for finding a specification based on a name. More... | |
| class | ISISDataArchive |
| This class is for searching the ISIS data archive. More... | |
| class | ISISJournal |
| ISISJournal: Helper class to aid in fetching ISIS specific run information from journal files. More... | |
| class | ISISJournalGetExperimentRuns |
| ISISJournalGetExperimentRuns obtains a list of runs and related information for an investigation and cycle. More... | |
| class | JoinISISPolarizationEfficiencies |
| JoinISISPolarizationEfficiencies : Joins reflectometry polarization efficiency correction factors to form a single matrix workspace. More... | |
| class | Load |
| Loads a workspace from a data file. More... | |
| class | LoadAscii |
| Loads a workspace from an ascii file. More... | |
| class | LoadAscii2 |
| Loads a workspace from an ascii file. More... | |
| class | LoadAsciiStl |
| class | LoadBankFromDiskTask |
| This task does the disk IO from loading the NXS file, and so will be on a disk IO mutex. More... | |
| class | LoadBBY |
| class | LoadBBY2 |
| class | LoadBinaryStl |
| class | LoadCalFile |
| Algorithm to load a 5-column ascii .cal file into up to 3 workspaces: a GroupingWorkspace, OffsetsWorkspace and/or MaskWorkspace. More... | |
| class | LoadCanSAS1D |
| This algorithm loads 1 CanSAS1d xml file into a workspace. More... | |
| class | LoadCanSAS1D2 |
| This algorithm loads 1 CanSAS1d xml file into a workspace. More... | |
| class | LoadCSNSNexus |
| LoadCSNSNexus : TODO: DESCRIPTION. More... | |
| struct | LoadDataResult |
| Holds variables tracking the data load across all files. More... | |
| class | LoadDataStrategyBase |
| class | LoadDataStrategyEvent |
| class | LoadDataStrategyHisto |
| class | LoadDaveGrp |
| Reads the DAVE grouped ASCII format into a workspace. More... | |
| class | LoadDetectorInfo |
| class | LoadDetectorsGroupingFile |
| LoadDetectorsGroupingFile. More... | |
| class | LoadDiffCal |
| LoadDiffCal : TODO: DESCRIPTION. More... | |
| class | LoadDNSEvent |
| LoadDNSEvent. More... | |
| class | LoadEmptyInstrument |
| Loads an instrument definition file into a workspace, with the purpose of being able to visualise an instrument without requiring to read in a ISIS raw datafile first. More... | |
| class | LoadEMU |
| class | LoadEMUHdf |
| LoadEMUHdf : Loads an ANSTO EMU Hdf and linked event file into a workspace. More... | |
| class | LoadEMUTar |
| LoadEMUTar : Loads a merged ANSTO EMU Hdf and event file into a workspace. More... | |
| class | LoadErrorEventsNexus |
| LoadErrorEventsNexus : Load events from bank_error_events. More... | |
| class | LoadEventAsWorkspace2D |
| LoadEventAsWorkspace2D : Load event data, integrating the events during loading. More... | |
| class | LoadEventNexus |
| Load Event Nexus files. More... | |
| class | LoadEventNexusIndexSetup |
| Helper for LoadEventNexus dealing with setting up indices (spectrum numbers an detector ID mapping) for workspaces. More... | |
| class | LoadEventPreNexus2 |
| A data loading routine for SNS pre-nexus event files. More... | |
| class | LoadFITS |
| LoadFITS: Load one or more of FITS files into a Workspace2D. More... | |
| class | LoadFullprofResolution |
| LoadFullprofResolution : Load Fullprof resolution (.irf) file to TableWorkspace(s) More... | |
| class | LoadGroupMapFile |
| Class used to load a grouping information from .map file. More... | |
| class | LoadGroupXMLFile |
| class | LoadGSASInstrumentFile |
| LoadGSASInstrumentFile : Load GSAS instrument file to TableWorkspace(s) More... | |
| class | LoadGSS |
| Loads a file as saved by SaveGSS. More... | |
| class | LoadHFIRSANS |
| This algorithm loads a SPICE2D file for HFIR SANS into a workspace. More... | |
| class | LoadIDFFromNexus |
| DataHandling/LoadIDFFromNexus.h. More... | |
| class | LoadILLDiffraction |
| LoadILLDiffraction : Loads ILL diffraction nexus files. More... | |
| class | LoadILLIndirect2 |
| Loads an ILL IN16B nexus file into a Mantid workspace. More... | |
| class | LoadILLLagrange |
| LoadILLLagrange : Loads nexus files from ILL instrument LAGRANGE. More... | |
| class | LoadILLPolarizationFactors |
| LoadILLPolarizationFactors : Load reflectometry polarization efficiency correction factors from disk. More... | |
| class | LoadILLPolarizedDiffraction |
| LoadILLPolarizedDiffraction : Loads ILL polarized diffraction nexus files from instrument D7. More... | |
| class | LoadILLReflectometry |
| LoadILLReflectometry : Loads an ILL reflectometry Nexus data file. More... | |
| class | LoadILLSALSA |
| Loads an ILL SALSA NeXus file into a Mantid workspace. More... | |
| class | LoadILLSANS |
| LoadILLSANS; supports D11, D22 and D33 (TOF/monochromatic) More... | |
| class | LoadILLTOF2 |
| Loads an ILL IN4/5/6/Panther NeXus file into a Mantid workspace. More... | |
| class | LoadILLTOF3 |
| Loads an ILL IN4/5/6/Panther NeXus file into a Mantid workspace. More... | |
| class | LoadInstrument |
| Loads instrument data from an XML or Nexus instrument description file and adds it to a workspace. More... | |
| class | LoadInstrumentFromRaw |
| DataHandling/LoadInstrumentFromRaw.h. More... | |
| class | LoadIsawDetCal |
| Find the offsets for each detector. More... | |
| class | LoadISISNexus2 |
| Loads a file in a NeXus format and stores it in a 2D workspace. More... | |
| class | LoadISISPolarizationEfficiencies |
| LoadISISPolarizationEfficiencies : Load reflectometry polarization efficiency correction factors from disk. More... | |
| class | LoadLog |
| Load ISIS log file(s). More... | |
| class | LoadMappingTable |
| Loads the mapping table between spectra and IDetector from a raw file. More... | |
| class | LoadMask |
| LoadMask : Load masking file to generate a SpecialWorkspace2D object (masking workspace). More... | |
| class | LoadMcStas |
| class | LoadMcStasNexus |
| LoadMcStasNexus : TODO: DESCRIPTION. More... | |
| class | LoadMLZ |
| LoadMLZ : Loads MLZ nexus or hdf file into a Mantid workspace. More... | |
| class | LoadMuonNexusV2 |
| Loads a file in the Nexus Muon format V2 and stores it in a 2D workspace (Workspace2D class). More... | |
| class | LoadMuonNexusV2NexusHelper |
| class | LoadMuonStrategy |
| class | LoadNexus |
| Loads a file in NeXus format and stores it in a 2D workspace (Workspace2D class). More... | |
| class | LoadNexusLogs |
| Loads the run logs from a NeXus file. More... | |
| class | LoadNexusMonitors2 |
| class | LoadNexusProcessed |
| Loads a workspace from a NeXus Processed entry in a NeXus file. More... | |
| class | LoadNexusProcessed2 |
| LoadNexusProcessed2 : Second variation of LoadNexusProcess, built to handle ESS file specifics in addition to existing behaviour for standard Mantid Processed files. More... | |
| class | LoadNGEM |
| class | LoadNXSPE |
| LoadNXSPE : Algorithm to load an NXSPE file into a workspace2D. More... | |
| class | LoadOff |
| class | LoadParameterFile |
| DataHandling/LoadParameterFile.h. More... | |
| class | LoadPDFgetNFile |
| LoadPDFgetNFile : TODO: DESCRIPTION. More... | |
| class | LoadPLN |
| LoadPLN : Loads an ANSTO PLN Hdf and linked event file into a workspace. More... | |
| class | LoadPreNexus |
| LoadPreNexus : Workflow algorithm to load a collection of preNeXus files. More... | |
| class | LoadPreNexusMonitors |
| class | LoadPSIMuonBin |
| class | LoadQKK |
| Loads a Quokka data file. More... | |
| class | LoadRaw3 |
| Loads an file in ISIS RAW format and stores it in a 2D workspace (Workspace2D class). More... | |
| class | LoadRawBin0 |
| Loads bin zero for all spectra from ISIS RAW file and stores it in a 2D workspace (Workspace2D class). More... | |
| class | LoadRawHelper |
| Helper class for LoadRaw algorithms. More... | |
| class | LoadRawSpectrum0 |
| Loads zeroth spectrum from ISIS RAW format file and stores it in a 2D workspace (Workspace2D class). More... | |
| class | LoadRKH |
| Loads an RKH file into a Mantid 1D workspace. More... | |
| class | LoadSampleDetailsFromRaw |
| An algorithm to extract the sample details from the SPB structure within a RAW file. More... | |
| class | LoadSampleEnvironment |
| Load Environment into the sample of a workspace, either replacing the current environment, or replacing it, you may also set the material. More... | |
| class | LoadSampleShape |
| Load Shape into an instrument of a workspace. More... | |
| class | LoadSassena |
| Load Sassena Output files. More... | |
| class | LoadSESANS |
| LoadSESANS : Load a workspace in the SESANS file format. More... | |
| class | LoadSingleMesh |
| class | LoadSINQFocus |
| Loads an PSI nexus file into a Mantid workspace. More... | |
| class | LoadSPE |
| Loads an SPE format file into a Mantid workspace. More... | |
| class | LoadSpec |
| Loads a workspace from an ascii file. More... | |
| class | LoadSpice2D |
| This algorithm loads a SPICE2D file for HFIR SANS into a workspace. More... | |
| class | LoadSpiceAscii |
| LoadSpiceAscii : TODO: DESCRIPTION. More... | |
| class | LoadSpiceXML2DDet |
| LoadSpiceXML2DDet : Load 2D detector data in XML format form SPICE. More... | |
| class | LoadStl |
| class | LoadStlFactory |
| class | LoadSwans |
| LoadSwans : Test Loader to read data from the LDRD new SWANS detector. More... | |
| class | LoadTBL |
| Loads a table workspace from an ascii file in reflectometry tbl format. More... | |
| class | LoadTOFRawNexus |
| Loads a NeXus file that conforms to the TOFRaw instrument definition format and stores it in a 2D workspace. More... | |
| class | Mantid3MFFileIO |
| Class to load and save .3mf files .3mf format is a 3D manufacturing format for storing mesh descriptions of multi-component objects + metadata about the overall model (eg scale) and the individual components. More... | |
| class | MaskDetectors |
| An algorithm to mask a detector, or set of detectors. More... | |
| class | MaskDetectorsInShape |
| An algorithm for finding masking detectors that are contained within a user defined shape within the instrument. More... | |
| class | MaskSpectra |
| Mask specified spectra and the underlying detectors in a workspace. More... | |
| class | MeshFileIO |
| class | ModifyDetectorDotDatFile |
| Modifies an ISIS detector dot data file, so that the detector positions are as in the given workspace. More... | |
| class | MoveInstrumentComponent |
| DataHandling/MoveInstrumentComponent.h. More... | |
| class | MultiPeriodLoadMuonStrategy |
| class | ORNLDataArchive |
| Please see the .cpp file for more information. More... | |
| class | PatchBBY |
| class | PDLoadCharacterizations |
| LoadPDCharacterizations : Load a characterization file used in Powder Diffraction Reduction. More... | |
| class | ProcessBankCompressed |
| ProcessBankCompressed : TODO: DESCRIPTION. More... | |
| class | ProcessBankData |
| This task does the disk IO from loading the NXS file, and so will be on a disk IO mutex. More... | |
| struct | PropertyInfo |
| struct | Pulse |
| Structure that matches the form in the new pulseid files. More... | |
| class | PulseIndexer |
| PulseIndexer contains information for mapping from pulse index/number to event index. More... | |
| class | RawFileInfo |
| An algorithm to extract pertinent information about a RAW file without loading the data. More... | |
| class | ReadMaterial |
| This class contains code for interpreting a material input for SetSampleMaterial, validating the parameters before sending them on to MaterialBuilder. More... | |
| class | RemoveLogs |
| Load ISIS log file(s). More... | |
| class | RenameLog |
| RenameLog : TODO: DESCRIPTION. More... | |
| class | RotateInstrumentComponent |
| DataHandling/RotateInstrumentComponent.h. More... | |
| class | RotateSampleShape |
| Define the initial orientation of the sample with respect to the beam and instrument by giving the axes and directions of rotations. More... | |
| class | RotateSource |
| RotateSource : Moves the source by a given angle taking into account the handedness. More... | |
| class | SampleEnvironmentFactory |
| Create a single instance of a SampleEnvironment. More... | |
| class | SampleEnvironmentSpec |
| Defines the properties of a named SampleEnvironment setup. More... | |
| class | SampleEnvironmentSpecFileFinder |
| Class responsible for finding a specifications on disk. More... | |
| class | SampleEnvironmentSpecParser |
| Read an XML definition of a SampleEnvironmentSpec and produce a new SampleEnvironmentSpec object. More... | |
| class | SaveAscii |
| Saves a workspace or selected spectra in a coma-separated ascii file. More... | |
| class | SaveAscii2 |
| Saves a workspace or selected spectra in a coma-separated ascii file. More... | |
| class | SaveBankScatteringAngles |
| class | SaveCalFile |
| Algorithm to save a 5-column ascii .cal file from to 3 workspaces: a GroupingWorkspace, OffsetsWorkspace and/or MaskWorkspace. More... | |
| class | SaveCanSAS1D |
| class | SaveCanSAS1D2 |
| This algorithm saves workspace into CanSAS1d format. More... | |
| class | SaveCSV |
| Saves a 1D or 2D workspace to a CSV file. More... | |
| class | SaveDaveGrp |
| class | SaveDetectorsGrouping |
| SaveDetectorsGrouping : TODO: DESCRIPTION. More... | |
| class | SaveDiffCal |
| SaveDiffCal : TODO: DESCRIPTION. More... | |
| class | SaveFITS |
| SaveFITS : Save images in FITS formats. More... | |
| class | SaveFocusedXYE |
| Saves a focused data set (usually output of a diffraction focusing routine but not exclusively) into a three column format containing X_i, Y_i, and E_i. More... | |
| class | SaveFullprofResolution |
| SaveFullprofResolution : TODO: DESCRIPTION. More... | |
| class | SaveGDA |
| class | SaveGSASInstrumentFile |
| SaveGSASInstrumentFile : Convert Fullprof"s instrument resolution file
(.irf) to GSAS"s instrument file (.iparm/.prm). More... | |
| class | SaveGSS |
| Saves a focused data set into a three column GSAS format containing X_i, Y_i*step, and E_i*step. More... | |
| class | SaveIsawDetCal |
| Saves an instrument with RectangularDetectors to an ISAW .DetCal file. More... | |
| class | SaveMask |
| SaveMaskingToFile : TODO: DESCRIPTION. More... | |
| class | SaveNexus |
| Saves a file in NeXus format and from a 2D workspace (Workspace2D class). More... | |
| class | SaveNexusESS |
| SaveNexusESS : Save algorithm to save a NeXus organised hdf5 file containing data and geometry from reduced experiment for use at European Spallation Source. More... | |
| class | SaveNexusGeometry |
| class | SaveNexusProcessed |
| DataHandling/SaveNexusProcessed.h. More... | |
| class | SaveNISTDAT |
| Writer for compatibility with SansView and NIST reduced data file format. More... | |
| class | SaveNXcanSAS |
| SaveNXcanSAS : Saves a reduced workspace in the NXcanSAS format. More... | |
| class | SaveNXcanSASBase |
| SaveNXcanSASBase : Base class to save a reduced workspace in the NXcanSAS format. More... | |
| class | SaveNXSPE |
| Saves a workspace into a NeXus/HDF5 NXSPE file. More... | |
| class | SaveNXTomo |
| Saves a workspace into a NeXus/HDF5 NXTomo file. More... | |
| class | SaveOpenGenieAscii |
| class | SavePAR |
| Saves a workspace into an ASCII PAR file. More... | |
| class | SaveParameterFile |
| SaveParameterFile : Save a workspace's parameters to an instrument parameter file. More... | |
| class | SavePDFGui |
| SavePDFGui : Saves a workspace containing a pair distrebution function in a format readable by the PDFgui package. More... | |
| class | SavePHX |
| Saves a workspace into an ASCII PHX file. More... | |
| class | SavePolarizedNXcanSAS |
| SavePolarizedNXcanSAS : Extends SaveNXcanSAS adding metadata for polarized SANS measurements. More... | |
| class | SaveReflectometryAscii |
| Saves a file of desired (mft, txt, dat or custom) Ascii format from a 2D workspace. More... | |
| class | SaveRKH |
| Saves a workspace in the RKH file format. More... | |
| class | SaveRMCProfile |
| SaveRMCProfile : Saves a workspace containing a spectral density in a format readable by the RMCProfile package. More... | |
| class | SaveSampleEnvironmentAndShape |
| Save the Shape of the sample and environment into a single binary .stl file. More... | |
| class | SaveSESANS |
| SaveSESANS : Save a workspace in the SESANS file format. More... | |
| class | SaveSPE |
| Saves a workspace into an ASCII SPE file. More... | |
| class | SaveStl |
| Class to contain functionality for writing out STL files for SaveShapeAndEnvironment. More... | |
| class | SaveTBL |
| Saves a table workspace to a reflectometry tbl format ascii file. More... | |
| class | SaveVTK |
| Saves a 1D or 2D workspace using the vtk file format described in the "file
formats" document at http://www.vtk.org/documents.php . More... | |
| class | ScaleInstrumentComponent |
| class | SetBeam |
| Set properties of the beam. More... | |
| class | SetSample |
| High-level interface for setting sample metadata on a workspace. More... | |
| class | SetSampleMaterial |
| This class allows the shape of the sample to be defined by using the allowed XML expressions. More... | |
| class | SetScalingPSD |
| Read the scaling information from a file (e.g. More... | |
| class | SinglePeriodLoadMuonStrategy |
| class | SNSAppendGeometryToNexus |
| SNSAppendGeometryToNexus : Appends geometry information to a NeXus file. More... | |
| class | SortTableWorkspace |
| SortTableWorkspace : TODO: DESCRIPTION. More... | |
| class | SpiceXMLNode |
| struct | T0FrameEvent |
| Indicate time 0, the start of a new frame. More... | |
| struct | temperatureHeaderData |
| class | UpdateInstrumentFromFile |
| Update detector positions initially loaded in from Instrument Defintion File (IDF) from information in the provided files. More... | |
| struct | V3DTrueComparator |
| class | XmlHandler |
Typedefs | |
| using | ChopperConfiguration_sptr = std::shared_ptr< ChopperConfiguration > |
| using | DasTofType = int |
| Type for the DAS time of flight (data file) | |
| using | EventWorkspaceCollection_sptr = std::shared_ptr< EventWorkspaceCollection > |
| using | EventWorkspaceCollection_uptr = std::unique_ptr< EventWorkspaceCollection > |
| using | ISampleEnvironmentSpecFinder_uptr = std::unique_ptr< ISampleEnvironmentSpecFinder > |
| using | MeshObject_const_sptr = std::shared_ptr< const Geometry::MeshObject > |
| Typdef for a shared pointer to a const object. | |
| using | MeshObject_sptr = std::shared_ptr< Geometry::MeshObject > |
| Typdef for a shared pointer. | |
| using | mypair = std::pair< double, int > |
| using | optional_size_t = Nexus::NexusFileIO::optional_size_t |
| using | PixelType = int |
| DetermineChunking : Workflow algorithm to determine chunking. | |
| using | SampleEnvironmentSpec_const_uptr = std::unique_ptr< const SampleEnvironmentSpec > |
| unique_ptr to a const SampleEnvironmentSpec | |
| using | SampleEnvironmentSpec_uptr = std::unique_ptr< SampleEnvironmentSpec > |
| unique_ptr to a SampleEnvironmentSpec | |
| using | SpectrumPair = std::pair< specnum_t, specnum_t > |
| using | tokenizer = Mantid::Kernel::StringTokenizer |
| using | ValidationErrors = std::map< std::string, std::string > |
Enumerations | |
| enum class | CompressBinningMode { LINEAR , LOGARITHMIC } |
| enum | FileType { PRENEXUS_FILE , EVENT_NEXUS_FILE , HISTO_NEXUS_FILE , RAW_FILE } |
| Allowed file types. More... | |
| enum | fileTypes { PAR_type , PHX_type , SPE_type , BIN_file , NumFileTypes } |
| file types currently supported by ASCII loader are: 1) an ASCII Tobyfit par file Syntax: >> par = get_ascii_file(filename,['par']) More... | |
| enum class | InstrumentLayout { Mantid , NexusFormat , NotRecognised } |
| Layout information relating to detector-spectra mappings. More... | |
| enum class | LoaderType { Xml = 1 , Idf = 2 , Nxs = 3 } |
| enum class | ScaleUnits { undefined , metres , centimetres , millimetres } |
| enum | TYPE { TYPE_STR , TYPE_INT , TYPE_DBL } |
Functions | |
| template<typename TYPE > | |
| void | AddSinglePointTimeSeriesProperty (API::LogManager &logManager, const std::string &time, const std::string &name, const TYPE value) |
| template<typename TYPE > | |
| void | addSinglePointTimeSeriesProperty (API::LogManager &logManager, const std::string &time, const std::string &name, const TYPE value) |
| template<typename T > | |
| void | adjustTimeOfFlightISISLegacy (Nexus::File &file, T localWorkspace, const std::string &entry_name, const std::string &classType, const Nexus::NexusDescriptor *descriptor=nullptr) |
| ISIS specific method for dealing with wide events. | |
| size_t | calcVecSize (const std::vector< double > &data0, std::vector< size_t > &numptsvec, size_t &numsets, bool xascend) |
| static bool | checkIntersection (std::vector< std::string > v1, std::vector< std::string > v2) |
| bool | compare (const mypair &left, const mypair &right) |
| DataObjects::TableWorkspace_sptr | createTimeZeroTable (const size_t numSpec, const std::vector< double > &timeZeros) |
| Creates a timezero table for the loaded detectors. | |
| static bool | endswith (const std::string &s, const std::string &subs) |
| static const string | EVENT_PARAM ("EventFilename") |
| bool | exists (const std::map< std::string, std::string > &entries, const std::string &name) |
| bool | exists (Nexus::File &file, const std::string &name) |
| Mantid::Types::Core::DateAndTime DLLExport | extractEndTime (const std::string &filename) |
| Gets the start time from the nexus file. | |
| Mantid::Types::Core::DateAndTime DLLExport | extractStartTime (const std::string &filename) |
| Extracts the start and the end time from a Nexus file. | |
| std::pair< DateAndTime, DateAndTime > | firstLastPulseTimes (Nexus::File &file, Kernel::Logger &logger) |
| template<class T > | |
| bool | from_string (T &t, const std::string &s, std::ios_base &(*f)(std::ios_base &)) |
| static string | generateMappingfileName (EventWorkspace_sptr &wksp) |
| Generate mapping file name from Event workspace's instrument. | |
| static string | generatePulseidName (string eventfile) |
| Generate Pulse ID file name from preNexus event file's name. | |
| vector< string > | getGroupNames (const string &names) |
| Split a list of instrument components into a vector of strings. | |
| static string | getRunnumber (const string &filename) |
| Parse preNexus file name to get run number. | |
| ScaleUnits | getScaleTypeFromStr (const std::string &scaleProperty) |
| template<typename EP > | |
| void | loadEvents (API::Progress &prog, const char *progMsg, EP &eventProcessor, const Nexus::NXEntry &entry, uint64_t start_nsec, uint64_t end_nsec) |
| template<class T > | |
| bool | loadNXDataSet (Nexus::NXEntry &entry, const std::string &address, T &value) |
| bool | loadNXString (const Nexus::NXEntry &entry, const std::string &address, std::string &value) |
| template<typename T > | |
| void | makeTimeOfFlightDataFuzzy (Nexus::File &file, T localWorkspace, const std::string &binsName, size_t start_wi=0, size_t end_wi=0) |
| Load the time of flight data. | |
| static const string | MAP_PARAM ("MappingFilename") |
| static const string | MAP_PARAM ("MappingFilename") |
| std::size_t | numEvents (Nexus::File &file, bool &hasTotalCounts, bool &oldNeXusFileNames, const std::string &prefix, const Nexus::NexusDescriptor &descriptor) |
| Get the number of events in the currently opened group. | |
| static const string | OUT_PARAM ("OutputWorkspace") |
| string | parentName (const IComponent_const_sptr &comp, const string &prefix) |
| Find the name of the parent of the component that starts with the supplied prefix. | |
| string | parentName (const IComponent_const_sptr &comp, const vector< string > &names) |
| Find the name of the parent of the component that is in the list of parents that are being searched for. | |
| static const string | PID_PARAM ("SpectrumList") |
| template<typename T > | |
| void DLLExport | populateDataBlockCompositeWithContainer (DataBlockComposite &dataBlockComposite, T &indexContainer, int64_t nArray, size_t numberOfPeriods, size_t numberOfChannels, std::vector< specnum_t > monitorSpectra) |
| Populates a DataBlockComposite with DataBlocks which are extracted from a indexable collection (array-type). | |
| static const string | PULSEID_PARAM ("PulseidFilename") |
| static const std::string | RUNINFO_FILENAME ("RunInfoFilename") |
| static const string | RUNINFO_PARAM ("Filename") |
| bool | startsWith (const string &str, const string &prefix) |
| Returns true if str starts with prefix. | |
| void | store_value (const DataObjects::Workspace2D_sptr &ws, int specID, double value, double error, double wavelength, double dwavelength) |
| Convenience function to store a detector value into a given spectrum. | |
| const Mantid::Geometry::MeshObject & | toMeshObject (const Geometry::IObject &object) |
| Function to convert an IObject to a mesh, and throw if this can't be done. | |
| template<typename T > | |
| void | traceStatistics (const Nexus::NXEntry &entry, const std::string &path, uint64_t startTime, uint64_t endTime, Kernel::Logger &log) |
| bool | UDlesserExecCount (const Mantid::Nexus::NXClassInfo &elem1, const Mantid::Nexus::NXClassInfo &elem2) |
| to sort the algorithmhistory vector | |
| static const uint64_t | VETOFLAG (72057594037927935) |
| Veto flag: 0xFF00000000000. | |
| static const std::string | WORKSPACE_OUT ("OutputWorkspace") |
Variables | |
| static constexpr uint64_t | CONTIN_ID_VALUE = 0x4F |
| static const double | CURRENT_CONVERSION = 1.e-6 / 3600. |
| Conversion factor between picoColumbs and microAmp*hours. | |
| static const PixelType | ERROR_PID = 0x80000000 |
| All pixel ids with matching this mask are errors. | |
| static const string | EVENT_EXTS [] |
| static constexpr uint64_t | EVENT_ID_MASK = 0x40 |
| const std::vector< std::string > | EVENT_NEXUS_EXT = {"_event.nxs", ".nxs", ".nxs.h5"} |
| Valid extensions for event nexus files. | |
| static char const *const | EXTERNAL = "EXTERNAL" |
| static char const *const | FilenameStr = "Filename" |
| static char const *const | FilenameStr = "Filename" |
| static char const *const | FilenameStr = "Filename" |
| static char const *const | FilterByTimeStartStr = "FilterByTimeStart" |
| static char const *const | FilterByTimeStartStr = "FilterByTimeStart" |
| static char const *const | FilterByTimeStopStr = "FilterByTimeStop" |
| static char const *const | FilterByTimeStopStr = "FilterByTimeStop" |
| static char const *const | FilterByTofMaxStr = "FilterByTofMax" |
| static char const *const | FilterByTofMaxStr = "FilterByTofMax" |
| static char const *const | FilterByTofMinStr = "FilterByTofMin" |
| static char const *const | FilterByTofMinStr = "FilterByTofMin" |
| const char | FLOAT32 = 'f' |
| Kernel::Logger | g_log ("LoadCSNSNexus") |
| static const size_t | HISTO_BINS_X = 240 |
| static const size_t | HISTO_BINS_X = 240 |
| static const size_t | HISTO_BINS_Y = 256 |
| static const size_t | HISTO_BINS_Y = 256 |
| const std::vector< std::string > | HISTO_NEXUS_EXT = {"_histo.nxs"} |
| Valid extensions for histogram nexus files. | |
| static char const *const | HistoryStr = "History.log" |
| const char | INT32 = 'i' |
| static char const *const | INTERNAL = "INTERNAL" |
| static const int | LAST_INDEX = -1 |
| static char const *const | MaskStr = "Mask" |
| static char const *const | MaskStr = "Mask" |
| const unsigned int | MAX_BUFFER_BYTES_SIZE = 1500 |
| static const uint32_t | MAX_TOF_UINT32 = std::numeric_limits<uint32_t>::max() |
| The maximum possible tof as native type. | |
| const size_t | NUM_AXES = 6 |
| How many axes (max) to define. | |
| static const int | NUM_EXT = 7 |
| static const unsigned int | NUM_PER_LINE = 8 |
| set to the number of numbers on each line (the length of lines is hard-coded in other parts of the code too) | |
| static PropertyInfo | PatchableProperties [] |
| const unsigned int | PIXEL_PER_TUBE = 1024 |
| const std::vector< std::string > | PRENEXUS_EXT = {"_runinfo.xml"} |
| Valid extensions for prenexus files. | |
| static const size_t | Progress_LoadBinFile = 48 |
| static const size_t | Progress_LoadBinFile = 48 |
| static const size_t | Progress_ReserveMemory = 4 |
| static const size_t | Progress_ReserveMemory = 4 |
| static const size_t | Progress_Total = 2 * Progress_LoadBinFile + Progress_ReserveMemory |
| static const size_t | Progress_Total = 2 * Progress_LoadBinFile + Progress_ReserveMemory |
| static const string | PULSE_EXTS [] |
| constexpr double | rad2deg = 180.0 / M_PI |
| const std::vector< std::string > | RAW_EXT = {".raw"} |
| Valid extensions for ISIS raw files. | |
| static const std::map< std::string, Anxs::ScanLog > | ScanLogMap |
| const char | STRING = 's' |
| static const double | TOF_CONVERSION = .1 |
| Conversion factor between 100 nanoseconds and 1 microsecond. | |
| static char const *const | UseHMScanTimeStr = "UseHMScanTime" |
| using Mantid::DataHandling::ChopperConfiguration_sptr = typedef std::shared_ptr<ChopperConfiguration> |
Definition at line 69 of file SaveGSASInstrumentFile.cpp.
| typedef int Mantid::DataHandling::DasTofType |
Type for the DAS time of flight (data file)
Definition at line 25 of file DetermineChunking.h.
| using Mantid::DataHandling::EventWorkspaceCollection_sptr = typedef std::shared_ptr<EventWorkspaceCollection> |
Definition at line 84 of file EventWorkspaceCollection.h.
| using Mantid::DataHandling::EventWorkspaceCollection_uptr = typedef std::unique_ptr<EventWorkspaceCollection> |
Definition at line 85 of file EventWorkspaceCollection.h.
| using Mantid::DataHandling::ISampleEnvironmentSpecFinder_uptr = typedef std::unique_ptr<ISampleEnvironmentSpecFinder> |
Definition at line 27 of file SampleEnvironmentFactory.h.
| using Mantid::DataHandling::MeshObject_const_sptr = typedef std::shared_ptr<const Geometry::MeshObject> |
Typdef for a shared pointer to a const object.
Definition at line 23 of file Mantid3MFFileIO.h.
| using Mantid::DataHandling::MeshObject_sptr = typedef std::shared_ptr<Geometry::MeshObject> |
Typdef for a shared pointer.
Definition at line 21 of file Mantid3MFFileIO.h.
| using Mantid::DataHandling::mypair = typedef std::pair<double, int> |
Definition at line 79 of file LoadSassena.cpp.
Definition at line 36 of file SaveNexusProcessed.cpp.
| typedef int Mantid::DataHandling::PixelType |
DetermineChunking : Workflow algorithm to determine chunking.
This define is used to quickly turn parallel code on or off.
Make the code clearer by having this an explicit type
Definition at line 23 of file DetermineChunking.h.
| using Mantid::DataHandling::SampleEnvironmentSpec_const_uptr = typedef std::unique_ptr<const SampleEnvironmentSpec> |
unique_ptr to a const SampleEnvironmentSpec
Definition at line 56 of file SampleEnvironmentSpec.h.
| using Mantid::DataHandling::SampleEnvironmentSpec_uptr = typedef std::unique_ptr<SampleEnvironmentSpec> |
unique_ptr to a SampleEnvironmentSpec
Definition at line 54 of file SampleEnvironmentSpec.h.
| using Mantid::DataHandling::SpectrumPair = typedef std::pair<specnum_t, specnum_t> |
Definition at line 18 of file DataBlock.h.
| using Mantid::DataHandling::tokenizer = typedef Mantid::Kernel::StringTokenizer |
Definition at line 32 of file CreateChunkingFromInstrument.cpp.
| using Mantid::DataHandling::ValidationErrors = typedef std::map<std::string, std::string> |
Definition at line 18 of file ReadMaterial.h.
|
strong |
| Enumerator | |
|---|---|
| LINEAR | |
| LOGARITHMIC | |
Definition at line 17 of file CompressEventAccumulator.h.
Allowed file types.
| Enumerator | |
|---|---|
| PRENEXUS_FILE | PreNeXus files. |
| EVENT_NEXUS_FILE | Event NeXus files. |
| HISTO_NEXUS_FILE | Histogram NeXus files. |
| RAW_FILE | ISIS raw files. |
Definition at line 38 of file DetermineChunking.h.
file types currently supported by ASCII loader are: 1) an ASCII Tobyfit par file Syntax: >> par = get_ascii_file(filename,['par'])
filename name of par file
par(5,ndet) contents of array
1st column sample-detector distance
2nd " scattering angle (deg)
3rd " azimuthal angle (deg)
(west bank = 0 deg, north bank = -90 deg etc.)
(Note the reversed sign convention cf .phx files)
4th " width (m)
5th " height (m)
2) load an ASCII phx file
phx(7,ndet) contents of array
Recall that only the 3,4,5,6 columns in the file (rows in the
output of this routine) contain useful information
3rd column scattering angle (deg)
4th " azimuthal angle (deg)
(west bank = 0 deg, north bank = 90 deg etc.)
5th " angular width (deg)
6th " angular height (deg)
| Enumerator | |
|---|---|
| PAR_type | |
| PHX_type | |
| SPE_type | |
| BIN_file | |
| NumFileTypes | |
Definition at line 49 of file FindDetectorsPar.h.
|
strong |
Layout information relating to detector-spectra mappings.
| Enumerator | |
|---|---|
| Mantid | |
| NexusFormat | |
| NotRecognised | |
Definition at line 28 of file LoadNexusProcessed2.h.
|
strong |
| Enumerator | |
|---|---|
| Xml | |
| Idf | |
| Nxs | |
Definition at line 41 of file LoadInstrument.cpp.
|
strong |
| Enumerator | |
|---|---|
| undefined | |
| metres | |
| centimetres | |
| millimetres | |
Definition at line 21 of file MeshFileIO.h.
| Enumerator | |
|---|---|
| TYPE_STR | |
| TYPE_INT | |
| TYPE_DBL | |
Definition at line 21 of file PatchBBY.cpp.
| void Mantid::DataHandling::AddSinglePointTimeSeriesProperty | ( | API::LogManager & | logManager, |
| const std::string & | time, | ||
| const std::string & | name, | ||
| const TYPE | value | ||
| ) |
Definition at line 67 of file LoadBBY.cpp.
Referenced by Mantid::DataHandling::LoadBBY::exec().
| void Mantid::DataHandling::addSinglePointTimeSeriesProperty | ( | API::LogManager & | logManager, |
| const std::string & | time, | ||
| const std::string & | name, | ||
| const TYPE | value | ||
| ) |
Definition at line 109 of file LoadBBY2.cpp.
References Mantid::API::LogManager::addProperty(), name, and value.
Referenced by Mantid::DataHandling::LoadBBY2::execLoader().
| void Mantid::DataHandling::adjustTimeOfFlightISISLegacy | ( | Nexus::File & | file, |
| T | localWorkspace, | ||
| const std::string & | entry_name, | ||
| const std::string & | classType, | ||
| const Nexus::NexusDescriptor * | descriptor = nullptr |
||
| ) |
ISIS specific method for dealing with wide events.
Check if time_of_flight can be found in the file and load it.
THIS ONLY APPLIES TO ISIS FILES WITH "detector_1_events" IN THE "NXentry."
| file | :: The nexus file to read from. |
| localWorkspace | :: The event workspace collection which events will be modified. |
| entry_name | :: An NXentry tag in the file |
| classType | :: The type of the events: either detector or monitor |
| descriptor | :: input descriptor carrying metadata information |
Definition at line 357 of file LoadEventNexus.h.
References makeTimeOfFlightDataFuzzy(), n, and std::to_string().
Referenced by Mantid::DataHandling::LoadNexusMonitors2::exec().
| size_t Mantid::DataHandling::calcVecSize | ( | const std::vector< double > & | data0, |
| std::vector< size_t > & | numptsvec, | ||
| size_t & | numsets, | ||
| bool | xascend | ||
| ) |
Definition at line 280 of file LoadPDFgetNFile.cpp.
Referenced by Mantid::DataHandling::LoadPDFgetNFile::generateDataWorkspace().
|
static |
Definition at line 47 of file LoadSpiceAscii.cpp.
Referenced by Mantid::DataHandling::LoadSpiceAscii::validateLogNamesType().
Definition at line 80 of file LoadSassena.cpp.
Referenced by Mantid::DataHandling::LoadSassena::loadQvectors(), and Mantid::API::Sample::operator==().
| DataObjects::TableWorkspace_sptr Mantid::DataHandling::createTimeZeroTable | ( | const size_t | numSpec, |
| const std::vector< double > & | timeZeros | ||
| ) |
Creates a timezero table for the loaded detectors.
| numSpec | :: Number of spectra (number of rows in table) |
| timeZeros | :: Vector containing time zero values for each spectra |
Definition at line 26 of file LoadMuonStrategy.cpp.
References Mantid::Kernel::SingletonHolder< T >::Instance().
Referenced by Mantid::DataHandling::LoadPSIMuonBin::exec(), Mantid::DataHandling::MultiPeriodLoadMuonStrategy::getTimeZeroTable(), and Mantid::DataHandling::SinglePeriodLoadMuonStrategy::getTimeZeroTable().
|
static |
Definition at line 36 of file LoadSpiceAscii.cpp.
Referenced by Mantid::DataHandling::LoadSpiceAscii::parseSPICEAscii().
|
static |
| bool Mantid::DataHandling::exists | ( | const std::map< std::string, std::string > & | entries, |
| const std::string & | name | ||
| ) |
| bool Mantid::DataHandling::exists | ( | Nexus::File & | file, |
| const std::string & | name | ||
| ) |
Referenced by Mantid::DataObjects::MDEventsTestHelper::checkAndDeleteFile(), Mantid::API::DeprecatedAlgorithm::deprecationMsg(), Mantid::DataHandling::SaveFocusedXYE::exec(), Mantid::MDAlgorithms::MergeMDFiles::exec(), Mantid::WorkflowAlgorithms::EQSANSLoad::findConfigFile(), Mantid::API::FileFinderImpl::findRun(), Mantid::Nexus::H5Util::hasAttribute(), and Mantid::API::InstrumentFileFinder::lookupIPF().
| Mantid::Types::Core::DateAndTime Mantid::DataHandling::extractEndTime | ( | const std::string & | filename | ) |
Gets the start time from the nexus file.
| filename | the file name |
| if | the start time cannot be extracted |
Definition at line 145 of file StartAndEndTimeFromNexusFileExtractor.cpp.
| Mantid::Types::Core::DateAndTime Mantid::DataHandling::extractStartTime | ( | const std::string & | filename | ) |
Extracts the start and the end time from a Nexus file.
Gets the start time from the nexus file.
| filename | the file name |
| if | the start time cannot be extracted |
Definition at line 135 of file StartAndEndTimeFromNexusFileExtractor.cpp.
| std::pair< DateAndTime, DateAndTime > Mantid::DataHandling::firstLastPulseTimes | ( | Nexus::File & | file, |
| Kernel::Logger & | logger | ||
| ) |
Definition at line 472 of file LoadEventNexus.cpp.
References Mantid::Kernel::Units::timeConversionValue(), and Mantid::Kernel::Logger::warning().
Referenced by Mantid::DataHandling::LoadEventNexus::loadEvents().
| bool Mantid::DataHandling::from_string | ( | T & | t, |
| const std::string & | s, | ||
| std::ios_base &(*)(std::ios_base &) | f | ||
| ) |
Definition at line 61 of file LoadSpice2D.cpp.
|
static |
Generate mapping file name from Event workspace's instrument.
Definition at line 140 of file LoadEventPreNexus2.cpp.
Referenced by Mantid::DataHandling::LoadEventPreNexus2::createOutputWorkspace().
|
static |
Generate Pulse ID file name from preNexus event file's name.
Definition at line 119 of file LoadEventPreNexus2.cpp.
References EVENT_EXTS, NUM_EXT, and PULSE_EXTS.
Referenced by Mantid::DataHandling::LoadEventPreNexus2::exec().
| vector< string > Mantid::DataHandling::getGroupNames | ( | const string & | names | ) |
Split a list of instrument components into a vector of strings.
| names | Comma separated list of instrument components |
Definition at line 255 of file CreateChunkingFromInstrument.cpp.
References Mantid::Kernel::StringTokenizer::asVector(), and Mantid::Kernel::StringTokenizer::TOK_TRIM.
Referenced by Mantid::DataHandling::CreateChunkingFromInstrument::exec().
|
static |
Parse preNexus file name to get run number.
Definition at line 103 of file LoadEventPreNexus2.cpp.
Referenced by Mantid::DataHandling::LoadEventPreNexus2::createOutputWorkspace().
|
inline |
Definition at line 73 of file MeshFileIO.h.
References centimetres, metres, and millimetres.
Referenced by Mantid::DataHandling::LoadSampleShape::exec(), Mantid::DataHandling::SaveSampleEnvironmentAndShape::exec(), Mantid::DataHandling::LoadSampleEnvironment::loadEnvironmentFromSTL(), and Mantid::DataHandling::SampleEnvironmentSpecParser::loadMeshFromSTL().
| void Mantid::DataHandling::loadEvents | ( | API::Progress & | prog, |
| const char * | progMsg, | ||
| EP & | eventProcessor, | ||
| const Nexus::NXEntry & | entry, | ||
| uint64_t | start_nsec, | ||
| uint64_t | end_nsec | ||
| ) |
Definition at line 120 of file LoadBBY2.cpp.
References Mantid::API::Progress::doReport(), HISTO_BINS_Y, Progress_LoadBinFile, and Mantid::DataHandling::ANSTO::Anxs::ReadEventData().
Referenced by Mantid::DataHandling::LoadEventNexus::createEmptyEventWorkspace(), and Mantid::DataHandling::LoadBBY2::execLoader().
| bool Mantid::DataHandling::loadNXDataSet | ( | Nexus::NXEntry & | entry, |
| const std::string & | address, | ||
| T & | value | ||
| ) |
Definition at line 64 of file PatchBBY.cpp.
References Mantid::Nexus::NXDataSetTyped< T >::load(), Mantid::Nexus::NXClass::openNXDataSet(), and value.
Referenced by Mantid::DataHandling::PatchBBY::exec().
| bool Mantid::DataHandling::loadNXString | ( | const Nexus::NXEntry & | entry, |
| const std::string & | address, | ||
| std::string & | value | ||
| ) |
Definition at line 75 of file PatchBBY.cpp.
References Mantid::Nexus::NXClass::getString(), and value.
Referenced by Mantid::DataHandling::PatchBBY::exec().
| void Mantid::DataHandling::makeTimeOfFlightDataFuzzy | ( | Nexus::File & | file, |
| T | localWorkspace, | ||
| const std::string & | binsName, | ||
| size_t | start_wi = 0, |
||
| size_t | end_wi = 0 |
||
| ) |
Load the time of flight data.
file must have open the group containing "time_of_flight" data set. This will add a offset to all of the time-of-flight values or a random number to each time-of-flight. It should only ever be called on event files that have a "detector_1_events" group inside the "NXentry". It is an old ISIS requirement that is rarely used now.
Due to hardware issues with retro-fitting event mode to old electronics, ISIS event mode is really a very fine histogram with between 1 and 2 microseconds bins.
If we just took "middle of bin" as the true event time here then WISH observed strange ripples when they added spectra. The solution was to randomise the probability of an event within the bin.
This randomisation is now performed in the control program which also writes the "event_time_offset_shift" dataset (with a single value of "random") when it has been performed. If this dataset is present in an event file then no randomisation is performed in LoadEventNexus.
This code should remain for loading older ISIS event datasets.
| file | :: The nexus file to read from. |
| localWorkspace | :: The event workspace collection to write to. |
| binsName | :: bins name |
| start_wi | :: First workspace index to process |
| end_wi | :: Last workspace index to process |
Definition at line 268 of file LoadEventNexus.h.
References Mantid::DataObjects::EventList::empty(), Mantid::DataObjects::EventList::getTofs(), left, Mantid::Geometry::m, n, right, Mantid::DataObjects::EventList::setTofs(), and Mantid::DataObjects::EventList::sortTof().
Referenced by adjustTimeOfFlightISISLegacy().
|
static |
|
static |
| std::size_t Mantid::DataHandling::numEvents | ( | Nexus::File & | file, |
| bool & | hasTotalCounts, | ||
| bool & | oldNeXusFileNames, | ||
| const std::string & | prefix, | ||
| const Nexus::NexusDescriptor & | descriptor | ||
| ) |
Get the number of events in the currently opened group.
| file | The handle to the nexus file opened to the group to look at. |
| hasTotalCounts | Whether to try looking at the total_counts field. This variable will be changed if the field is not there. |
| oldNeXusFileNames | Whether to try using old names. This variable will be changed if it is determined that old names are being used. |
| prefix | current entry name prefix (e.g. /entry) |
| descriptor | input containing metadata information |
Definition at line 515 of file LoadEventNexus.cpp.
References Mantid::Nexus::NexusDescriptor::isEntry(), numEvents(), and NXnumtype::UINT64.
Referenced by Mantid::DataObjects::FakeMD::addFakeEllipsoid(), Mantid::SingleCrystalDiffractionTestHelper::WorkspaceBuilder::addPeakByHKL(), Mantid::Algorithms::VesuvioL1ThetaResolution::calculateDetector(), Mantid::DataHandling::LoadEMU< FD >::calibrateDopplerPhase(), Mantid::MDAlgorithms::ConvertToDiffractionMDWorkspace::convertEventList(), Mantid::MDAlgorithms::ConvToMDEventsWS::convertEventList(), Mantid::MDAlgorithms::ConvToMDEventsWSIndexing::convertEvents(), Mantid::DataObjects::MDEventsTestHelper::createDiffractionEventWorkspace(), Mantid::MDAlgorithms::FitMD::createEventOutputWorkspace(), WorkspaceCreationHelper::createEventWorkspace(), Mantid::Algorithms::CreateSampleWorkspace::createEventWorkspace(), WorkspaceCreationHelper::createEventWorkspaceWithStartTime(), Mantid::DataObjects::EventList::createFromHistogram(), Mantid::DataObjects::MDLeanEvent< nd >::dataToEvents(), Mantid::DataObjects::MDEvent< nd >::dataToEvents(), Mantid::Algorithms::CreateSampleWorkspace::exec(), Mantid::Algorithms::VesuvioL1ThetaResolution::exec(), Mantid::DataHandling::LoadErrorEventsNexus::exec(), Mantid::MDAlgorithms::TransformMD::exec(), Mantid::Algorithms::UnwrapSNS::execEvent(), Mantid::DataObjects::EventList::getPulseTimeMinMax(), Mantid::DataObjects::EventList::getTimeAtSampleMax(), Mantid::DataObjects::EventList::getTimeAtSampleMin(), Mantid::DataHandling::LoadBankFromDiskTask::LoadBankFromDiskTask(), Mantid::DataHandling::LoadEventNexus::loadEvents(), Mantid::DataObjects::MDEventsTestHelper::makeFakeMDEventWorkspace(), Mantid::DataObjects::MDEventsTestHelper::makeFakeMDHistoWorkspace(), Mantid::DataObjects::MDEventsTestHelper::makeFakeMDHistoWorkspaceWithMDFrame(), Mantid::MDAlgorithms::MDAlgorithmsTestHelper::makeFileBackedMDEW(), Mantid::MDAlgorithms::MDAlgorithmsTestHelper::makeFileBackedMDEWwithMDFrame(), numEvents(), Mantid::DataHandling::LoadEventPreNexus2::procEvents(), Mantid::DataHandling::LoadNexusMonitors2::readEventMonitorEntry(), Mantid::DataObjects::MDBoxFlatTree::restoreBoxTree(), Mantid::DataHandling::LoadBankFromDiskTask::run(), Mantid::DataObjects::MDHistoWorkspace::setTo(), Mantid::DataHandling::DefaultEventLoader::setupChunking(), and Mantid::WorkflowAlgorithms::AlignAndFocusPowder::shouldCompressUnfocused().
|
static |
| string Mantid::DataHandling::parentName | ( | const IComponent_const_sptr & | comp, |
| const string & | prefix | ||
| ) |
Find the name of the parent of the component that starts with the supplied prefix.
| comp | The component to find the parent of. |
| prefix | Prefix of parent names to look for. |
Definition at line 201 of file CreateChunkingFromInstrument.cpp.
References parentName(), and startsWith().
Referenced by Mantid::DataHandling::CreateChunkingFromInstrument::exec(), parentName(), and parentName().
| string Mantid::DataHandling::parentName | ( | const IComponent_const_sptr & | comp, |
| const vector< string > & | names | ||
| ) |
Find the name of the parent of the component that is in the list of parents that are being searched for.
| comp | The component to find the parent of. |
| names | List of parent names to look for. |
Definition at line 227 of file CreateChunkingFromInstrument.cpp.
References parentName().
|
static |
| void DLLExport Mantid::DataHandling::populateDataBlockCompositeWithContainer | ( | DataBlockComposite & | dataBlockComposite, |
| T & | indexContainer, | ||
| int64_t | nArray, | ||
| size_t | numberOfPeriods, | ||
| size_t | numberOfChannels, | ||
| std::vector< specnum_t > | monitorSpectra | ||
| ) |
Populates a DataBlockComposite with DataBlocks which are extracted from a indexable collection (array-type).
Note that std::is_array does not work on std::shared_array which is one of the use cases. Hence this function could get abused. Monitor spectra get their own data block
| dataBlockComposite | the detector block composite which will get populated |
| indexContainer | the container of indices |
| nArray | the number of array elements |
| numberOfPeriods | the number of periods |
| numberOfChannels | the number of channels |
| monitorSpectra | a collection of monitor spectrum numbers |
Definition at line 64 of file DataBlockComposite.h.
References Mantid::DataHandling::DataBlockComposite::addDataBlock(), index, Mantid::DataHandling::DataBlock::setMaxSpectrumID(), and Mantid::DataHandling::DataBlock::setMinSpectrumID().
Referenced by Mantid::DataHandling::LoadISISNexus2::checkOptionalProperties(), and Mantid::DataHandling::LoadISISNexus2::findSpectraDetRangeInFile().
|
static |
|
static |
|
static |
| bool Mantid::DataHandling::startsWith | ( | const string & | str, |
| const string & | prefix | ||
| ) |
Returns true if str starts with prefix.
| str | The string to check. |
| prefix | The prefix to look for. |
Definition at line 184 of file CreateChunkingFromInstrument.cpp.
Referenced by Mantid::DataHandling::LoadPDFgetNFile::confidence(), parentName(), and Mantid::DataHandling::LoadDNSEvent::parse_File().
| void Mantid::DataHandling::store_value | ( | const DataObjects::Workspace2D_sptr & | ws, |
| int | specID, | ||
| double | value, | ||
| double | error, | ||
| double | wavelength, | ||
| double | dwavelength | ||
| ) |
Convenience function to store a detector value into a given spectrum.
Note that this type of data doesn't use TOD, so that we use a single dummy bin in X. Each detector is defined as a spectrum of length 1.
| ws | workspace |
| specID | ID of the spectrum to store the value in |
| value | value to store [count] |
| error | error on the value [count] |
| wavelength | wavelength value [Angstrom] |
| dwavelength | error on the wavelength [Angstrom] |
Definition at line 77 of file LoadSpice2D.cpp.
References error, value, Mantid::Geometry::X, and Mantid::Geometry::Y.
Referenced by Mantid::DataHandling::LoadSpice2D::createWorkspace().
| const Geometry::MeshObject & Mantid::DataHandling::toMeshObject | ( | const Geometry::IObject & | object | ) |
Function to convert an IObject to a mesh, and throw if this can't be done.
| object | The IObject to convert. |
Definition at line 184 of file SaveSampleEnvironmentAndShape.cpp.
Referenced by Mantid::DataHandling::SaveSampleEnvironmentAndShape::exec().
| void Mantid::DataHandling::traceStatistics | ( | const Nexus::NXEntry & | entry, |
| const std::string & | path, | ||
| uint64_t | startTime, | ||
| uint64_t | endTime, | ||
| Kernel::Logger & | log | ||
| ) |
Definition at line 82 of file LoadBBY2.cpp.
References Mantid::Geometry::d, Mantid::Kernel::Logger::debug(), Mantid::Kernel::Logger::isDebug(), and n.
| bool Mantid::DataHandling::UDlesserExecCount | ( | const NXClassInfo & | elem1, |
| const NXClassInfo & | elem2 | ||
| ) |
to sort the algorithmhistory vector
Binary predicate function object to sort the AlgorithmHistory vector by execution order.
| elem1 | :: first element in the vector |
| elem2 | :: second element in the vecor |
Definition at line 2069 of file LoadNexusProcessed.cpp.
References Mantid::Nexus::NXClassInfo::nxname.
|
static |
Veto flag: 0xFF00000000000.
Referenced by Mantid::DataHandling::LoadEventPreNexus2::unmaskVetoEventIndex().
|
static |
Referenced by Mantid::DataHandling::LoadPreNexusMonitors::init().
|
staticconstexpr |
Definition at line 17 of file LoadNGEM.h.
Referenced by Mantid::DataHandling::CoincidenceEvent::check(), Mantid::DataHandling::GenericEvent::check(), and Mantid::DataHandling::T0FrameEvent::check().
|
static |
Conversion factor between picoColumbs and microAmp*hours.
Definition at line 85 of file LoadEventPreNexus2.cpp.
Referenced by Mantid::DataHandling::LoadEventPreNexus2::readPulseidFile().
|
static |
All pixel ids with matching this mask are errors.
Definition at line 79 of file LoadEventPreNexus2.cpp.
Referenced by Mantid::DataHandling::LoadEventPreNexus2::procEventsLinear().
|
static |
Definition at line 89 of file LoadEventPreNexus2.cpp.
Referenced by generatePulseidName(), Mantid::DataHandling::LoadEventPreNexus2::init(), and Mantid::DataHandling::LoadEventPreNexus2::runLoadInstrument().
|
staticconstexpr |
Definition at line 18 of file LoadNGEM.h.
Referenced by Mantid::DataHandling::GenericEvent::check().
| const std::vector<std::string> Mantid::DataHandling::EVENT_NEXUS_EXT = {"_event.nxs", ".nxs", ".nxs.h5"} |
Valid extensions for event nexus files.
Definition at line 37 of file DetermineChunking.cpp.
Referenced by Mantid::DataHandling::DetermineChunking::getFileType(), and Mantid::DataHandling::DetermineChunking::init().
|
static |
Definition at line 36 of file PatchBBY.cpp.
Referenced by Mantid::DataHandling::PatchBBY::exec(), and Mantid::DataHandling::PatchBBY::init().
|
static |
Definition at line 55 of file LoadBBY.cpp.
Referenced by Mantid::DataHandling::LoadBBY::exec(), Mantid::DataHandling::LoadEMUTar::exec(), Mantid::DataHandling::LoadEMUHdf::exec(), Mantid::DataHandling::LoadPLN::exec(), Mantid::DataHandling::PatchBBY::exec(), Mantid::DataHandling::LoadEMU< FD >::exec(), Mantid::DataHandling::LoadPLN::exec(), Mantid::DataHandling::LoadBBY2::execLoader(), Mantid::DataHandling::LoadBBY::init(), Mantid::DataHandling::LoadBBY2::init(), Mantid::DataHandling::LoadPLN::init(), Mantid::DataHandling::PatchBBY::init(), and Mantid::DataHandling::LoadEMU< FD >::init().
|
static |
Definition at line 64 of file LoadBBY2.cpp.
|
static |
Definition at line 35 of file PatchBBY.cpp.
|
static |
Definition at line 61 of file LoadBBY.cpp.
Referenced by Mantid::DataHandling::LoadBBY::exec(), Mantid::DataHandling::LoadEMU< FD >::exec(), Mantid::DataHandling::LoadPLN::exec(), Mantid::DataHandling::LoadBBY2::execLoader(), Mantid::DataHandling::LoadBBY::init(), Mantid::DataHandling::LoadBBY2::init(), Mantid::DataHandling::LoadPLN::init(), and Mantid::DataHandling::LoadEMU< FD >::init().
|
static |
Definition at line 70 of file LoadBBY2.cpp.
|
static |
Definition at line 62 of file LoadBBY.cpp.
Referenced by Mantid::DataHandling::LoadBBY::exec(), Mantid::DataHandling::LoadEMU< FD >::exec(), Mantid::DataHandling::LoadPLN::exec(), Mantid::DataHandling::LoadBBY2::execLoader(), Mantid::DataHandling::LoadBBY::init(), Mantid::DataHandling::LoadBBY2::init(), Mantid::DataHandling::LoadPLN::init(), and Mantid::DataHandling::LoadEMU< FD >::init().
|
static |
Definition at line 71 of file LoadBBY2.cpp.
|
static |
Definition at line 59 of file LoadBBY.cpp.
Referenced by Mantid::DataHandling::LoadBBY::exec(), Mantid::DataHandling::LoadBBY2::execLoader(), Mantid::DataHandling::LoadBBY::init(), and Mantid::DataHandling::LoadBBY2::init().
|
static |
Definition at line 68 of file LoadBBY2.cpp.
|
static |
Definition at line 58 of file LoadBBY.cpp.
Referenced by Mantid::DataHandling::LoadBBY::exec(), Mantid::DataHandling::LoadBBY2::execLoader(), Mantid::DataHandling::LoadBBY::init(), and Mantid::DataHandling::LoadBBY2::init().
|
static |
Definition at line 67 of file LoadBBY2.cpp.
| const char Mantid::DataHandling::FLOAT32 = 'f' |
Definition at line 45 of file LoadSpiceXML2DDet.cpp.
Referenced by Mantid::DataHandling::SpiceXMLNode::isDouble(), and Mantid::DataHandling::SpiceXMLNode::setParameters().
| Kernel::Logger Mantid::DataHandling::g_log("LoadCSNSNexus") | ( | "LoadCSNSNexus" | ) |
|
static |
Definition at line 48 of file LoadBBY.cpp.
Referenced by Mantid::DataHandling::PLN::EventProcessor::addEvent(), Mantid::DataHandling::LoadBBY::createRoiVector(), Mantid::DataHandling::LoadBBY2::createRoiVector(), Mantid::DataHandling::LoadEMU< FD >::createRoiVector(), Mantid::DataHandling::LoadPLN::createRoiVector(), Mantid::DataHandling::LoadBBY::exec(), Mantid::DataHandling::LoadPLN::exec(), Mantid::DataHandling::LoadBBY2::execLoader(), and Mantid::DataHandling::LoadBBY::loadEvents().
|
static |
Definition at line 57 of file LoadBBY2.cpp.
|
static |
Definition at line 49 of file LoadBBY.cpp.
Referenced by Mantid::DataHandling::LoadBBY::createRoiVector(), Mantid::DataHandling::LoadBBY2::createRoiVector(), Mantid::DataHandling::LoadBBY::exec(), Mantid::DataHandling::LoadBBY2::execLoader(), Mantid::DataHandling::LoadBBY::loadEvents(), and loadEvents().
|
static |
Definition at line 58 of file LoadBBY2.cpp.
| const std::vector<std::string> Mantid::DataHandling::HISTO_NEXUS_EXT = {"_histo.nxs"} |
Valid extensions for histogram nexus files.
Definition at line 39 of file DetermineChunking.cpp.
Referenced by Mantid::DataHandling::DetermineChunking::getFileType(), and Mantid::DataHandling::DetermineChunking::init().
|
static |
Definition at line 34 of file PatchBBY.cpp.
Referenced by Mantid::DataHandling::PatchBBY::exec().
| const char Mantid::DataHandling::INT32 = 'i' |
Definition at line 46 of file LoadSpiceXML2DDet.cpp.
Referenced by Mantid::DataHandling::SpiceXMLNode::isInteger(), and Mantid::DataHandling::SpiceXMLNode::setParameters().
|
static |
Definition at line 37 of file PatchBBY.cpp.
Referenced by Mantid::DataHandling::PatchBBY::exec(), and Mantid::DataHandling::PatchBBY::init().
|
static |
Definition at line 56 of file LoadBBY2.cpp.
Referenced by Mantid::DataHandling::LoadBBY2::createInstrument().
|
static |
Definition at line 56 of file LoadBBY.cpp.
Referenced by Mantid::DataHandling::LoadBBY::exec(), Mantid::DataHandling::LoadEMU< FD >::exec(), Mantid::DataHandling::LoadPLN::exec(), Mantid::DataHandling::LoadBBY2::execLoader(), Mantid::DataHandling::LoadBBY::init(), Mantid::DataHandling::LoadBBY2::init(), Mantid::DataHandling::LoadPLN::init(), and Mantid::DataHandling::LoadEMU< FD >::init().
|
static |
Definition at line 65 of file LoadBBY2.cpp.
| const unsigned int Mantid::DataHandling::MAX_BUFFER_BYTES_SIZE = 1500 |
Definition at line 70 of file LoadDNSEvent.cpp.
Referenced by Mantid::DataHandling::LoadDNSEvent::split_File().
|
static |
The maximum possible tof as native type.
Definition at line 81 of file LoadEventPreNexus2.cpp.
Referenced by Mantid::DataHandling::LoadEventPreNexus2::procEvents(), and Mantid::DataHandling::LoadEventPreNexus2::procEventsLinear().
| const size_t Mantid::DataHandling::NUM_AXES = 6 |
How many axes (max) to define.
Definition at line 30 of file RotateSampleShape.cpp.
Referenced by Mantid::DataHandling::RotateSampleShape::init(), and Mantid::DataHandling::RotateSampleShape::prepareGoniometerAxes().
|
static |
Definition at line 94 of file LoadEventPreNexus2.cpp.
Referenced by generatePulseidName(), Mantid::DataHandling::LoadEventPreNexus2::init(), and Mantid::DataHandling::LoadEventPreNexus2::runLoadInstrument().
|
static |
set to the number of numbers on each line (the length of lines is hard-coded in other parts of the code too)
Definition at line 76 of file SaveSPE.cpp.
Referenced by Mantid::DataHandling::SaveSPE::writeBins(), Mantid::DataHandling::SaveSPE::writeHists(), Mantid::DataHandling::SaveSPE::writeSPEFile(), and Mantid::DataHandling::SaveSPE::writeValue().
|
static |
Definition at line 38 of file PatchBBY.cpp.
Referenced by Mantid::DataHandling::PatchBBY::exec(), and Mantid::DataHandling::PatchBBY::init().
| const unsigned int Mantid::DataHandling::PIXEL_PER_TUBE = 1024 |
Definition at line 71 of file LoadDNSEvent.cpp.
Referenced by Mantid::DataHandling::LoadDNSEvent::exec().
| const std::vector<std::string> Mantid::DataHandling::PRENEXUS_EXT = {"_runinfo.xml"} |
Valid extensions for prenexus files.
Definition at line 35 of file DetermineChunking.cpp.
Referenced by Mantid::DataHandling::DetermineChunking::getFileType(), and Mantid::DataHandling::DetermineChunking::init().
|
static |
Definition at line 51 of file LoadBBY.cpp.
Referenced by Mantid::DataHandling::LoadBBY::loadEvents(), Mantid::DataHandling::EMU::loadEvents(), Mantid::DataHandling::PLN::loadEvents(), and loadEvents().
|
static |
Definition at line 60 of file LoadBBY2.cpp.
|
static |
Definition at line 52 of file LoadBBY.cpp.
Referenced by Mantid::DataHandling::LoadBBY::exec(), Mantid::DataHandling::LoadEMU< FD >::exec(), Mantid::DataHandling::LoadPLN::exec(), and Mantid::DataHandling::LoadBBY2::execLoader().
|
static |
Definition at line 61 of file LoadBBY2.cpp.
|
static |
Definition at line 53 of file LoadBBY.cpp.
Referenced by Mantid::DataHandling::LoadBBY::exec(), Mantid::DataHandling::LoadEMU< FD >::exec(), Mantid::DataHandling::LoadPLN::exec(), and Mantid::DataHandling::LoadBBY2::execLoader().
|
static |
Definition at line 62 of file LoadBBY2.cpp.
|
static |
Definition at line 92 of file LoadEventPreNexus2.cpp.
Referenced by generatePulseidName(), and Mantid::DataHandling::LoadEventPreNexus2::init().
|
constexpr |
Definition at line 170 of file FindDetectorsPar.cpp.
Referenced by Mantid::Crystal::FindSXPeaksHelper::AbsoluteCompareStrategy::AbsoluteCompareStrategy(), Mantid::DataHandling::AvrgDetector::addDetInfo(), Mantid::Kernel::Quat::getEulerAngles(), Mantid::Kernel::V3D::getSpherical(), Mantid::DataHandling::FindDetectorsPar::populate_values_from_file(), and Mantid::DataHandling::SaveAscii2::populateAngleMetaData().
| const std::vector<std::string> Mantid::DataHandling::RAW_EXT = {".raw"} |
Valid extensions for ISIS raw files.
Definition at line 41 of file DetermineChunking.cpp.
Referenced by Mantid::DataHandling::DetermineChunking::getFileType(), and Mantid::DataHandling::DetermineChunking::init().
|
static |
Definition at line 78 of file LoadBBY2.cpp.
Referenced by Mantid::DataHandling::LoadBBY2::loadInstrumentParameters().
| const char Mantid::DataHandling::STRING = 's' |
Definition at line 44 of file LoadSpiceXML2DDet.cpp.
Referenced by Mantid::Crystal::LoadIsawSpectrum::exec(), and Mantid::DataHandling::SpiceXMLNode::isString().
|
static |
Conversion factor between 100 nanoseconds and 1 microsecond.
Definition at line 83 of file LoadEventPreNexus2.cpp.
Referenced by Mantid::DataHandling::LoadEventPreNexus2::procEventsLinear().
|
static |
Definition at line 73 of file LoadBBY2.cpp.
Referenced by Mantid::DataHandling::LoadBBY2::execLoader(), and Mantid::DataHandling::LoadBBY2::init().