Receiver_Field.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2005 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/Base/Extensions/Pulsar/Receiver_Field.h
10 
11 #ifndef __Receiver_Field_h
12 #define __Receiver_Field_h
13 
14 #include "Pulsar/Receiver_Native.h"
15 
16 namespace Pulsar {
17 
19 
24  class Receiver::Field : public Pulsar::Receiver::Native {
25 
26  public:
27 
29  Field ();
30 
32  Angle get_orientation () const;
34  void set_orientation (const Angle& angle);
35 
39  void set_field_orientation (const Angle& celestial_position_angle);
40 
41  protected:
42 
44  bool field_orientation;
45 
46  };
47 
48 }
49 
50 #endif
Angle get_orientation() const
Get the orientation of the basis about the line of sight.
Definition: Receiver_Field.C:15
Stores receptor basis, hand, and orientation, and calibrator phase.
Definition: Receiver_Native.h:24
Angle get_field_orientation() const
Get the orientation of the equal in-phase electric field vector.
Definition: Receiver_Field.C:32
void set_field_orientation(const Angle &celestial_position_angle)
Set the orientation of the equal in-phase electric field vector.
Definition: Receiver_Field.C:42
Field()
Default constructor.
Definition: Receiver_Field.C:9
bool field_orientation
Set true when set_field_orientation is called.
Definition: Receiver_Field.h:54
Defines the PSRCHIVE library.
Definition: CalSource.h:17
void set_orientation(const Angle &angle)
Set the orientation of the basis about the line of sight.
Definition: Receiver_Field.C:25

Generated using doxygen 1.8.17