Receiver_Linear.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_Linear.h
10 
11 #ifndef __Receiver_Linear_h
12 #define __Receiver_Linear_h
13 
14 #include "Pulsar/Receiver.h"
15 
16 namespace Pulsar {
17 
19  class Receiver::Linear : public Receiver::State {
20 
21  public:
22 
24  Linear ();
25 
27  Signal::Basis get_basis () const;
28 
30  Signal::Hand get_hand () const;
31 
33  Angle get_orientation () const;
34 
37 
39  void copy (const State*);
40 
42  Angle get_X_offset () const;
44  void set_X_offset (const Angle& offset);
45 
47  Angle get_Y_offset () const;
49  void set_Y_offset (const Angle& offset);
50 
54  void set_calibrator_offset (const Angle& offset);
55 
56  protected:
57 
59  bool y_offset;
60 
62  bool calibrator_offset;
63 
66 
67  };
68 
69 }
70 
71 #endif
Signal::Hand get_hand() const
Get the hand of the basis.
Definition: Receiver_Linear.C:22
The internal state of the Receiver Extension class.
Definition: Receiver.h:194
Reference::To< State > state
State of the receiver.
Definition: Receiver.h:230
bool y_offset
Set true if the Y-axis is offset by 180 degrees.
Definition: Receiver_Linear.h:69
void set_X_offset(const Angle &offset)
Set the offset of the feed X axis with respect to the platform zero.
Definition: Receiver_Linear.C:77
void set_calibrator_offset(const Angle &offset)
Set the offset of the feed calibrator axis from its nominal value.
Definition: Receiver_Linear.C:124
Angle get_Y_offset() const
Get the offset of the feed Y axis from its nominal value.
Definition: Receiver_Linear.C:111
Linear()
Default constructor.
Definition: Receiver_Linear.C:10
Angle get_X_offset() const
Get the offset of the feed X axis with respect to the platform zero.
Definition: Receiver_Linear.C:71
Signal::Basis get_basis() const
Get the basis of the feed receptors.
Definition: Receiver_Linear.C:16
bool calibrator_offset
Set true if the calibrator is offset by 90 degrees.
Definition: Receiver_Linear.h:72
void set_calibrator_offset(const Angle &offset)
Set the offset of the feed calibrator axis from its nominal value.
Definition: Receiver.C:164
Angle get_orientation() const
Get the orientation of the basis about the line of sight.
Definition: Receiver_Linear.C:31
Angle get_calibrator_offset() const
Get the offset of the feed calibrator axis from its nominal value.
Definition: Receiver_Linear.C:136
void set_Y_offset(const Angle &offset)
Set the offset of the feed Y axis from its nominal value.
Definition: Receiver_Linear.C:99
Defines the PSRCHIVE library.
Definition: CalSource.h:17
Angle x_offset
The orientation of the x-asis about the line of sight.
Definition: Receiver_Linear.h:75
Angle get_reference_source_phase() const
Get the phase of the reference source.
Definition: Receiver_Linear.C:41
void copy(const State *)
Copy the state from another.
Definition: Receiver_Linear.C:50

Generated using doxygen 1.8.17