Class MEAL::Coherency

class Coherency : public MEAL::Complex2

Represents a Hermitian coherency matrix.

This class represents a source in which the four Stokes parameters are independent of eachother.

Subclassed by MEAL::Wrap< Coherency >, MEAL::PhysicalCoherency, MEAL::SingularCoherency

Public Functions

Coherency()

Default constructor.

virtual void set_stokes(const Stokes<double> &stokes)

Set the Stokes parameters of the model.

virtual void set_stokes(const Stokes<Estimate<double>> &stokes)

Set the Stokes parameters and their estimated errors.

virtual Stokes<Estimate<double>> get_stokes() const

Get the Stokes parameters and their estimated errors.

void set_param_name_prefix(const std::string &prefix)

Set the prefix to each parameter name.

virtual std::string get_name() const

Return the name of the class.