Receiver_Native.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_Native.h
10
11#ifndef __Receiver_Native_h
12#define __Receiver_Native_h
13
14#include "Pulsar/Receiver.h"
15
16namespace Pulsar {
17
20
21 public:
22
24 Native ();
25
28 { return basis; }
29
32 { basis = _basis; }
33
36 { return hand; }
37
40 { hand = h; }
41
44 { return orientation; }
45
47 void set_orientation (const Angle& angle)
48 { orientation = angle; }
49
53
57
59 void copy (const State*);
60
61 protected:
62
65
68
71
74
75 };
76
77}
78
79#endif
Stores receptor basis, hand, and orientation, and calibrator phase.
Definition Receiver_Native.h:19
void set_reference_source_phase(const Angle &phase)
Set the phase of the reference source.
Definition Receiver_Native.h:55
Angle reference_source_phase
Phase of p^* q for reference source.
Definition Receiver_Native.h:73
Angle get_orientation() const
Get the orientation of the basis about the line of sight.
Definition Receiver_Native.h:43
Angle get_reference_source_phase() const
Get the phase of the reference source.
Definition Receiver_Native.h:51
Native()
Default constructor.
Definition Receiver_Native.C:9
Signal::Basis basis
Basis of the feed receptors.
Definition Receiver_Native.h:64
void copy(const State *)
Copy the state from another.
Definition Receiver_Native.C:16
Signal::Basis get_basis() const
Get the basis of the feed receptors.
Definition Receiver_Native.h:27
void set_hand(Signal::Hand h)
Set true if the basis is right-handed.
Definition Receiver_Native.h:39
void set_basis(Signal::Basis _basis)
Set the basis of the feed receptors.
Definition Receiver_Native.h:31
void set_orientation(const Angle &angle)
Set the orientation of the basis about the line of sight.
Definition Receiver_Native.h:47
Signal::Hand hand
The hand of the basis.
Definition Receiver_Native.h:67
Signal::Hand get_hand() const
Get the hand of the basis.
Definition Receiver_Native.h:35
Angle orientation
The orientation of the basis about the line of sight.
Definition Receiver_Native.h:70
The internal state of the Receiver Extension class.
Definition Receiver.h:184
Defines the PSRCHIVE library.
Definition CalSource.h:17
void phase(Profile *input)
Compute the phase of the input complex-valued Profile.
Definition Fourier.C:135

Generated using doxygen 1.14.0