Package org.yamcs.studio.data.sim
Class NoiseWaveform
Function to simulate a waveform containing a uniformly distributed random data.
-
Field Summary
Fields inherited from class org.yamcs.studio.data.sim.SimFunction
lastTime
-
Constructor Summary
ConstructorDescriptionCreates a waveform with samples from a uniform distribution from -5 to 5, updating every second.NoiseWaveform
(Double min, Double max, Double interval) Creates a gaussian waveform signal with a gaussian distribution, updating at the rate specified.NoiseWaveform
(Double min, Double max, Double nSamples, Double interval) Creates a gaussian waveform signal with a gaussian distribution, updating at the rate specified. -
Method Summary
Methods inherited from class org.yamcs.studio.data.sim.SimFunction
createValues, getTimeBetweenSamples
-
Constructor Details
-
NoiseWaveform
public NoiseWaveform()Creates a waveform with samples from a uniform distribution from -5 to 5, updating every second. -
NoiseWaveform
Creates a gaussian waveform signal with a gaussian distribution, updating at the rate specified.- Parameters:
min
- the minimum valuemax
- the maximum valueinterval
- time between samples in seconds
-
NoiseWaveform
Creates a gaussian waveform signal with a gaussian distribution, updating at the rate specified.- Parameters:
min
- the minimum valuemax
- the maximum valuenSamples
- number of elements in the waveforminterval
- time between samples in seconds
-