| 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 | { |
no test coverage detected