Class OdesSpectrum
java.lang.Object
|
+----OdesDiagnostics
|
+----OdesSpectrum
- public class OdesSpectrum
- extends OdesDiagnostics
Poswer spectrum diagnostics for Odes
- Version:
- 24 October 1997
- Author:
- Michael Cross
-
FFTskip
- number of iterations between each point for power spectrum
-
fourierData
- data for power spectrum
-
fourierIndex
- index of point added to FFT
-
fourierLength
- Number of points in FFT
-
ncurve1
- index of first data curve
-
nplot
- updated number of points in plot
-
skip
- number of iterations since last FFT
-
winNum
- window type in power spectrum
-
xp
- copy of x
-
xTitle
-
-
yTitle
-
-
OdesSpectrum(Odes)
-
-
iterate()
- Iterates ODEs and updates graph
-
process(double[], int)
- process data
-
restart()
- Restarts
-
setDefaults()
- Sets default values of parameters depending on plot type
-
setDelay(int)
- Sets delay for movie iteration
-
updateParameters()
- Updates parameters from the text controls in parent class
nplot
int nplot
- updated number of points in plot
ncurve1
int ncurve1
- index of first data curve
xp
double xp[]
- copy of x
fourierLength
int fourierLength
- Number of points in FFT
fourierIndex
int fourierIndex
- index of point added to FFT
fourierData
double fourierData[]
- data for power spectrum
winNum
int winNum
- window type in power spectrum
FFTskip
int FFTskip
- number of iterations between each point for power spectrum
skip
int skip
- number of iterations since last FFT
xTitle
String xTitle
yTitle
String yTitle
OdesSpectrum
public OdesSpectrum(Odes inParent)
- Parameters:
- inParent - parent class
- See Also:
- Map1D
updateParameters
public void updateParameters()
- Updates parameters from the text controls in parent class
- Overrides:
- updateParameters in class OdesDiagnostics
restart
public boolean restart()
- Restarts
- Overrides:
- restart in class OdesDiagnostics
iterate
public boolean iterate()
- Iterates ODEs and updates graph
- Returns:
- true if iteration successful
- Overrides:
- iterate in class OdesDiagnostics
setDefaults
public void setDefaults()
- Sets default values of parameters depending on plot type
- Overrides:
- setDefaults in class OdesDiagnostics
setDelay
public void setDelay(int inDelay)
- Sets delay for movie iteration
- Overrides:
- setDelay in class OdesDiagnostics
process
int process(double x[],
int nplot)
- process data
- Parameters:
- x - variable
- data - for plotting
- nplot - number of points indata
- Returns:
- nplot new number of points in data