InstrumentInfo.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2003-2009 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/Polarimetry/Pulsar/InstrumentInfo.h
10 
11 #ifndef __Pulsar_InstrumentInfo_H
12 #define __Pulsar_InstrumentInfo_H
13 
14 #include "Pulsar/BackendFeedInfo.h"
15 #include "Pulsar/Instrument.h"
16 
17 namespace Pulsar {
18 
20  class InstrumentInfo : public BackendFeedInfo {
21 
22  public:
23 
25  InstrumentInfo (const PolnCalibrator* calibrator);
26 
28  std::string get_title () const;
29 
31  std::string get_name_feed (unsigned iclass) const;
32 
34  Estimate<float> get_param_feed (unsigned ichan, unsigned iclass,
35  unsigned iparam) const;
36 
37  protected:
38 
40  bool fixed_orientation;
41 
42  };
43 
44 }
45 
46 #endif
Phenomenological description of the instrument.
Definition: Instrument.h:31
std::string get_title() const
Return the title.
Definition: InstrumentInfo.C:53
InstrumentInfo(const PolnCalibrator *calibrator)
Constructor.
Definition: InstrumentInfo.C:14
Estimate< double > get_ellipticity(unsigned ireceptor) const
Get the ellipticity, , of the specified receptor in radians.
Definition: Instrument.C:82
bool fixed_orientation
set true when the orientation of receptor 0 is set to zero
Definition: InstrumentInfo.h:50
std::string get_name_feed(unsigned iclass) const
Return the name of the specified class.
Definition: InstrumentInfo.C:59
Estimate< float > get_param_feed(unsigned ichan, unsigned iclass, unsigned iparam) const
Return the estimate of the specified parameter.
Definition: InstrumentInfo.C:79
static unsigned verbose
Verbosity level.
Definition: Calibrator.h:40
Polarimetric calibrators.
Definition: PolnCalibrator.h:41
Communicates BackendFeed parameters to plotting routines.
Definition: BackendFeedInfo.h:24
Defines the PSRCHIVE library.
Definition: CalSource.h:17
Estimate< double > get_orientation(unsigned ireceptor) const
Get the orientation, , of the specified receptor in radians.
Definition: Instrument.C:73

Generated using doxygen 1.8.17