Package net.sf.mzmine.project.impl

Examples of net.sf.mzmine.project.impl.StorableScan


        TreeMap<Integer, Integer> dataPointsLengths = newRawDataFile
            .getDataPointsLengths();
        if (!dataPointsOffsets.isEmpty())
          newStorageID = dataPointsOffsets.lastKey().intValue() + 1;

        StorableScan storableScan = new StorableScan(newRawDataFile,
            newStorageID, dataPointsNumber, scanNumber, msLevel,
            retentionTime, parentScan, precursorMZ,
            precursorCharge, fragmentScan, centroided);
        newRawDataFile.addScan(storableScan);
View Full Code Here


        TreeMap<Integer, Integer> dataPointsLengths = newRawDataFile
            .getDataPointsLengths();
        if (!dataPointsOffsets.isEmpty())
          newStorageID = dataPointsOffsets.lastKey().intValue() + 1;

        StorableScan storableScan = new StorableScan(newRawDataFile,
            newStorageID, dataPointsNumber, scanNumber, msLevel,
            retentionTime, parentScan, precursorMZ,
            precursorCharge, fragmentScan, centroided);
        newRawDataFile.addScan(storableScan);
View Full Code Here

          .parseInt(getTextOfElement());
    }

    if (qName.equals(RawDataElementName_2_5.SCAN.getElementName())) {

      StorableScan storableScan = new StorableScan(newRawDataFile,
          currentStorageID, dataPointsNumber, scanNumber, msLevel,
          retentionTime, parentScan, precursorMZ, precursorCharge,
          fragmentScan, centroided);

      try {
        newRawDataFile.addScan(storableScan);
      } catch (IOException e) {
        throw new SAXException(e);
      }

      for (StorableMassList newML : massLists) {
        newML.setScan(storableScan);
        storableScan.addMassList(newML);
      }
      massLists.clear();

    }
  }
View Full Code Here

    for (int scanNumber : rawDataFile.getScanNumbers()) {

      if (canceled)
        return;

      StorableScan scan = (StorableScan) rawDataFile.getScan(scanNumber);
      int storageID = scan.getStorageID();
      atts.addAttribute("", "",
          RawDataElementName.STORAGE_ID.getElementName(), "CDATA",
          String.valueOf(storageID));
      hd.startElement("", "", RawDataElementName.SCAN.getElementName(),
          atts);
View Full Code Here

    }

    if (qName.equals(RawDataElementName_2_5_FiehnlabFork.SCAN
        .getElementName())) {

      StorableScan scan = null;

      if (isCorrectedSpectrum) {
        scan = new CorrectedSpectrum(newRawDataFile, currentStorageID,
            scanNumber, originalRetentionTime,
            (int) retentionIndex, (int) uniqueMass,
            dataPointsNumber, centroided);
      } else {
        scan = new StorableScan(newRawDataFile, currentStorageID,
            dataPointsNumber, scanNumber, msLevel, retentionTime,
            parentScan, precursorMZ, precursorCharge, fragmentScan,
            centroided);
      }

      try {
        newRawDataFile.addScan(scan);
      } catch (IOException e) {
        throw new SAXException(e);
      }

      for (StorableMassList newML : massLists) {
        newML.setScan(scan);
        scan.addMassList(newML);
      }
      massLists.clear();
    }

    if (qName.equals(RawDataElementName_2_5_FiehnlabFork.CORRECTED_SPECTRUM
View Full Code Here

TOP

Related Classes of net.sf.mzmine.project.impl.StorableScan

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.