casacore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces
LatticeExprNode.h File Reference
#include <casacore/casa/aips.h>
#include <casacore/lattices/LEL/LELInterface.h>
#include <casacore/lattices/LEL/LELAttribute.h>
#include <casacore/lattices/LEL/LELBinaryEnums.h>
#include <casacore/lattices/LEL/LELUnaryEnums.h>
#include <casacore/lattices/LEL/LELFunctionEnums.h>
#include <casacore/casa/Arrays/ArrayFwd.h>
#include <casacore/casa/Arrays/IPosition.h>
#include <casacore/casa/Utilities/CountedPtr.h>
#include <casacore/casa/Utilities/DataType.h>

Go to the source code of this file.

Classes

class  casacore::LatticeExpr< T >
 Class to allow C++ expressions involving lattices. More...
 
class  casacore::Lattice< T >
 A templated, abstract base class for array-like objects. More...
 
class  casacore::MaskedLattice< T >
 A templated, abstract base class for array-like objects with masks. More...
 
class  casacore::Block< T >
 simple 1-D array More...
 
class  casacore::LatticeExprNode
 Bridging class to allow C++ expressions involving lattices. More...
 

Namespaces

 casacore
 this file contains all the compiler specific defines
 

Functions

LatticeExprNode casacore::operator+ (const LatticeExprNode &expr)
 Global functions operating on a LatticeExprNode. More...
 
LatticeExprNode casacore::operator- (const LatticeExprNode &expr)
 
LatticeExprNode casacore::operator! (const LatticeExprNode &expr)
 
LatticeExprNode casacore::operator+ (const LatticeExprNode &left, const LatticeExprNode &right)
 Numerical binary operators. More...
 
LatticeExprNode casacore::operator- (const LatticeExprNode &left, const LatticeExprNode &right)
 
LatticeExprNode casacore::operator* (const LatticeExprNode &left, const LatticeExprNode &right)
 
LatticeExprNode casacore::operator/ (const LatticeExprNode &left, const LatticeExprNode &right)
 
LatticeExprNode casacore::operator% (const LatticeExprNode &left, const LatticeExprNode &right)
 
LatticeExprNode casacore::operator^ (const LatticeExprNode &left, const LatticeExprNode &right)
 
LatticeExprNode casacore::operator== (const LatticeExprNode &left, const LatticeExprNode &right)
 Relational binary operators. More...
 
LatticeExprNode casacore::operator> (const LatticeExprNode &left, const LatticeExprNode &right)
 
LatticeExprNode casacore::operator>= (const LatticeExprNode &left, const LatticeExprNode &right)
 
LatticeExprNode casacore::operator< (const LatticeExprNode &left, const LatticeExprNode &right)
 
LatticeExprNode casacore::operator<= (const LatticeExprNode &left, const LatticeExprNode &right)
 
LatticeExprNode casacore::operator!= (const LatticeExprNode &left, const LatticeExprNode &right)
 
LatticeExprNode casacore::operator&& (const LatticeExprNode &left, const LatticeExprNode &right)
 Logical binary operators. More...
 
LatticeExprNode casacore::operator|| (const LatticeExprNode &left, const LatticeExprNode &right)
 
LatticeExprNode casacore::sin (const LatticeExprNode &expr)
 Numerical 1-argument functions. More...
 
LatticeExprNode casacore::sinh (const LatticeExprNode &expr)
 
LatticeExprNode casacore::asin (const LatticeExprNode &expr)
 
LatticeExprNode casacore::cos (const LatticeExprNode &expr)
 
LatticeExprNode casacore::cosh (const LatticeExprNode &expr)
 
LatticeExprNode casacore::acos (const LatticeExprNode &expr)
 
LatticeExprNode casacore::tan (const LatticeExprNode &expr)
 
LatticeExprNode casacore::tanh (const LatticeExprNode &expr)
 
LatticeExprNode casacore::atan (const LatticeExprNode &expr)
 
LatticeExprNode casacore::exp (const LatticeExprNode &expr)
 
LatticeExprNode casacore::log (const LatticeExprNode &expr)
 
LatticeExprNode casacore::log10 (const LatticeExprNode &expr)
 
LatticeExprNode casacore::sqrt (const LatticeExprNode &expr)
 
LatticeExprNode casacore::sign (const LatticeExprNode &expr)
 
LatticeExprNode casacore::round (const LatticeExprNode &expr)
 
LatticeExprNode casacore::ceil (const LatticeExprNode &expr)
 
LatticeExprNode casacore::floor (const LatticeExprNode &expr)
 
LatticeExprNode casacore::conj (const LatticeExprNode &expr)
 
LatticeExprNode casacore::atan2 (const LatticeExprNode &left, const LatticeExprNode &right)
 Numerical 2-argument functions. More...
 
LatticeExprNode casacore::pow (const LatticeExprNode &left, const LatticeExprNode &right)
 
LatticeExprNode casacore::fmod (const LatticeExprNode &left, const LatticeExprNode &right)
 
LatticeExprNode casacore::min (const LatticeExprNode &left, const LatticeExprNode &right)
 
LatticeExprNode casacore::max (const LatticeExprNode &left, const LatticeExprNode &right)
 
