26#ifndef LATTICES_LATTICEADDNOISE_H
27#define LATTICES_LATTICEADDNOISE_H
30#include <casacore/casa/aips.h>
31#include <casacore/casa/Arrays/Vector.h>
32#include <casacore/casa/BasicMath/Random.h>
33#include <casacore/casa/BasicSL/Complex.h>
133#ifndef CASACORE_NO_AUTO_TEMPLATES
134#include <casacore/lattices/LatticeMath/LatticeAddNoise2.tcc>
void add(MaskedLattice< T > &lattice)
LatticeAddNoise()
Default constructor.
void makeDistribution()
Make noise generator.
Vector< Double > itsParameters
void addNoiseToArray(Array< Complex > &data)
LatticeAddNoise(const LatticeAddNoise &other)
Copy constructor (copy semantics).
LatticeAddNoise(Random::Types type, const Vector< Double > ¶meters, Int seed1=0, Int seed2=1)
Constructor.
void add(Lattice< T > &lattice)
Add noise of given type to lattice.
void addNoiseToArray(Array< Double > &data)
void addNoiseToArray(Array< Float > &data)
Add noise to array.
void addNoiseToArray(Array< DComplex > &data)
LatticeAddNoise & operator=(const LatticeAddNoise &other)
Assignment (copy semantics).
void set(Random::Types type, const Vector< Double > ¶meters)
Set a new distribution.
~LatticeAddNoise()
Destructor.
Multiplicative linear congruential generator.
Base class for random number distributions.
Types
This enumerator lists all the predefined random number distributions.
For temporary backward namespace compatibility, use casa as alias for casacore.