Class MEAL::Instrument
-
class Instrument : public MEAL::BackendFeed, public MEAL::HasOrientation
Phenomenological description of the instrument.
The transformation is represented by the product of a SingleAxis transformation and Feed transformation.
Public Functions
-
Instrument()
Default Constructor.
-
Instrument(const Instrument &s)
Copy Constructor.
-
const Instrument &operator=(const Instrument &s)
Assignment Operator.
-
virtual Instrument *clone() const
Clone operator.
-
~Instrument()
Destructor.
-
void equal_ellipticities()
Model the ellipticities of both receptors using the same value.
-
void independent_ellipticities()
Model the ellipticities of the receptors using independent values.
-
inline MEAL::ScalarParameter *get_ellipticities()
Return the single model parameter that constrains both ellipticities.
-
inline bool has_equal_ellipticities() const
Return true if both ellipticities are constrained by a single parameter.
-
void equal_orientations()
Model the orientations of both receptors using the same value.
-
virtual void set_cyclic(bool flag = true)
Set cyclical limits on the model parameters.
-
virtual void set_constant_orientation(bool)
Fix the orientation of the frontend.
-
Estimate<double> get_orientation(unsigned ireceptor) const
Get the orientation, \(\theta\), of the specified receptor in radians.
-
Estimate<double> get_ellipticity(unsigned ireceptor) const
Get the ellipticity, \(\chi\), of the specified receptor in radians.
-
unsigned get_ellipticity_index(unsigned receptor) const
Get the index of the ellipticity parameter for the specified receptor.
-
void set_orientation(unsigned ireceptor, const Estimate<double> &theta)
Set the orientation, \(\theta\), of the specified receptor in radians.
-
void set_ellipticity(unsigned ireceptor, const Estimate<double> &chi)
Set the ellipticity, \(\chi\), of the specified receptor in radians.
-
virtual Estimate<double> get_orientation() const override
Get the rotation of the feed about the line of sight, in radians.
-
virtual void offset_orientation(double delta_rad) override
Offset the rotation of the feed about the line of sight by delta, in radians.
-
virtual std::string get_name() const
Return the name of the class.
-
Instrument()