Package net.sf.mzmine.data.impl

Examples of net.sf.mzmine.data.impl.SimpleIsotopePattern


          peakMZRange, peakIntensityRange);

      peak.setCharge(currentPeakCharge);

      if (currentIsotopes.size() > 0) {
        SimpleIsotopePattern newPattern = new SimpleIsotopePattern(
            currentIsotopes.toArray(new DataPoint[0]),
            currentIsotopePatternStatus,
            currentIsotopePatternDescription);
        peak.setIsotopePattern(newPattern);
        currentIsotopes.clear();
View Full Code Here


          peakMZRange, peakIntensityRange);

      peak.setCharge(currentPeakCharge);

      if (currentIsotopes.size() > 0) {
        SimpleIsotopePattern newPattern = new SimpleIsotopePattern(
            currentIsotopes.toArray(new DataPoint[0]),
            currentIsotopePatternStatus,
            currentIsotopePatternDescription);
        peak.setIsotopePattern(newPattern);
        currentIsotopes.clear();
View Full Code Here

      for (int i = 0; i < isotopes.length; i++) {
        ChromatographicPeak p = originalPeaks[i];
        isotopes[i] = new SimpleDataPoint(p.getMZ(), p.getHeight());

      }
      SimpleIsotopePattern newPattern = new SimpleIsotopePattern(
          isotopes, IsotopePatternStatus.DETECTED, aPeak.toString());

      // Depending on user's choice, we leave either the most intenst, or
      // the lowest m/z peak
      if (chooseMostIntense) {
View Full Code Here

          peakMZRange, peakIntensityRange);

      peak.setCharge(currentPeakCharge);

      if (currentIsotopes.size() > 0) {
        SimpleIsotopePattern newPattern = new SimpleIsotopePattern(
            currentIsotopes.toArray(new DataPoint[0]),
            currentIsotopePatternStatus,
            currentIsotopePatternDescription);
        peak.setIsotopePattern(newPattern);
        currentIsotopes.clear();
View Full Code Here

    }

    String formulaString = MolecularFormulaManipulator
        .getString(cdkFormula);

    SimpleIsotopePattern newPattern = new SimpleIsotopePattern(dataPoints,
        IsotopePatternStatus.PREDICTED, formulaString);

    return newPattern;

  }
View Full Code Here

          * normalizedValue;

      newDataPoints[i] = new SimpleDataPoint(mz, intensity);
    }

    SimpleIsotopePattern newPattern = new SimpleIsotopePattern(
        newDataPoints, pattern.getStatus(), pattern.getDescription());

    return newPattern;

  }
View Full Code Here

    for (DataPoint dp : dataPoints) {
      if (dp != null)
        newDataPoints.add(dp);
    }

    SimpleIsotopePattern newPattern = new SimpleIsotopePattern(
        newDataPoints.toArray(new DataPoint[0]), pattern.getStatus(),
        pattern.getDescription());

    return newPattern;
View Full Code Here

TOP

Related Classes of net.sf.mzmine.data.impl.SimpleIsotopePattern

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.