Class MEAL::PositionAngles
-
class PositionAngles : public MEAL::Scalar
Function returns position angle(s) as a function of frequency.
This function is parameterized by the rotation measure and one or more position angles at infinite frequency. Its arguments are the position angle array index and the frequency.
Public Functions
-
PositionAngles()
Default constructor.
-
PositionAngles(const PositionAngles ©)
Copy constructor.
-
PositionAngles &operator=(const PositionAngles ©)
Assignment operator.
-
~PositionAngles()
Destructor.
-
unsigned size() const
Get the size of the position angle array.
-
void set_index(unsigned index)
Set the index of the position angle array.
-
unsigned get_index() const
Get the index of the position angle array.
-
void push_back(const Estimate<double> &pa)
Add to the position angle array.
-
void set_frequency(double frequency)
Set the radio frequency in MHz.
-
double get_frequency() const
Get the radio frequency in MHz.
-
void set_position_angle(unsigned index, const Estimate<double> &pa)
Set the position angle at infinite frequency.
-
Estimate<double> get_position_angle(unsigned index) const
Get the position angle at infinite frequency.
-
void set_rotation_measure(const Estimate<double> &rotation_measure)
Set the rotation measure.
-
Estimate<double> get_rotation_measure() const
Get the rotation measure.
-
virtual std::string get_name() const
Return the name of the class.
-
PositionAngles()