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
17class Fixed : public MountProjection
18{
19public:
20
22 Fixed ();
23
25 std::string get_name () const;
26
28 double get_vertical () const;
29
31 double get_parallactic_angle () const;
32
35
36protected:
37
39 void build () const;
40
42 mutable double vertical;
43
46};
47
48#endif
49
Jones< double > response
The Jones matrix that describes the projection of the receptors.
Definition Fixed.h:45
double get_parallactic_angle() const
Synonym for vertical angle.
Definition Fixed.C:36
double vertical
The parallactic angle in radians.
Definition Fixed.h:42
std::string get_name() const
Get the name of the mount.
Definition Fixed.C:25
Fixed()
Default constructor.
Definition Fixed.C:19
double get_vertical() const
Get the vertical angle in radians (rotation about the line of sight)
Definition Fixed.C:30
Jones< double > get_response() const
Get the response.
Definition Fixed.C:41
void build() const
Lazily evaluate.
Definition Fixed.C:47
A Mount that can compute its own projection transformation.
Definition MountProjection.h:19

Generated using doxygen 1.14.0