Meridian.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2008 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/Util/genutil/Meridian.h
10
11#ifndef __Meridian_H
12#define __Meridian_H
13
14#include "Directional.h"
15
17
18
19class Meridian : public Directional
20{
21public:
22
24 double get_x () const;
25
27 double get_y () const;
28
30 std::string get_name () const;
31
32protected:
33
35 Matrix<3,3,double> get_basis (const Vector<3,double>& from_source) const;
36
38 mutable double x;
39
41 mutable double y;
42
43};
44
45#endif
Directional()
Default constructor.
Definition Directional.C:17
Meridian mounted antenna, with first rotation in meridianal plane.
Definition Meridian.h:20
Matrix< 3, 3, double > get_basis(const Vector< 3, double > &from_source) const
Get the receptor basis in the reference frame of the observatory.
Definition Meridian.C:31
double get_x() const
Get the x angle in radians.
Definition Meridian.C:11
double get_y() const
Get the y angle in radians.
Definition Meridian.C:18
std::string get_name() const
Get the name of the mount.
Definition Meridian.C:25
double y
The telescope y in radians.
Definition Meridian.h:41
double x
The telescope x in radians.
Definition Meridian.h:38

Generated using doxygen 1.14.0