Class PredmixTFile

java.lang.Object
  extended by PredmixTFile

 class PredmixTFile
extends java.lang.Object

This class defines prediction_mix.t data.


Constructor Summary
PredmixTFile(java.lang.String cname)
          Constructs a new PredmixTFile.
 
Method Summary
 int[] getComp()
          Get comp array.
 java.lang.String[] getJsyn()
          Get jsyn array.
 int getNbxy()
          Get number of data points.
 int getNsv()
          Get sublevel of a given valid transition (eq_*)
 java.lang.String getNtfile()
          Get ntfile.
 java.lang.String[] getSmark()
          Get smark array.
 double[] getX()
          Get X array.
 int getXnbtrans()
          Get nb of valid transitions (xpafit)
 int getXnsv(java.lang.String cntrans)
          Get sublevel of a given valid transition (xpafit)
 java.lang.String[] getXntrans()
          Get name of valid transitions (xpafit)
 double[] getY()
          Get Y array.
 boolean isFreqFile()
          is it a freq (not int) Pred_mix file
 boolean isXfile()
          is it a xpafit (not eq_*.f) Pred_mix file
 boolean read(java.lang.String cntrans, int[] climsup, int[] climinf)
          Read file.
 boolean readHeader()
          read file header
 void setPlotFreq()
          Set plot type to Freq
 void setPlotInt()
          Set plot type to Int
 void setPlotJinf()
          Set plot type to Jinf
 void setPlotJsup()
          Set plot type to Jsup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PredmixTFile

public PredmixTFile(java.lang.String cname)
Constructs a new PredmixTFile.
(EQ_TDS, EQ_INT, XWF or XWS format)

Parameters:
cname - name of the file
Method Detail

readHeader

public boolean readHeader()
read file header


read

public boolean read(java.lang.String cntrans,
                    int[] climsup,
                    int[] climinf)
Read file.
validity is tested following FORMAT of eq_tds.f, eq_int.f, xwf.f and xws.f
in particular 2005 and 2006 FORMAT.


getNbxy

public int getNbxy()
Get number of data points.


getX

public double[] getX()
Get X array.


getY

public double[] getY()
Get Y array.


getSmark

public java.lang.String[] getSmark()
Get smark array.


getJsyn

public java.lang.String[] getJsyn()
Get jsyn array.


getComp

public int[] getComp()
Get comp array.


getNtfile

public java.lang.String getNtfile()
Get ntfile.


isFreqFile

public boolean isFreqFile()
is it a freq (not int) Pred_mix file


isXfile

public boolean isXfile()
is it a xpafit (not eq_*.f) Pred_mix file


getXnbtrans

public int getXnbtrans()
Get nb of valid transitions (xpafit)


getXntrans

public java.lang.String[] getXntrans()
Get name of valid transitions (xpafit)


getNsv

public int getNsv()
Get sublevel of a given valid transition (eq_*)


getXnsv

public int getXnsv(java.lang.String cntrans)
Get sublevel of a given valid transition (xpafit)


setPlotJinf

public void setPlotJinf()
Set plot type to Jinf


setPlotJsup

public void setPlotJsup()
Set plot type to Jsup


setPlotFreq

public void setPlotFreq()
Set plot type to Freq


setPlotInt

public void setPlotInt()
Set plot type to Int