peakml.io.dac
Class DACSpectrum

java.lang.Object
  extended by peakml.io.dac.DACSpectrum

public class DACSpectrum
extends java.lang.Object


Constructor Summary
DACSpectrum()
           
 
Method Summary
 double[] getIntensities()
           
 double[] getMasses()
           
 int getNumPeaks()
           
 int open(java.lang.String filename, int functionnr, int processnr, int scannr)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DACSpectrum

public DACSpectrum()
Method Detail

open

public int open(java.lang.String filename,
                int functionnr,
                int processnr,
                int scannr)
Parameters:
filename - The file to open.
functionnr - The function to open.
Returns:
RTCODE_SUCCESS when all is ok, RTCODE_FILE_NOT_FOUND when the file is not found.

getNumPeaks

public int getNumPeaks()

getMasses

public double[] getMasses()

getIntensities

public double[] getIntensities()

toString

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