public class NoiseFactory
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
NoiseFactory.NoiseImplFunction
Note: there are no public setters here for the same reason as in NoiseImplPDF.
|
static class |
NoiseFactory.NoiseImplNull
Zero additive Noise
|
static class |
NoiseFactory.NoiseImplPDF
Note: setters are private, because Origins typically make copies for each output dimension,
which would then not be updated with changes to the original.
|
Constructor and Description |
---|
NoiseFactory() |
Modifier and Type | Method and Description |
---|---|
static Noise |
makeExplicitNoise(Function function) |
static Noise |
makeNullNoise() |
static Noise |
makeRandomNoise(float frequency,
PDF pdf) |
static Noise |
makeRandomNoise(float frequency,
PDF pdf,
DynamicalSystem dynamics,
Integrator integrator) |
public static Noise makeRandomNoise(float frequency, PDF pdf)
frequency
- Frequency (in simulation time) with which new noise values are drawn from the PDFpdf
- PDF from which new noise values are drawn. The dimension must equal
the input dimension of the dynamics.public static Noise makeRandomNoise(float frequency, PDF pdf, DynamicalSystem dynamics, Integrator integrator)
frequency
- Frequency (in simulation time) with which new noise values are drawn from the PDFpdf
- PDF from which new noise values are drawn. The dimension must equal
the input dimension of the dynamics.dynamics
- Dynamics through which raw noise values pass before they are combined with non-noise.
The output dimension must equal the dimension of expected input to getValues().integrator
- Integrator used to solve dynamicspublic static Noise makeNullNoise()