bio.ecg
Class EcgParam

java.lang.Object
  extended by bio.ecg.EcgParam

public class EcgParam
extends java.lang.Object

Author:
Mauricio Villarroel (m.villarroel@acm.og) Part of of this code was taken from the ECG C version

Constructor Summary
EcgParam()
          Creates a new instance of EcgParam
 
Method Summary
 boolean checkParameters()
           
 double getA(int index)
           
 double getAmplitude()
           
 double getANoise()
           
 double getB(int index)
           
 long getEcgAnimateInterval()
           
 double getFHi()
           
 double getFHiStd()
           
 double getFLo()
           
 double getFLoStd()
           
 double getHrMean()
           
 double getHrStd()
           
 double getLfHfRatio()
           
 int getN()
           
 int getPeriod()
           
 int getSeed()
           
 int getSf()
           
 int getSfEcg()
           
 double getTheta(int index)
           
 boolean isValid()
          Functions:
 void resetParameters()
           
 void setA(int index, double value)
           
 void setAmplitude(double value)
           
 void setANoise(double value)
           
 void setB(int index, double value)
           
 void setEcgAnimateInterval(long value)
           
 void setFHi(double value)
           
 void setFHiStd(double value)
           
 void setFLo(double value)
           
 void setFLoStd(double value)
           
 void setHrMean(double value)
           
 void setHrStd(double value)
           
 void setLfHfRatio(double value)
           
 void setN(int value)
          GLOBAL Set/Get Parameter Functions:
 void setPeriod(int value)
           
 void setSeed(int value)
           
 void setSf(int value)
           
 void setSfEcg(int value)
           
 void setTheta(int index, double value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EcgParam

public EcgParam()
Creates a new instance of EcgParam

Method Detail

setN

public void setN(int value)
GLOBAL Set/Get Parameter Functions:


getN

public int getN()

setHrStd

public void setHrStd(double value)

getHrStd

public double getHrStd()

setHrMean

public void setHrMean(double value)

getHrMean

public double getHrMean()

setLfHfRatio

public void setLfHfRatio(double value)

getLfHfRatio

public double getLfHfRatio()

setSfEcg

public void setSfEcg(int value)

getSfEcg

public int getSfEcg()

setSf

public void setSf(int value)

getSf

public int getSf()

setAmplitude

public void setAmplitude(double value)

getAmplitude

public double getAmplitude()

setSeed

public void setSeed(int value)

getSeed

public int getSeed()

setANoise

public void setANoise(double value)

getANoise

public double getANoise()

setPeriod

public void setPeriod(int value)

getPeriod

public int getPeriod()

setFLo

public void setFLo(double value)

getFLo

public double getFLo()

setFHi

public void setFHi(double value)

getFHi

public double getFHi()

setFLoStd

public void setFLoStd(double value)

getFLoStd

public double getFLoStd()

setFHiStd

public void setFHiStd(double value)

getFHiStd

public double getFHiStd()

setTheta

public void setTheta(int index,
                     double value)

getTheta

public double getTheta(int index)

setA

public void setA(int index,
                 double value)

getA

public double getA(int index)

setB

public void setB(int index,
                 double value)

getB

public double getB(int index)

setEcgAnimateInterval

public void setEcgAnimateInterval(long value)

getEcgAnimateInterval

public long getEcgAnimateInterval()

isValid

public boolean isValid()
Functions:


checkParameters

public boolean checkParameters()

resetParameters

public void resetParameters()