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
17namespace Calibration {
18
20
49
51 {
52 public:
53
55
56 StandardData (const Pulsar::PolnProfile* select = 0);
57
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
75
76 protected:
77
80
82
84 };
85
86}
87
88#endif
StandardData(const Pulsar::PolnProfile *select=0)
Default constructor.
Definition StandardData.C:18
void set_profile(const Pulsar::PolnProfile *)
Set the profile from which estimates will be derived.
Definition StandardData.C:37
Pulsar::PolnProfileStats * get_poln_stats()
Get the algorithm used to compute the profile statistics.
Definition StandardData.C:75
void set_normalize(bool)
Normalize estimates by the average determinant.
Definition StandardData.C:47
Estimate< double > get_total_squared_invariant()
Get the total squared invariant used to normalize the Stokes parameters.
Definition StandardData.h:74
void select_profile(const Pulsar::PolnProfile *)
Select the baseline and on-pulse regions from profile.
Definition StandardData.C:27
Estimate< double > total_squared_invariant
The square of the invariant, integrated over all onpulse-phase bins,.
Definition StandardData.h:83
Stokes< Estimate< double > > get_stokes(unsigned ibin)
Get the Stokes parameters of the specified phase bin.
Definition StandardData.C:59
Computes polarimetric pulse profile statistics.
Definition PolnProfileStats.h:22
Polarimetric pulse profile transformations and derivations.
Definition PolnProfile.h:29

Generated using doxygen 1.14.0