Parallactic.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2004 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/More/Polarimetry/Pulsar/Parallactic.h
10
11#ifndef __Calibration_Parallactic_H
12#define __Calibration_Parallactic_H
13
14#include "MEAL/Rotation1.h"
15#include "Directional.h"
16
17namespace Calibration {
18
20
52
54 {
55
56 public:
57
59 Parallactic ();
60
63
66
68 const Directional* get_directional () const;
69
71 void set_epoch (const MJD& epoch);
72
74 MJD get_epoch () const;
75
77 void set_hour_angle (double radians);
78
80 double get_hour_angle () const;
81
82 protected:
83
85
86 };
87
88}
89
90#endif
void set_hour_angle(double radians)
Set the hour angle in radians.
Definition Parallactic.C:56
void set_epoch(const MJD &epoch)
Set the MJD.
Definition Parallactic.C:41
Parallactic()
Default constructor.
Definition Parallactic.C:14
double get_hour_angle() const
Get the hour angle in radians.
Definition Parallactic.C:72
MJD get_epoch() const
Get the MJD.
Definition Parallactic.C:50
Directional * get_directional()
Get the directional antenna.
Definition Parallactic.C:30
void set_directional(Directional *)
Set the directional antenna.
Definition Parallactic.C:22

Generated using doxygen 1.14.0