CalInfoExtension.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2003 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/Base/Extensions/Pulsar/CalInfoExtension.h
10 
11 #ifndef __CalInfoExtension_h
12 #define __CalInfoExtension_h
13 
14 #include "Pulsar/ArchiveExtension.h"
15 
16 namespace Pulsar {
17 
19 
23  class CalInfoExtension : public Pulsar::Archive::Extension {
24 
25  public:
26 
29 
31  CalInfoExtension (const CalInfoExtension& extension);
32 
34  const CalInfoExtension& operator= (const CalInfoExtension& extension);
35 
38 
40  CalInfoExtension* clone () const { return new CalInfoExtension( *this ); }
41 
43 
45  std::string cal_mode;
46 
48  double cal_frequency;
49 
51  double cal_dutycycle;
52 
54  double cal_phase;
55 
57  int cal_nstate;
58 
59  };
60 
61 
62 }
63 
64 #endif
double cal_frequency
Calibrator frequency.
Definition: CalInfoExtension.h:58
const CalInfoExtension & operator=(const CalInfoExtension &extension)
Operator =.
Definition: CalInfoExtension.C:29
~CalInfoExtension()
Destructor.
Definition: CalInfoExtension.C:41
double cal_phase
Calibrator phase.
Definition: CalInfoExtension.h:64
std::string cal_mode
Cal mode (As defined by the ATNF TCS: OFF, SYNC, EXT1, EXT2)
Definition: CalInfoExtension.h:55
CalInfoExtension()
Default constructor.
Definition: CalInfoExtension.C:10
double cal_dutycycle
Calibrator duty-cycle.
Definition: CalInfoExtension.h:61
Definition: ArchiveExtension.h:28
Defines the PSRCHIVE library.
Definition: CalSource.h:17
Stores information about the reference source (ATNF)
Definition: CalInfoExtension.h:28
CalInfoExtension * clone() const
Clone method.
Definition: CalInfoExtension.h:50
int cal_nstate
Number of different states during cal period.
Definition: CalInfoExtension.h:67

Generated using doxygen 1.8.17