|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.epics.pvmanager.sim.GaussianWaveform
public class GaussianWaveform
Function to simulate a waveform containing a gaussian that moves to the right.
Constructor Summary | |
---|---|
GaussianWaveform()
Creates a gaussian waveform with a normal distribution (average zero and standard deviation one), updating every 100ms (10Hz). |
|
GaussianWaveform(java.lang.Double stdDev,
java.lang.Double nSamples,
java.lang.Double interval)
Creates a gaussian waveform signal with a gaussian distribution, updating at the rate specified. |
Method Summary | |
---|---|
static double |
gaussian(double x,
double centerX,
double width)
1D gaussian, centered on centerX and with the specified width. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GaussianWaveform()
public GaussianWaveform(java.lang.Double stdDev, java.lang.Double nSamples, java.lang.Double interval)
stdDev
- standard deviation of the gaussian distributionnSamples
- number of elements in the waveforminterval
- time between samples in secondsMethod Detail |
---|
public static double gaussian(double x, double centerX, double width)
x
- coordinate xcenterX
- center of the gaussian on xwidth
- width of the gaussian in all directions
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |