com.compomics.util.experiment.massspectrometry
Class MS1Spectrum

java.lang.Object
  extended by com.compomics.util.experiment.personalization.ExperimentObject
      extended by com.compomics.util.experiment.massspectrometry.Spectrum
          extended by com.compomics.util.experiment.massspectrometry.MS1Spectrum
All Implemented Interfaces:
Serializable, Cloneable

public class MS1Spectrum
extends Spectrum

This class models an MS1 spectrum. Created by IntelliJ IDEA. User: Marc Date: Jun 18, 2010 Time: 9:04:58 AM

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.compomics.util.experiment.massspectrometry.Spectrum
fileName, level, peakList, scanNumber, scanStartTime, SPECTRUM_KEY_SPLITTER, spectrumTitle
 
Constructor Summary
MS1Spectrum()
          Constructor for an MS1 spectrum
MS1Spectrum(String fileName, String spectrumTitle, double scanStartTime, HashMap<Double,Peak> spectrum)
          constructor for an MS1 spectrum
 
Method Summary
 void removePeakList()
          This method will remove the peak list in order to reduce memory consumption of the model.
 
Methods inherited from class com.compomics.util.experiment.massspectrometry.Spectrum
addPeak, getFileName, getIntensityLimit, getIntensityValuesAsArray, getJFreePeakList, getLevel, getMaxIntensity, getMaxMz, getMinMz, getMzAndIntensityAsArray, getMzValuesAsArray, getPeakList, getPeakMap, getPeaksAboveIntensityThreshold, getRecalibratedPeakList, getScanNumber, getScanStartTime, getSpectrumFile, getSpectrumKey, getSpectrumKey, getSpectrumTitle, getSpectrumTitle, getTotalIntensity, setPeakList, setPeaks, setScanNumber, setScanStartTime, setSpectrumTitle
 
Methods inherited from class com.compomics.util.experiment.personalization.ExperimentObject
addUrParam, getParameterKey, getUrParam
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MS1Spectrum

public MS1Spectrum()
Constructor for an MS1 spectrum


MS1Spectrum

public MS1Spectrum(String fileName,
                   String spectrumTitle,
                   double scanStartTime,
                   HashMap<Double,Peak> spectrum)
constructor for an MS1 spectrum

Parameters:
spectrumTitle - title of the spectrum
spectrum - Set of peaks
fileName - name of the file
scanStartTime - scan start time
Method Detail

removePeakList

public void removePeakList()
Description copied from class: Spectrum
This method will remove the peak list in order to reduce memory consumption of the model.

Overrides:
removePeakList in class Spectrum


Copyright © 2013. All Rights Reserved.