Class MEAL::ComplexRVM
-
class ComplexRVM : public MEAL::ProductRule<Complex>
Rotating Vector Model of Stokes Q and U as a function of pulse phase.
Public Functions
-
ComplexRVM()
Default constructor.
-
ComplexRVM(const ComplexRVM ©)
Copy constructor.
-
ComplexRVM &operator=(const ComplexRVM ©)
Assignment operator.
-
~ComplexRVM()
Destructor.
-
void add_state(double phase, std::complex<Estimate<double>> &L)
Add a state: phase in radians, L is measured linear polarization.
-
void set_state(unsigned i)
Set the current state for which the model will be evaluated.
-
unsigned get_nstate() const
Get the number of states.
-
void set_phase(unsigned i, double phase)
Set the phase of the ith state.
-
double get_phase(unsigned i) const
Get the phase of the ith state.
-
void set_linear(unsigned i, const Estimate<double> &L)
Set the linear polarization of the ith state.
-
Estimate<double> get_linear(unsigned i) const
Get the linear polarization of the ith state.
-
void set_gains_infit(bool flag = true)
Set the fit flag of every gain parameter.
-
void set_gains_maximum_likelihood(bool flag = true)
Replace gains with maximum likelihood estimators.
-
virtual std::string get_name() const
Return the name of the class.
-
ComplexRVM()