Class GaussianNoise

java.lang.Object
org.yamcs.studio.data.sim.SimFunction<VDouble>
org.yamcs.studio.data.sim.GaussianNoise

public class GaussianNoise extends SimFunction<VDouble>
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.
  • Constructor Details

    • GaussianNoise

      public GaussianNoise()
      Creates a signal with a normal distribution (average zero and standard deviation one), updating every 100ms (10Hz).
    • GaussianNoise

      public GaussianNoise(Double average, Double stdDev, Double interval)
      Creates a signal with a gaussian distribution, updating at the rate specified.
      Parameters:
      average - average of the gaussian distribution
      stdDev - standard deviation of the gaussian distribution
      interval - time between samples in seconds