Mantid
Loading...
Searching...
No Matches
Functions
Mantid::WorkflowAlgorithms::HFIRInstrument Namespace Reference

Functions

void getCoordinateFromPixel (const double &pixel_x, const double &pixel_y, const API::MatrixWorkspace_sptr &dataWS, double &x, double &y)
 
void getDefaultBeamCenter (const API::MatrixWorkspace_sptr &dataWS, double &pixel_x, double &pixel_y)
 
int getDetectorFromPixel (const int &pixel_x, const int &pixel_y, const API::MatrixWorkspace_sptr &dataWS)
 
void getPixelFromCoordinate (const double &x, const double &y, const API::MatrixWorkspace_sptr &dataWS, double &pixel_x, double &pixel_y)
 
double getSourceToSampleDistance (const API::MatrixWorkspace_sptr &dataWS)
 
double readInstrumentParameter (const std::string &parameter, const API::MatrixWorkspace_sptr &dataWS)
 File change history is stored at: https://github.com/mantidproject/mantid Code Documentation is available at: http://doxygen.mantidproject.org More...
 

Function Documentation

◆ getCoordinateFromPixel()

void Mantid::WorkflowAlgorithms::HFIRInstrument::getCoordinateFromPixel ( const double &  pixel_x,
const double &  pixel_y,
const API::MatrixWorkspace_sptr dataWS,
double &  x,
double &  y 
)

◆ getDefaultBeamCenter()

void Mantid::WorkflowAlgorithms::HFIRInstrument::getDefaultBeamCenter ( const API::MatrixWorkspace_sptr dataWS,
double &  pixel_x,
double &  pixel_y 
)

◆ getDetectorFromPixel()

int Mantid::WorkflowAlgorithms::HFIRInstrument::getDetectorFromPixel ( const int &  pixel_x,
const int &  pixel_y,
const API::MatrixWorkspace_sptr dataWS 
)

Definition at line 43 of file HFIRInstrument.cpp.

References UNUSED_ARG.

◆ getPixelFromCoordinate()

void Mantid::WorkflowAlgorithms::HFIRInstrument::getPixelFromCoordinate ( const double &  x,
const double &  y,
const API::MatrixWorkspace_sptr dataWS,
double &  pixel_x,
double &  pixel_y 
)

◆ getSourceToSampleDistance()

double Mantid::WorkflowAlgorithms::HFIRInstrument::getSourceToSampleDistance ( const API::MatrixWorkspace_sptr dataWS)

Definition at line 95 of file HFIRInstrument.cpp.

Referenced by Mantid::WorkflowAlgorithms::HFIRLoad::exec().

◆ readInstrumentParameter()

double Mantid::WorkflowAlgorithms::HFIRInstrument::readInstrumentParameter ( const std::string &  parameter,
const API::MatrixWorkspace_sptr dataWS 
)

File change history is stored at: https://github.com/mantidproject/mantid Code Documentation is available at: http://doxygen.mantidproject.org

Definition at line 33 of file HFIRInstrument.cpp.

Referenced by getCoordinateFromPixel(), and getPixelFromCoordinate().