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 
19 class Meridian : public Directional
20 {
21 public:
22 
24  double get_x () const;
25 
27  double get_y () const;
28 
30  std::string get_name () const;
31 
32 protected:
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 antennae.
Definition: Directional.h:17
double y
The telescope y in radians.
Definition: Meridian.h:46
double get_y() const
Get the y angle in radians.
Definition: Meridian.C:18
void build() const
Lazily evaluate.
Definition: Directional.C:33
double get_x() const
Get the x angle in radians.
Definition: Meridian.C:11
std::string get_name() const
Get the name of the mount.
Definition: Meridian.C:25
Meridian mounted antenna, with first rotation in meridianal plane.
Definition: Meridian.h:19
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 x
The telescope x in radians.
Definition: Meridian.h:43

Generated using doxygen 1.8.17