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
17namespace Pulsar {
18
20
22 {
23
24 public:
25
27 Meta (const Archive*);
28
30 std::string get_telescope () const;
31 void set_telescope (std::string);
32
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_absolute_dispersion_corrected (bool);
72
75 void set_absolute_birefringence_corrected (bool);
76
78 void set_strategy (Profile::Strategies*);
79
80 protected:
81
82 double centre_frequency = 0.0;
83 double bandwidth = 0.0;
84
85 double dispersion_measure = 0.0;
86 bool dedispersed = false;
87
88 double rotation_measure = 0.0;
89 bool faraday_corrected = false;
90
91 Signal::Basis basis;
92 Signal::State state;
93
94 bool absolute_dispersion_corrected = false;
95 bool absolute_birefringence_corrected = false;
96
97 std::string telescope;
98 sky_coord coordinates;
99
100 mutable Reference::To<Profile::Strategies> strategy;
101 };
102
103}
104
105#endif
Stores otherwise shared attributes of orphaned Integrations.
Definition IntegrationMeta.h:22
friend class Archive
The Extensions added to this Integration instance.
Definition Integration.h:440
Manages the strategies that implement algorithms.
Definition ProfileStrategies.h:22
bool get_absolute_birefringence_corrected() const
Absolute inter-channel birefringence has been removed.
Definition IntegrationMeta.C:165
double get_bandwidth() const
Get the bandwidth (in MHz)
Definition IntegrationMeta.C:77
sky_coord get_coordinates() const
Source coordinates.
Definition IntegrationMeta.C:55
bool get_faraday_corrected() const
Data has been corrected for ISM faraday rotation.
Definition IntegrationMeta.C:121
bool get_absolute_dispersion_corrected() const
Absolute inter-channel dispersion delay has been removed.
Definition IntegrationMeta.C:154
std::string get_telescope() const
Name of the telescope.
Definition IntegrationMeta.C:45
Signal::State get_state() const
Get the polarimetric state of the profiles.
Definition IntegrationMeta.C:143
bool get_dedispersed() const
Inter-channel dispersion delay has been removed.
Definition IntegrationMeta.C:99
Signal::Basis get_basis() const
Get the feed configuration of the receiver.
Definition IntegrationMeta.C:132
double get_dispersion_measure() const
Get the dispersion measure (in )
Definition IntegrationMeta.C:88
double get_centre_frequency() const
Get the centre frequency (in MHz)
Definition IntegrationMeta.C:66
Meta(const Archive *)
Construct from the parent Archive instance.
Definition IntegrationMeta.C:16
double get_rotation_measure() const
Get the rotation measure (in )
Definition IntegrationMeta.C:110
Profile::Strategies * get_strategy() const
Returns the strategy manager.
Definition StrategySet.C:153
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0