29 #ifndef LATTICES_LATTICEADDNOISE_H
30 #define LATTICES_LATTICEADDNOISE_H
43 template <
class T>
class MaskedLattice;
44 template <
class T>
class Lattice;
142 #ifndef CASACORE_NO_AUTO_TEMPLATES
143 #include <casacore/lattices/LatticeMath/LatticeAddNoise2.tcc>
144 #endif //# CASACORE_NO_AUTO_TEMPLATES
void makeDistribution()
Make noise generator.
~LatticeAddNoise()
Destructor.
void set(Random::Types type, const Vector< Double > ¶meters)
Set a new distribution.
Types
This enumerator lists all the predefined random number distributions.
void add(Lattice< T > &lattice)
Add noise of given type to lattice.
A templated, abstract base class for array-like objects with masks.
virtual casacore::String type() const
Implements RegionShape::type.
Base class for random number distributions.
ABSTRACT CLASSES Deliberately vague to be general enough to allow for many different types of data
LatticeAddNoise()
Default constructor.
void addNoiseToArray(Array< Float > &data)
Add noise to array.
A templated, abstract base class for array-like objects.
LatticeAddNoise & operator=(const LatticeAddNoise &other)
Assignment (copy semantics)
Vector< Double > itsParameters
Add noise from specified distribution to a lattice.
Multiplicative linear congruential generator.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.