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

Method getError

src/openms/source/DATASTRUCTURES/CalibrationData.cpp:102–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100 }
101
102 CalibrationData::CalDataType::CoordinateType CalibrationData::getError( Size i ) const
103 {
104 if (use_ppm_)
105 {
106 return data_[i].getMetaValue("ppm_error");
107 }
108 else
109 {
110 return (data_[i].getMZ() - getRefMZ(i));
111 }
112 }
113
114 CalibrationData::CalDataType::CoordinateType CalibrationData::getRefMZ( Size i ) const
115 {

Callers 2

trainMethod · 0.80

Calls 2

getMetaValueMethod · 0.80
getMZMethod · 0.45

Tested by

no test coverage detected