29 #ifndef LATTICES_LATTICEADDNOISE_H 30 #define LATTICES_LATTICEADDNOISE_H 34 #include <casacore/casa/aips.h> 35 #include <casacore/casa/Arrays/Vector.h> 36 #include <casacore/casa/BasicMath/Random.h> 43 template <
class T>
class MaskedLattice;
44 template <
class T>
class Lattice;
void makeDistribution()
Make noise generator.
~LatticeAddNoise()
Destructor.
Types
This enumerator lists all the predefined random number distributions.
A templated, abstract base class for array-like objects with masks.
Base class for random number distributions.
void add(MaskedLattice< Float > &lattice)
Add noise of given type to lattice.
LatticeAddNoise()
Default constructor.
void addNoiseToArray(Array< Float > &data)
Add noise to array.
LatticeAddNoise & operator=(const LatticeAddNoise &other)
Assignment (copy semantics)
Vector< Double > itsParameters
Add noise from specified distribution to a lattice.
Multiplicative linear congruential generator.
this file contains all the compiler specific defines