CalibratorTypeInterface.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2012 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/Base/Types/Pulsar/CalibratorTypeInterface.h
10 
11 #ifndef __Pulsar_CalibratorTypeInterface_h
12 #define __Pulsar_CalibratorTypeInterface_h
13 
14 #include "Pulsar/CalibratorType.h"
15 #include "TextInterface.h"
16 
17 namespace Pulsar
18 {
20  class Calibrator::Type::Interface
21  : public TextInterface::To<const Calibrator::Type>
22  {
23  public:
24  Interface (const Calibrator::Type* = 0);
25  };
26 
27 }
28 
29 #endif
void add(T(P::*get)() const, const char *name, const char *description=0)
Phenomenological description of the instrument.
Definition: Instrument.h:31
van Straten (2004; ApJSS 152:129), equation 18
Definition: CalibratorTypes.h:155
Polarization and flux calibrators.
Definition: Calibrator.h:34
virtual bool is_a(const Type *that) const
Return true if that is a this.
Definition: CalibratorType.C:29
Britton (2000; ApJ 532:1240), equation 19, with isolated degeneracy.
Definition: CalibratorTypes.h:143
Phenomenological description of the instrument.
Definition: Britton2000.h:35
MEAL::Complex2 * transformation_factory(const std::string &name)
Create a new transformation instance based on the Calibrator::Type name.
Definition: CalibratorType_factory.C:89
virtual unsigned get_nparam() const =0
Return the number of parameters that describe the transformation.
Gain, differential gain and differential phase.
Definition: CalibratorTypes.h:55
Reference::To< Type > type
The type of the Calibrator.
Definition: Calibrator.h:115
static unsigned verbose
Verbosity level.
Definition: Calibrator.h:40
Represents the system as a polar decomposition.
Definition: PolarCalibrator.h:25
Instrumental gain, differential gain, and differential phase.
Definition: SingleAxis.h:38
static Type * factory(const std::string &name)
Construct a new instance of Calibrator::Type, based on name.
Definition: CalibratorType.C:12
MEAL::Complex2 * load_transformation(const std::string &filename)
Load a new transformation instance from file.
Definition: CalibratorType_factory.C:94
Definition: CalibratorType.h:30
virtual std::string get_name() const=0
virtual std::string get_name() const
Return the name of the calibrator type.
Definition: CalibratorType.h:46
MEAL::Complex2 * new_transformation(const PolnCalibratorExtension *, unsigned ichan)
Create a new transformation instance described by the extension.
Definition: PolnCalibratorExt.C:126
Unpublished polar decomposition.
Definition: CalibratorTypes.h:109
Calibrator::Type * new_CalibratorType(const MEAL::Complex2 *xform)
Create a new Calibrator::Type instance according to the transformation.
Definition: CalibratorType_factory.C:61
Defines the PSRCHIVE library.
Definition: CalSource.h:17
Represents the system as a Calibration::SingleAxis.
Definition: SingleAxisCalibrator.h:26
Britton (2000; ApJ 532:1240), equation 19.
Definition: CalibratorTypes.h:130
van Straten (2002; ApJ 568:436), equation A1
Definition: CalibratorTypes.h:68

Generated using doxygen 1.8.17