org.epics.pvmanager.sim
Class Gaussian
java.lang.Object
org.epics.pvmanager.sim.Gaussian
public class Gaussian
- extends Object
Function to simulate a signal that has a gaussian distribution. The warning
limits are set above the standard deviation and the alarm above two times
the standard deviation. The total range is 4 times the standard deviation.
All values are going to have no alarm status, with the timestamp set at the
moment the sample was generated.
- Author:
- carcassi
Constructor Summary |
Gaussian()
Creates a signal with a normal distribution (average zero and
standard deviation one), updating every 100ms (10Hz). |
Gaussian(Double average,
Double stdDev,
Double interval)
Creates a signal with a gaussian distribution, updating at the rate
specified. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Gaussian
public Gaussian()
- Creates a signal with a normal distribution (average zero and
standard deviation one), updating every 100ms (10Hz).
Gaussian
public Gaussian(Double average,
Double stdDev,
Double interval)
- Creates a signal with a gaussian distribution, updating at the rate
specified.
- Parameters:
average
- average of the gaussian distributionstdDev
- standard deviation of the gaussian distributioninterval
- time between samples in seconds
Copyright © 2011. All Rights Reserved.