peakml.io.xrawfile
Class IXRawfile.Label

java.lang.Object
  extended by peakml.io.xrawfile.IXRawfile.Label
Enclosing class:
IXRawfile

public static class IXRawfile.Label
extends java.lang.Object

Central class for collecting the label data for a mass peak.


Constructor Summary
IXRawfile.Label(double mass, double intensity, double resolution, double baseline, double noise, int charge, boolean saturated, boolean fragmented, boolean merged, boolean exception, boolean reference, boolean modified)
          Standard constructor setting all the class members.
 
Method Summary
 double getBaseline()
          Returns the baseline.
 int getCharge()
          Returns the detected charge.
 boolean getException()
          Whether the peak was an exception (?).
 boolean getFragmented()
          Whether the peak was fragmented.
 double getIntensity()
          Returns the intensity.
 double getMass()
          Returns the mass.
 boolean getMerged()
          Whether the peak was merged.
 boolean getModified()
          Whether the peak was modified.
 double getNoise()
          Returns the noise-level.
 boolean getReference()
          Whether the peak has a reference (?).
 double getResolution()
          Returns the resolution.
 boolean getSaturated()
          Whether the peak was saturated.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IXRawfile.Label

public IXRawfile.Label(double mass,
                       double intensity,
                       double resolution,
                       double baseline,
                       double noise,
                       int charge,
                       boolean saturated,
                       boolean fragmented,
                       boolean merged,
                       boolean exception,
                       boolean reference,
                       boolean modified)
Standard constructor setting all the class members.

Parameters:
mass - The mass.
intensity - The intensity.
resolution - The resolution for this peak.
baseline - The baseline for this peak.
noise - The noise-level for this peak.
charge - The detected charge for this peak.
saturated - Whether the peak was saturated.
fragmented - Whether the peak was fragmented.
merged - Whether the peak was merged.
exception - Whether the peak was an exception (?).
reference - Whether the peak has a reference (?).
modified - Whether the peak was modified.
Method Detail

getMass

public double getMass()
Returns the mass.

Returns:
The mass.

getIntensity

public double getIntensity()
Returns the intensity.

Returns:
The intensity.

getResolution

public double getResolution()
Returns the resolution.

Returns:
The resolution.

getBaseline

public double getBaseline()
Returns the baseline.

Returns:
The baseline.

getNoise

public double getNoise()
Returns the noise-level.

Returns:
The noise level.

getCharge

public int getCharge()
Returns the detected charge.

Returns:
The charge.

getSaturated

public boolean getSaturated()
Whether the peak was saturated.

Returns:
True when saturated.

getFragmented

public boolean getFragmented()
Whether the peak was fragmented.

Returns:
True when fragmented.

getMerged

public boolean getMerged()
Whether the peak was merged.

Returns:
True when merged.

getException

public boolean getException()
Whether the peak was an exception (?).

Returns:
True when exception.

getReference

public boolean getReference()
Whether the peak has a reference (?).

Returns:
True when reference.

getModified

public boolean getModified()
Whether the peak was modified.

Returns:
True when modified.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object