Mathematical and physical constants namespace. More...
Mathematical and physical constants namespace.
This namespace contains definitions for some basic mathematical and physical constants. All constants are double precision.
There are basically two ways of accessing these constants:
double my_pi = OpenMS::Constants::PI using directive: using namespace OpenMS::Constants;
double my_pi = PI; | const double BOHR_RADIUS |
Bohr radius. In units m (
m).
Speed of Light (alias)
Referenced by ConsensusMap::convert(), OpenMS::Math::gcd(), Precursor::getUnchargedMass(), initModificationMassesRNA(), LayerStatisticsDialog::MetaStatsValue_::MetaStatsValue_(), IsotopeWaveletParallelFor< PeakType, FeatureType >::operator()(), LevMarqFitter1D::optimize_(), FeatureFinderAlgorithmPicked< PeakType, FeatureType >::run(), FeatureFinderAlgorithmIsotopeWavelet< PeakType, FeatureType >::run(), MzMLHandler< MapType >::writeTo(), and MzMLHandler< MapType >::writeUserParam_().
| const double C13C12_MASSDIFF_U |
C13C12 mass difference. In units (
u)
| const double CAL_PER_JOULE |
Calories per Joule. 1/JOULE_PER_CAL
| const int CUDA_BLOCK_SIZE_MAX = 256 |
| const int CUDA_BLOCKS_PER_GRID_MAX = 65535 |
| const int CUDA_ELEMENTS_GL = 2 |
| const int CUDA_ELEMENTS_MERGE = 1024 |
| const int CUDA_ELEMENTS_SORT = 512 |
| const int CUDA_EXTENDED_BLOCK_SIZE_MAX = 2039 |
| const int CUDA_INIT_FAIL = -1 |
| const int CUDA_INIT_SUCCESS = 1 |
| const int CUDA_MERGE_NUM = 0xFFFFFC00 |
| const int CUDA_MIN_SORT_SIZE = CUDA_ELEMENTS_SORT |
| const int CUDA_SORT_NUM = 0xFFFFFE00 |
| const int CUDA_TEXTURE_THREAD_LIMIT = 384 |
| const int CUDA_THREADS_GL = 256 |
| const int CUDA_THREADS_MERGE = (CUDA_ELEMENTS_MERGE >> 2) |
| const int CUDA_THREADS_SORT = (CUDA_ELEMENTS_SORT >> 2) |
| const double CUT_LAMBDA_BREAK_0_1 = 2739.4f |
| const double CUT_LAMBDA_BREAK_1_2 = 1.4187e+04f |
| const double CUT_LAMBDA_L_2_A = 5.7661e+00f |
| const double CUT_LAMBDA_L_2_B = 8.6301e-04f |
| const double CUT_LAMBDA_Q_0_A = 1.9498e+00f |
| const double CUT_LAMBDA_Q_0_B = 2.4244e-03f |
| const double CUT_LAMBDA_Q_0_C = -2.4183e-07f |
| const double CUT_LAMBDA_Q_1_A = 3.6870e+00f |
| const double CUT_LAMBDA_Q_1_B = 1.1561e-03f |
| const double CUT_LAMBDA_Q_1_C = -1.0329e-08f |
| const unsigned int DEFAULT_NUM_OF_INTERPOLATION_POINTS = 3 |
| const double DEG_PER_RAD |
Degree per rad. 57.2957795130823209
| const double ELECTRON_MASS |
Electron mass. In units of kg (
kg).
| const double ELECTRON_MASS_U |
Electron mass In units (
u).
| const double ELEMENTARY_CHARGE |
Elementary charge. In units of C (
).
Faraday constant (alias)
Referenced by LCMS::add_raw_spec_name_map().
Fine structure constant. Without unit (
).
| const double GAS_CONSTANT |
Gas constant (= NA * k)
Referenced by AAIndex::calculateGB().
| const double GRAVITATIONAL_CONSTANT |
Gravitational constant. In units of
(
).
Planck constant (alias)
Referenced by IDEvaluationBase::exportAsImage().
| const double IW_HALF_NEUTRON_MASS = 0.5043325f |
| const double IW_NEUTRON_MASS = 1.00866491578f |
| const double IW_PROTON_MASS = 1.00727646688f |
| const double IW_QUARTER_NEUTRON_MASS = 0.252166228f |
Referenced by IsotopeWaveletTransform< PeakType >::checkPositionForPlausibility_(), IsotopeWaveletTransform< PeakType >::getTransform(), IsotopeWaveletTransform< PeakType >::getTransformHighRes(), IsotopeWaveletTransform< PeakType >::identifyCharge(), IsotopeWaveletTransform< PeakType >::initializeScan(), and IsotopeWaveletTransform< PeakType >::mapSeeds2Features().
| const double JOULE_PER_CAL |
Joules per calorie. 4.184
Boltzmann constant (alias)
Referenced by EmgScoring::calcElutionFitScore(), FeatureFinderAlgorithmPicked< PeakType, FeatureType >::checkFeatureQuality_(), MRMTransitionGroupPicker::createMRMFeature(), FeatureFinderAlgorithmPicked< PeakType, FeatureType >::cropFeature_(), ChromatogramExtractor::extractChromatograms(), MzMLHandler< MapType >::fillChromatogramData_(), MzMLHandler< MapType >::fillData_(), TOPPRNPxl::main_(), IsotopeWaveletParallelFor< PeakType, FeatureType >::operator()(), TwoDOptimization::optimizeRegions_(), PeakPickerHiRes::pick(), MRMTransitionGroupPicker::pickTransitionGroup(), MRMTransitionGroupPicker::remove_overlapping_features(), DistanceMatrix< Value >::resize(), FeatureFinderAlgorithmPicked< PeakType, FeatureType >::run(), FeatureFinderAlgorithmIsotopeWavelet< PeakType, FeatureType >::run(), MRMFeatureFinderScoring::scorePeakgroups_(), ContinuousWaveletTransformNumIntegration::transform(), and FeatureFinderAlgorithmPicked< PeakType, FeatureType >::writeFeatureDebugInfo_().
| const double LAMBDA_L_0 = 0.120398590399013419f |
| const double LAMBDA_L_1 = 0.635926795694698589e-3f |
| const double M_PER_FOOT |
m per foot. 3.048
| const double MARR_WAVELET_CUTOFF = 4.f |
| const double MASS_EPSILON = 1e-4f |
| const double MM_PER_INCH |
mm per inch. 25.4
| const double NEUTRON_MASS |
Neutron mass. In units of kg (
kg).
| const double NEUTRON_MASS_U |
Neutron mass. In units (
u)
| const double PEPTIDE_MASS_RULE_BOUND = 1. / PEPTIDE_MASS_RULE_FACTOR |
Referenced by IsotopeWaveletTransform< PeakType >::peptideMassRule_().
| const double PEPTIDE_MASS_RULE_FACTOR = 0.000507f |
Referenced by IsotopeWaveletTransform< PeakType >::peptideMassRule_().
| const double PEPTIDE_MASS_RULE_THEO_PPM_BOUND = 200 |
Referenced by IsotopeWaveletTransform< PeakType >::checkPPMTheoModel_().
PI.
Referenced by SHFeature::get_FEATURE_PI(), and SHFeature::set_FEATURE_PI().
| const double PROTON_MASS |
Proton mass. In units of kg (
kg).
| const double PROTON_MASS_U |
Proton mass. In units (
u)
Referenced by Precursor::getUnchargedMass(), KroenikFile::load(), DTAFile::load(), TOPPRNPxl::main_(), and FeatureFinderAlgorithmPicked< PeakType, FeatureType >::run().
Gas constant (alias)
Referenced by AAIndex::calculateGB().
| const double RAD_PER_DEG |
Rad per degree. 0.0174532925199432957
| const int SHIFT23 = (1 << 23) |
| const double SHIFT23_00 = (1.0 / (1 << 23)) |
| const double SPEED_OF_LIGHT |
Speed of light. In units of m/s (
).
| const int TBB_NUM_OF_GPU_DEVICES = 2 |
| const double VACUUM_PERMEABILITY |
Vacuum permeability. In units of
(
).
| const double VACUUM_PERMITTIVITY |
Vacuum permittivity. In units of
(
).
| const double WAVELET_PERIODICITY = 6.229209734f |
| OpenMS / TOPP release 1.10.0 | Documentation generated on Thu Mar 7 2013 09:42:59 using doxygen 1.7.1 |