StandardData.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/StandardData.h
10 
11 #ifndef __Calibration_StandardData_H
12 #define __Calibration_StandardData_H
13 
14 #include "Pulsar/PolnProfileStats.h"
15 #include "MEAL/NormalizeStokes.h"
16 
17 namespace Calibration {
18 
20 
50  class StandardData : public Reference::Able {
51 
52  public:
53 
55 
56  StandardData (const Pulsar::PolnProfile* select = 0);
57 
59  void select_profile (const Pulsar::PolnProfile*);
60 
62  void set_profile (const Pulsar::PolnProfile*);
63 
65  void set_normalize (bool);
66 
68  Stokes< Estimate<double> > get_stokes (unsigned ibin);
69 
72 
73  protected:
74 
77 
78  Estimate<double> total_determinant;
79 
80  };
81 
82 }
83 
84 #endif
void set_profile(const Pulsar::PolnProfile *)
Set the profile from which estimates will be derived.
Definition: StandardData.C:36
void set_normalize(bool)
Normalize estimates by the average determinant.
Definition: StandardData.C:49
Stokes< Estimate< double > > get_stokes(unsigned ibin)
Get the Stokes parameters of the specified phase bin.
Definition: StandardData.C:63
Polarimetric pulse profile transformations and derivations.
Definition: PolnProfile.h:34
void select_profile(const Pulsar::PolnProfile *)
Select the baseline and on-pulse regions from profile.
Definition: StandardData.C:26
Pulsar::PolnProfileStats * get_poln_stats()
Get the algorithm used to compute the profile statistics.
Definition: StandardData.C:86
Computes polarimetric pulse profile statistics.
Definition: PolnProfileStats.h:27
StandardData(const Pulsar::PolnProfile *select=0)
Default constructor.
Definition: StandardData.C:17

Generated using doxygen 1.8.17