|
Mantid
|
#include "MantidKernel/Unit.h"#include "MantidKernel/Logger.h"#include "MantidKernel/PhysicalConstants.h"#include "MantidKernel/UnitFactory.h"#include "MantidKernel/UnitLabelTypes.h"#include <cfloat>#include <limits>#include <math.h>#include <sstream>Go to the source code of this file.
Namespaces | |
| namespace | Mantid |
| Helper class which provides the Collimation Length for SANS instruments. | |
| namespace | Mantid::Kernel |
| namespace | Mantid::Kernel::Units |
| The namespace for concrete units classes. | |
Functions | |
| MANTID_KERNEL_DLL double | Mantid::Kernel::Units::calculateDIFCCorrection (const double l1, const double l2, const double twotheta, const double offset, const double binWidth) |
| Calculate DIFC in case of logarithmic binning, used in CalculateDIFC with Signed mode. | |
| MANTID_KERNEL_DLL double | Mantid::Kernel::Units::timeConversionValue (const std::string &input_unit, const std::string &output_unit) |
| MANTID_KERNEL_DLL double | Mantid::Kernel::Units::tofToDSpacingFactor (const double l1, const double l2, const double twoTheta, const double offset) |
| Calculate and return conversion factor from tof to d-spacing. | |
Variables | |
| const double | Mantid::Kernel::Units::H_OVER_NEUTRON_MASS = (PhysicalConstants::h * 1e10) / (2.0 * PhysicalConstants::NeutronMass * 1e6) |
| const double | Mantid::Kernel::Units::NEUTRON_MASS_OVER_H = (PhysicalConstants::NeutronMass * 1e6) / (PhysicalConstants::h * 1e10) |