MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / getRefMZ

Method getRefMZ

src/openms/source/DATASTRUCTURES/CalibrationData.cpp:114–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 }
113
114 CalibrationData::CalDataType::CoordinateType CalibrationData::getRefMZ( Size i ) const
115 {
116 if (!data_[i].metaValueExists("mz_ref"))
117 {
118 throw Exception::InvalidParameter(__FILE__, __LINE__, OPENMS_PRETTY_FUNCTION,
119 "getRefMz() received invalid point without meta data!");
120 }
121
122 return data_[i].getMetaValue("mz_ref");
123 }
124
125 CalibrationData::CalDataType::CoordinateType CalibrationData::getWeight( Size i ) const
126 {

Callers 3

trainMethod · 0.80
calibrateMethod · 0.80

Calls 2

metaValueExistsMethod · 0.80
getMetaValueMethod · 0.80

Tested by

no test coverage detected