Class OdesSpectrum

java.lang.Object
   |
   +----OdesDiagnostics
           |
           +----OdesSpectrum

public class OdesSpectrum
extends OdesDiagnostics
Poswer spectrum diagnostics for Odes

Version:
24 October 1997
Author:
Michael Cross

Variable Index

 o FFTskip
number of iterations between each point for power spectrum
 o fourierData
data for power spectrum
 o fourierIndex
index of point added to FFT
 o fourierLength
Number of points in FFT
 o ncurve1
index of first data curve
 o nplot
updated number of points in plot
 o skip
number of iterations since last FFT
 o winNum
window type in power spectrum
 o xp
copy of x
 o xTitle
 o yTitle

Constructor Index

 o OdesSpectrum(Odes)

Method Index

 o iterate()
Iterates ODEs and updates graph
 o process(double[], int)
process data
 o restart()
Restarts
 o setDefaults()
Sets default values of parameters depending on plot type
 o setDelay(int)
Sets delay for movie iteration
 o updateParameters()
Updates parameters from the text controls in parent class

Variables

 o nplot
 int nplot
updated number of points in plot

 o ncurve1
 int ncurve1
index of first data curve

 o xp
 double xp[]
copy of x

 o fourierLength
 int fourierLength
Number of points in FFT

 o fourierIndex
 int fourierIndex
index of point added to FFT

 o fourierData
 double fourierData[]
data for power spectrum

 o winNum
 int winNum
window type in power spectrum

 o FFTskip
 int FFTskip
number of iterations between each point for power spectrum

 o skip
 int skip
number of iterations since last FFT

 o xTitle
 String xTitle
 o yTitle
 String yTitle

Constructors

 o OdesSpectrum
 public OdesSpectrum(Odes inParent)
Parameters:
inParent - parent class
See Also:
Map1D

Methods

 o updateParameters
 public void updateParameters()
Updates parameters from the text controls in parent class

Overrides:
updateParameters in class OdesDiagnostics
 o restart
 public boolean restart()
Restarts

Overrides:
restart in class OdesDiagnostics
 o iterate
 public boolean iterate()
Iterates ODEs and updates graph

Returns:
true if iteration successful
Overrides:
iterate in class OdesDiagnostics
 o setDefaults
 public void setDefaults()
Sets default values of parameters depending on plot type

Overrides:
setDefaults in class OdesDiagnostics
 o setDelay
 public void setDelay(int inDelay)
Sets delay for movie iteration

Overrides:
setDelay in class OdesDiagnostics
 o 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