Fixed.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2019 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/Util/genutil/Fixed.h
10 
11 #ifndef __Fixed_H
12 #define __Fixed_H
13 
14 #include "MountProjection.h"
15 
17 class Fixed : public MountProjection
18 {
19 public:
20 
22  Fixed ();
23 
25  std::string get_name () const;
26 
28  double get_vertical () const;
29 
31  double get_parallactic_angle () const;
32 
34  Jones<double> get_response () const;
35 
36 protected:
37 
39  void build () const;
40 
42  mutable double vertical;
43 
45  mutable Jones<double> response;
46 };
47 
48 #endif
49 
std::string get_name() const
Get the name of the mount.
Definition: Fixed.C:25
Jones< double > get_response() const
Get the response.
Definition: Fixed.C:41
void build() const
Lazily evaluate.
Definition: Fixed.C:47
double get_parallactic_angle() const
Synonym for vertical angle.
Definition: Fixed.C:36
double vertical
The parallactic angle in radians.
Definition: Fixed.h:47
Quaternion.
Definition: Quaternion.h:29
double get_vertical() const
Get the vertical angle in radians (rotation about the line of sight)
Definition: Fixed.C:30
Fixed antennae.
Definition: Fixed.h:17
Vector< 3, T > get_vector() const
A Mount that can compute its own projection transformation.
Definition: MountProjection.h:18
virtual void build() const
Lazily evaluate lst and hour_angle.
Definition: Mount.C:106
Fixed()
Default constructor.
Definition: Fixed.C:19
Jones< double > response
The Jones matrix that describes the projection of the receptors.
Definition: Fixed.h:50

Generated using doxygen 1.8.17