public class WSSDistribution extends ContinuousDistribution
Meaning: | Noise generator (conversion of white noise to bandwidth-limited, colored noise with the help of a filter) |
---|---|
Description: |
|
Parameters: |
|
Characteristic values: | auto covariance sequence: \(R_i = \sum\limits_{k=0}^{n-1-k} h_k \cdot h_{k+i} (i = 0, ..., n)\) |
Parser example: |
[...].distribution = WSSDistribution
|
Modifier and Type | Field and Description |
---|---|
double[] |
filterCoefficients |
double[] |
filterMemory |
double |
mean |
UniformDistribution |
uniformDist |
static double |
WSS_RANDOM_AMPLITUDE |
rng
CREATE_INSTANCE_METHOD_NAME
Constructor and Description |
---|
WSSDistribution(double mean,
double[] filterCoefficients) |
WSSDistribution(double mean,
double[] filterCoefficients,
RandomNumberGenerator rng) |
Modifier and Type | Method and Description |
---|---|
static WSSDistribution |
createInstance(SimNode ownNode,
Parameters pars,
RandomNumberGenerator rng)
as required by
ReflectionConstructable |
int |
getCurrentPos() |
double |
next()
Create random numbers
|
void |
reset()
The default behavior is to do nothing.
|
getDefaultRNG, getRandomNumberGenerator
public static final double WSS_RANDOM_AMPLITUDE
public final double mean
public final double[] filterCoefficients
public final double[] filterMemory
public final UniformDistribution uniformDist
public WSSDistribution(double mean, double[] filterCoefficients, RandomNumberGenerator rng)
public WSSDistribution(double mean, double[] filterCoefficients)
public static WSSDistribution createInstance(SimNode ownNode, Parameters pars, RandomNumberGenerator rng)
ReflectionConstructable
public double next()
ContinuousDistribution
next
in class ContinuousDistribution
public void reset()
Distribution
reset
in class Distribution
public int getCurrentPos()