LatticeExprNode casacore::formComplex (const LatticeExprNode &left, const LatticeExprNode &right)
 Form a complex number from two real numbers. More...
 
LatticeExprNode casacore::abs (const LatticeExprNode &expr)
 Numerical 1-argument functions which result in a real number regardless of input expression type. More...
 
LatticeExprNode casacore::arg (const LatticeExprNode &expr)
 
LatticeExprNode casacore::real (const LatticeExprNode &expr)
 
LatticeExprNode casacore::imag (const LatticeExprNode &expr)
 
LatticeExprNode casacore::min (const LatticeExprNode &expr)
 1-argument functions operating on a numeric expression resulting in a scalar More...
 
LatticeExprNode casacore::max (const LatticeExprNode &expr)
 
LatticeExprNode casacore::sum (const LatticeExprNode &expr)
 
LatticeExprNode casacore::median (const LatticeExprNode &expr)
 
LatticeExprNode casacore::mean (const LatticeExprNode &expr)
 
LatticeExprNode casacore::variance (const LatticeExprNode &expr)
 
LatticeExprNode casacore::stddev (const LatticeExprNode &expr)
 
LatticeExprNode casacore::avdev (const LatticeExprNode &expr)
 
LatticeExprNode casacore::fractile (const LatticeExprNode &expr, const LatticeExprNode &fraction)
 Determine the value of the element at the part fraction from the beginning of the given lattice. More...
 
LatticeExprNode casacore::fractileRange (const LatticeExprNode &expr, const LatticeExprNode &fraction1, const LatticeExprNode &fraction2)
 Determine the value range of the elements at the part fraction1 and fraction2 from the beginning of the given lattice. More...
 
LatticeExprNode casacore::fractileRange (const LatticeExprNode &expr, const LatticeExprNode &fraction)
 
LatticeExprNode casacore::nelements (const LatticeExprNode &expr)
 1-argument function to get the number of elements in a lattice. More...
 
LatticeExprNode casacore::ndim (const LatticeExprNode &expr)
 1-argument function to get the dimensionality of a lattice. More...
 
LatticeExprNode casacore::length (const LatticeExprNode &expr, const LatticeExprNode &axis)
 2-argument function to get the length of an axis. More...
 
LatticeExprNode casacore::indexin (const LatticeExprNode &axis, const LatticeExprNode &indexFlags)
 2-argument function telling per pixel if its index on the given axis is contained in the 2nd argument. More...
 
LatticeExprNode casacore::rebin (const LatticeExprNode &expr, const LatticeExprNode &bin)
 2-argument function rebinning Lattice by given factors. More...
 
LatticeExprNode casacore::isNaN (const LatticeExprNode &expr)
 Test if a value is a NaN. More...
 
LatticeExprNode casacore::any (const LatticeExprNode &expr)
 Functions operating on a logical expression resulting in a scalar; Functions "any" (are any pixels "True") and "all" (are all pixels "True") result in a Bool; functions "ntrue" and "nfalse" result in a Double. More...
 
LatticeExprNode casacore::all (const LatticeExprNode &expr)
 
LatticeExprNode casacore::ntrue (const LatticeExprNode &expr)
 
LatticeExprNode casacore::nfalse (const LatticeExprNode &expr)
 
LatticeExprNode casacore::mask (const LatticeExprNode &expr)
 This function returns the mask of the given expression. More...
 
LatticeExprNode casacore::value (const LatticeExprNode &expr)
 This function returns the value of the expression without a mask. More...
 
LatticeExprNode casacore::amp (const LatticeExprNode &left, const LatticeExprNode &right)
 This function finds sqrt(left^2+right^2). More...
 
LatticeExprNode casacore::pa (const LatticeExprNode &left, const LatticeExprNode &right)
 This function finds 180/pi*atan2(left,right)/2. More...
 
LatticeExprNode casacore::spectralindex (const LatticeExprNode &left, const LatticeExprNode &right)
 This function finds the spectral index alpha = log(s1/s2) / log(f1/f2). More...
 
LatticeExprNode casacore::iif (const LatticeExprNode &condition, const LatticeExprNode &arg1, const LatticeExprNode &arg2)
 Function resembling the ternary ?: construct in C++. More...
 
LatticeExprNode casacore::replace (const LatticeExprNode &arg1, const LatticeExprNode &arg2)
 This function replaces every masked-off element in the first argument with the corresponding element from the second argument. More...
 
LatticeExprNode casacore::toFloat (const LatticeExprNode &expr)
 Functions to convert to the given data type. More...
 
LatticeExprNode casacore::toDouble (const LatticeExprNode &expr)
 
LatticeExprNode casacore::toComplex (const LatticeExprNode &expr)
 
LatticeExprNode casacore::toDComplex (const LatticeExprNode &expr)
 
LatticeExprNode casacore::toBool (const LatticeExprNode &expr)
 
LatticeExprNode casacore::convertType (const LatticeExprNode &expr, const Float *)
 
LatticeExprNode casacore::convertType (const LatticeExprNode &expr, const Double *)
 
LatticeExprNode casacore::convertType (const LatticeExprNode &expr, const Complex *)
 
LatticeExprNode casacore::convertType (const LatticeExprNode &expr, const DComplex *)
 
LatticeExprNode casacore::convertType (const LatticeExprNode &expr, const Bool *)