Britton2000.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2009 - 2016 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/Polarimetry/Pulsar/Britton2000.h
10 
11 #ifndef __CalibrationBritton2000_H
12 #define __CalibrationBritton2000_H
13 
14 #include "Pulsar/BackendFeed.h"
15 
16 namespace Calibration {
17 
18  class Feed;
19 
21 
30  class Britton2000 : public BackendFeed {
31 
32  public:
33 
35  Britton2000 (bool isolate_degeneracy = false);
36 
38  Britton2000 (const Britton2000& s);
39 
41  const Britton2000& operator = (const Britton2000& s);
42 
44  Britton2000* clone () const;
45 
47  ~Britton2000 ();
48 
50  void equal_ellipticities ();
51 
53  void equal_orientations ();
54 
56  void set_constant_orientation (bool);
57  bool get_constant_orientation () const;
58 
59  const MEAL::Complex2* get_frontend () const;
60 
61  bool get_degeneracy_isolated() const { return isolate_degeneracy; }
62 
63  // ///////////////////////////////////////////////////////////////////
64  //
65  // Model implementation
66  //
67  // ///////////////////////////////////////////////////////////////////
68 
70  std::string get_name () const;
71 
72  protected:
73 
74  class Feed;
75 
78  bool isolate_degeneracy;
79 
80  private:
81 
83  void init (bool iso);
84 
85  };
86 
87 }
88 
89 #endif
90 
Britton2000 * clone() const
Clone operator.
Definition: Britton2000.C:93
Reference::To< Feed > feed
Feed model.
Definition: Britton2000.h:79
~Britton2000()
Destructor.
Definition: Britton2000.C:98
void equal_orientations()
Model the orientations of both receptors using the same value.
Definition: Britton2000.C:120
void equal_ellipticities()
Model the ellipticities of both receptors using the same value.
Definition: Britton2000.C:110
Phenomenological description of the instrument.
Definition: Britton2000.h:35
Phenomenological description of the receiver feed.
Definition: Feed.h:32
void set_param_name(const std::string &name)
void set_constant_orientation(bool)
Fix the orientation of the frontend.
Definition: Britton2000.C:131
void set_param_name(const std::string &name)
std::string get_name() const
Return the name of the class.
Definition: Britton2000.C:105
const Britton2000 & operator=(const Britton2000 &s)
Assignment Operator.
Definition: Britton2000.C:83
Britton2000(bool isolate_degeneracy=false)
Default Constructor.
Definition: Britton2000.C:70

Generated using doxygen 1.8.17