IntegrationMeta.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2008 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/Base/Classes/Pulsar/IntegrationMeta.h
10 
11 #ifndef __Pulsar_Integration_Meta_h
12 #define __Pulsar_Integration_Meta_h
13 
14 #include "Pulsar/Integration.h"
15 #include "sky_coord.h"
16 
17 namespace Pulsar {
18 
20 
21  class Integration::Meta : public Reference::Able
22  {
23 
24  public:
25 
27  Meta (const Archive*);
28 
30  std::string get_telescope () const;
31  void set_telescope (std::string);
32 
34  sky_coord get_coordinates () const;
35  void set_coordinates (const sky_coord &);
36 
38  double get_centre_frequency() const;
39  void set_centre_frequency (double);
40 
42  double get_bandwidth() const;
43  void set_bandwidth (double);
44 
46  double get_dispersion_measure () const;
47  void set_dispersion_measure (double);
48 
50  bool get_dedispersed () const;
51  void set_dedispersed (bool);
52 
54  double get_rotation_measure () const;
55  void set_rotation_measure (double);
56 
58  bool get_faraday_corrected () const;
59  void set_faraday_corrected (bool);
60 
62  Signal::Basis get_basis () const;
63  void set_basis (Signal::Basis);
64 
66  Signal::State get_state () const;
67  void set_state (Signal::State);
68 
71  void set_auxiliary_dispersion_corrected (bool);
72 
75  void set_auxiliary_birefringence_corrected (bool);
76 
77  Profile::Strategies* get_strategy ();
78  void set_strategy (Profile::Strategies*);
79 
80  protected:
81 
82  double centre_frequency;
83  double bandwidth;
84 
85  double dispersion_measure;
86  bool dedispersed;
87 
88  double rotation_measure;
89  bool faraday_corrected;
90 
91  Signal::Basis basis;
92  Signal::State state;
93 
94  bool auxiliary_dispersion_corrected;
95  bool auxiliary_birefringence_corrected;
96 
97  std::string telescope;
98  sky_coord coordinates;
99 
100  mutable Reference::To<Profile::Strategies> strategy;
101  };
102 
103 }
104 
105 #endif
bool get_auxiliary_dispersion_corrected() const
Auxiliary inter-channel dispersion delay has been removed.
Definition: IntegrationMeta.C:154
bool get_faraday_corrected() const
Data has been corrected for ISM faraday rotation.
Definition: IntegrationMeta.C:121
The primary interface to pulsar observational data.
Definition: Archive.h:45
Meta(const Archive *)
Construct from the parent Archive instance.
Definition: IntegrationMeta.C:16
bool get_dedispersed() const
Inter-channel dispersion delay has been removed.
Definition: IntegrationMeta.C:99
double get_rotation_measure() const
Get the rotation measure (in )
Definition: IntegrationMeta.C:110
friend class Archive
The Extensions added to this Integration instance.
Definition: Integration.h:427
Signal::State get_state() const
Get the polarimetric state of the profiles.
Definition: IntegrationMeta.C:143
Signal::Basis get_basis() const
Get the feed configuration of the receiver.
Definition: IntegrationMeta.C:132
std::string get_telescope() const
Name of the telescope.
Definition: IntegrationMeta.C:45
Reference::To< const Archive, false > parent
The Archive that manages this integration.
Definition: Integration.h:488
double get_centre_frequency() const
Get the centre frequency (in MHz)
Definition: IntegrationMeta.C:66
Auxiliary cold plasma dispersion and birefringence corrections.
Definition: AuxColdPlasma.h:26
double get_bandwidth() const
Get the bandwidth (in MHz)
Definition: IntegrationMeta.C:77
Defines the PSRCHIVE library.
Definition: CalSource.h:17
double get_dispersion_measure() const
Get the dispersion measure (in )
Definition: IntegrationMeta.C:88
bool get_auxiliary_birefringence_corrected() const
Auxiliary inter-channel birefringence has been removed.
Definition: IntegrationMeta.C:165
sky_coord get_coordinates() const
Source coordinates.
Definition: IntegrationMeta.C:55

Generated using doxygen 1.8.17