BackendFeed.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/BackendFeed.h
10
11#ifndef __CalibrationBackendFeed_H
12#define __CalibrationBackendFeed_H
13
14#include "MEAL/ProductRule.h"
15#include "MEAL/Complex2.h"
16
17namespace Calibration {
18
19 class VariableBackend;
20
22
25
26 class BackendFeed : public MEAL::ProductRule<MEAL::Complex2>
27 {
28 private:
29
30 void init ();
31
34
35 protected:
36
37 void set_frontend (MEAL::Complex2*);
38
39 public:
40
42 BackendFeed ();
43
45 BackendFeed (const BackendFeed& s);
46
48 const BackendFeed& operator = (const BackendFeed& s);
49
51 ~BackendFeed ();
52
54 virtual void set_constant_orientation (bool flag = true) = 0;
55
57 virtual void set_cyclic (bool flag);
58
60 const VariableBackend* get_backend () const;
62
64 const MEAL::Complex2* get_frontend () const { return frontend; }
65 MEAL::Complex2* get_frontend () { return frontend; }
66 };
67
68}
69
70#endif
71
BackendFeed()
Default constructor.
Definition BackendFeed.C:26
const MEAL::Complex2 * get_frontend() const
Provide access to the frontend model.
Definition BackendFeed.h:64
~BackendFeed()
Destructor.
Definition BackendFeed.C:45
BackendFeed()
Default constructor.
Definition BackendFeed.C:26
virtual void set_constant_orientation(bool flag=true)=0
Fix the orientation of the frontend.
virtual void set_cyclic(bool flag)
Set cyclical bounds on angular quantities.
Definition BackendFeed.C:51
const BackendFeed & operator=(const BackendFeed &s)
Assignment Operator.
Definition BackendFeed.C:38
const VariableBackend * get_backend() const
Provide access to the backend model.
Definition BackendFeed.C:60
Physical parameterization of the instrumental response.
Definition VariableBackend.h:31

Generated using doxygen 1.14.0