Mantid
|
Functions | |
MANTID_GEOMETRY_DLL double | tofToDSpacingFactor (const double l1, const double l2, const double twoTheta, const double offset) |
Calculate and return conversion factor from tof to d-spacing. More... | |
double MANTID_GEOMETRY_DLL | tofToDSpacingFactor (const double l1, const double l2, const double twoTheta, const std::vector< detid_t > &detectors, const std::map< detid_t, double > &offsets) |
double Mantid::Geometry::Conversion::tofToDSpacingFactor | ( | const double | l1, |
const double | l2, | ||
const double | twoTheta, | ||
const double | offset | ||
) |
Calculate and return conversion factor from tof to d-spacing.
l1 | |
l2 | |
twoTheta | scattering angle |
offset |
Definition at line 1326 of file Instrument.cpp.
References Mantid::Kernel::l2, Mantid::Kernel::Units::tofToDSpacingFactor(), and Mantid::Kernel::twoTheta.
Referenced by Mantid::Algorithms::calculateDIFC(), Mantid::DataHandling::SaveDspacemap::CalculateDspaceFromCal(), and Mantid::DataHandling::LoadDspacemap::CalculateOffsetsFromDSpacemapFile().