scanner.next();
int spectrumSize = scanner.nextInt();
DataPoint[] dataPoints = new DataPoint[spectrumSize];
for (int j = 0; j < spectrumSize; j++) {
dataPoints[j] = new SimpleDataPoint(scanner.nextDouble(),
scanner.nextDouble());
}
newMZmineFile.addScan(new SimpleScan(null, parsedScans + 1,
msLevel, retentionTime, -1, 0.0, charge, null,
dataPoints, ScanUtils.isCentroided(dataPoints)));