OffPulseCalibrator.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2005 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/Polarimetry/Pulsar/OffPulseCalibrator.h
10 
11 #ifndef __Pulsar_OffPulseCalibrator_H
12 #define __Pulsar_OffPulseCalibrator_H
13 
14 #include "Pulsar/SingleAxisCalibrator.h"
15 
16 namespace Pulsar {
17 
19 
28  class OffPulseCalibrator : public SingleAxisCalibrator {
29 
30  public:
31 
33  OffPulseCalibrator (const Archive* archive);
34 
37 
39  void calibrate (Archive* archive);
40 
41  protected:
42 
44  void extra (unsigned ichan,
45  const std::vector< Estimate<double> >& source,
46  const std::vector< Estimate<double> >& sky);
47 
48  };
49 
50 }
51 
52 
53 #endif
void baseline_stats(std::vector< std::vector< Estimate< double > > > *mean, std::vector< std::vector< double > > *variance=0, const PhaseWeight *baseline=0) const
Return the statistics of every profile baseline.
Definition: Integration_remove_baseline.C:54
virtual void calibrate(Archive *archive)
Calibrate the polarization of the given archive.
Definition: PolnCalibrator.C:874
void calibrate(Archive *archive)
Calibrate the polarization of the given archive.
Definition: OffPulseCalibrator.C:45
The primary interface to pulsar observational data.
Definition: Archive.h:45
void set_diff_gain(const Estimate< double > &gamma)
Set the differential gain, , in hyperbolic radians.
Definition: SingleAxis.C:117
Array of Profiles integrated over the same time interval.
Definition: Integration.h:37
Instrumental gain, differential gain, and differential phase.
Definition: SingleAxis.h:38
void extra(unsigned ichan, const std::vector< Estimate< double > > &source, const std::vector< Estimate< double > > &sky)
Disable the differential gain correction.
Definition: OffPulseCalibrator.C:30
~OffPulseCalibrator()
Destructor.
Definition: OffPulseCalibrator.C:25
Defines the PSRCHIVE library.
Definition: CalSource.h:17
Represents the system as a Calibration::SingleAxis.
Definition: SingleAxisCalibrator.h:26
Profile * get_Profile(unsigned ipol, unsigned ichan)
Returns a pointer to the Profile given by the specified indeces.
Definition: Integration.C:306
OffPulseCalibrator(const Archive *archive)
Construct from an single PolnCal Pulsar::Archive.
Definition: OffPulseCalibrator.C:20

Generated using doxygen 1.8.17