KrausType.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2016 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/Util/genutil/KrausType.h
10 
11 #ifndef __KrausType_H
12 #define __KrausType_H
13 
14 #include "Directional.h"
15 
17 
24 class KrausType : public Directional
25 {
26 public:
27 
29  std::string get_name () const;
30 
32  double get_vertical () const;
33 
34 protected:
35 
37  Matrix<3,3,double> get_basis (const Vector<3,double>& from_source) const;
38 
40  void build () const;
41 };
42 
43 #endif
Directional antennae.
Definition: Directional.h:17
void build() const
Disable Directional::build.
Definition: KrausType.C:29
double get_hour_angle() const
Get the hour_angle in radians.
Definition: Mount.C:86
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: KrausType.C:24
Kraus-type mounted antenna.
Definition: KrausType.h:24
double declination
The declination of the source in radians.
Definition: Mount.h:72
std::string get_name() const
Get the name of the mount.
Definition: KrausType.C:11
virtual void build() const
Lazily evaluate lst and hour_angle.
Definition: Mount.C:106
double get_vertical() const
Get the vertical angle (rotation about the line of sight)
Definition: KrausType.C:17

Generated using doxygen 1.8.17