Mantid
|
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 ¶meter, 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... | |
void Mantid::WorkflowAlgorithms::HFIRInstrument::getCoordinateFromPixel | ( | const double & | pixel_x, |
const double & | pixel_y, | ||
const API::MatrixWorkspace_sptr & | dataWS, | ||
double & | x, | ||
double & | y | ||
) |
Definition at line 52 of file HFIRInstrument.cpp.
References readInstrumentParameter(), Mantid::Geometry::x, and Mantid::Geometry::y.
Referenced by Mantid::WorkflowAlgorithms::HFIRLoad::moveToBeamCenter().
void Mantid::WorkflowAlgorithms::HFIRInstrument::getDefaultBeamCenter | ( | const API::MatrixWorkspace_sptr & | dataWS, |
double & | pixel_x, | ||
double & | pixel_y | ||
) |
Definition at line 84 of file HFIRInstrument.cpp.
References getPixelFromCoordinate().
Referenced by Mantid::WorkflowAlgorithms::HFIRLoad::exec(), and Mantid::WorkflowAlgorithms::HFIRLoad::moveToBeamCenter().
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.
void Mantid::WorkflowAlgorithms::HFIRInstrument::getPixelFromCoordinate | ( | const double & | x, |
const double & | y, | ||
const API::MatrixWorkspace_sptr & | dataWS, | ||
double & | pixel_x, | ||
double & | pixel_y | ||
) |
Definition at line 70 of file HFIRInstrument.cpp.
References readInstrumentParameter(), Mantid::Geometry::x, and Mantid::Geometry::y.
Referenced by Mantid::WorkflowAlgorithms::SANSBeamFinder::exec(), and getDefaultBeamCenter().
double Mantid::WorkflowAlgorithms::HFIRInstrument::getSourceToSampleDistance | ( | const API::MatrixWorkspace_sptr & | dataWS | ) |
Definition at line 95 of file HFIRInstrument.cpp.
Referenced by Mantid::WorkflowAlgorithms::HFIRLoad::exec().
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().