Class SpectrTFile

java.lang.Object
  extended by SpectrTFile

 class SpectrTFile
extends java.lang.Object

This class defines spectr.t data.


Constructor Summary
SpectrTFile(java.lang.String cname)
          Construct a new SpectrTFile.
 
Method Summary
 int getNbxy()
          Get number of data points.
 double[] getX()
          Get X array.
 double[] getY()
          Get Y array.
 boolean read()
          Read file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpectrTFile

public SpectrTFile(java.lang.String cname)
Construct a new SpectrTFile.
(TDS, C3vsTDS, D2hStark or HITRAN format)

Parameters:
cname - name of the file
Method Detail

read

public boolean read()
Read file.
validity is tested following FORMAT : 1022 of spect.f, 1000 of spech.f, 1024 of spects.f


getNbxy

public int getNbxy()
Get number of data points.


getX

public double[] getX()
Get X array.


getY

public double[] getY()
Get Y array.