public static double getIonCoverage(DataPoint[] dataPoints,
Peptide peptide, SerieIonType ionType, double intensityThreshold) {
PeptideFragmentation fragmentation = peptide.getFragmentation();
FragmentIon[] fragmentIons = fragmentation.getFragmentIons(ionType);
PeptideIdentityDataFile peptideDataFile = peptide.getScan()
.getPeptideDataFile();
double fragmentIonMassErrorTol = peptideDataFile
.getFragmentIonMassErrorTolerance();
DataPoint[] matchedDataPoints = getMatchedIons(dataPoints,
fragmentIons, fragmentIonMassErrorTol, intensityThreshold);
double ionCoverage = calculateSerieCoverage(matchedDataPoints,