casa
5.7.0-16
|
#include <Mueller.h>
Public Types | |
enum | MuellerType { AddDiag2, AddDiag, General, Diagonal, Diag2, Scalar } |
Public Member Functions | |
Mueller () | |
Construct. More... | |
virtual | ~Mueller () |
Dtor. More... | |
virtual MuellerType | type () const |
Return type id. More... | |
virtual casacore::uInt | typesize () const |
void | setScalarData (casacore::Bool scalardata) const |
Set scalardata_ TBD: Handle this better; for now, we need to set this from an external call so we handle single-corr data properly when setting non-corr-dep flags. More... | |
void | sync (casacore::Complex &mat) |
Synchronize with leading element in external array. More... | |
void | sync (casacore::Complex &mat, casacore::Bool &ok) |
void | origin () |
Reset to origin. More... | |
void | operator++ () |
Increment to next vector (according to len) More... | |
void | operator++ (int) |
void | advance (const casacore::Int &step) |
Advance step matrices forward (according to len) More... | |
virtual void | fromJones (const Jones &jones1, const Jones &jones2) |
Formation from Jones matrix outer product: General version. More... | |
virtual void | invert () |
In-place invert. More... | |
virtual void | setMatByOk () |
Set matrix elements according to ok flag (so we don't have to check ok flags atomically in apply) More... | |
virtual void | apply (VisVector &v) |
In-place multiply onto a VisVector: General version. More... | |
virtual void | apply (VisVector &v, casacore::Bool &vflag) |
virtual void | applyFlag (casacore::Bool &vflag) |
Apply only flags according to cal flags. More... | |
virtual void | flag (VisVector &v) |
virtual void | apply (VisVector &out, const VisVector &in) |
Multiply onto a vis VisVector, preserving input (copy then in-place apply) More... | |
Protected Member Functions | |
Mueller (const Mueller &mat) | |
Copy ctor protected. More... | |
Protected Attributes | |
casacore::Complex * | m0_ |
Pointer to origin. More... | |
casacore::Bool * | ok0_ |
casacore::Complex * | m_ |
Moving pointer. More... | |
casacore::Complex * | mi_ |
casacore::Bool * | ok_ |
casacore::Bool * | oki_ |
const casacore::Complex | cOne_ |
casacore::Complex unity, zero (for use in invert and similar methods) More... | |
const casacore::Complex | cZero_ |
casacore::Bool | scalardata_ |
Private Member Functions | |
virtual void | zero () |
Zero the whole Mueller. More... | |
Private Attributes | |
VisVector | vtmp_ |
VisVector temporary (only relevant for Mueller::General) More... | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Mueller &mat) |
print it out More... | |
casa::Mueller::Mueller | ( | ) |
Construct.
|
protected |
Copy ctor protected.
|
inline |
Advance step matrices forward (according to len)
Definition at line 74 of file Mueller.h.
References m_, ok_, and typesize().
|
virtual |
In-place multiply onto a VisVector: General version.
Reimplemented in casa::AddMuellerDiag, casa::AddMuellerDiag2, casa::MuellerScal, casa::MuellerDiag2, and casa::MuellerDiag.
|
virtual |
Reimplemented in casa::MuellerScal, casa::MuellerDiag2, and casa::MuellerDiag.
Multiply onto a vis VisVector, preserving input (copy then in-place apply)
|
virtual |
Apply only flags according to cal flags.
Reimplemented in casa::MuellerScal, casa::MuellerDiag2, and casa::MuellerDiag.
|
virtual |
Reimplemented in casa::MuellerScal, casa::MuellerDiag2, and casa::MuellerDiag.
Formation from Jones matrix outer product: General version.
Reimplemented in casa::MuellerScal, casa::MuellerDiag2, and casa::MuellerDiag.
|
virtual |
In-place invert.
Reimplemented in casa::AddMuellerDiag, casa::AddMuellerDiag2, casa::MuellerScal, casa::MuellerDiag2, and casa::MuellerDiag.
|
inline |
Increment to next vector (according to len)
Definition at line 70 of file Mueller.h.
References m_, ok_, and typesize().
|
inline |
Definition at line 71 of file Mueller.h.
References m_, ok_, and typesize().
|
inline |
|
virtual |
Set matrix elements according to ok flag (so we don't have to check ok flags atomically in apply)
Reimplemented in casa::AddMuellerDiag, casa::AddMuellerDiag2, casa::MuellerScal, casa::MuellerDiag2, and casa::MuellerDiag.
|
inline |
Set scalardata_ TBD: Handle this better; for now, we need to set this from an external call so we handle single-corr data properly when setting non-corr-dep flags.
Definition at line 60 of file Mueller.h.
References scalardata_.
|
inline |
|
inline |
|
inlinevirtual |
Return type id.
Reimplemented in casa::AddMuellerDiag, casa::AddMuellerDiag2, casa::MuellerScal, casa::MuellerDiag2, and casa::MuellerDiag.
Definition at line 53 of file Mueller.h.
References General.
|
inlinevirtual |
Reimplemented in casa::MuellerScal, casa::MuellerDiag2, and casa::MuellerDiag.
Definition at line 54 of file Mueller.h.
Referenced by advance(), and operator++().
|
privatevirtual |
Zero the whole Mueller.
Reimplemented in casa::MuellerScal, casa::MuellerDiag2, and casa::MuellerDiag.
|
friend |
print it out
|
protected |
|
protected |
|
protected |
Moving pointer.
Definition at line 110 of file Mueller.h.
Referenced by advance(), operator++(), and origin().
|
protected |
|
protected |
Definition at line 111 of file Mueller.h.
Referenced by advance(), operator++(), and origin().
|
protected |
|
mutableprotected |
Definition at line 116 of file Mueller.h.
Referenced by setScalarData().
|
private |
VisVector temporary (only relevant for Mueller::General)