MeanPhase.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2018 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/More/Timing/Pulsar/MeanPhase.h
10
11#ifndef __Pulsar_MeanPhase_h
12#define __Pulsar_MeanPhase_h
13
14#include "Pulsar/ProfileShiftEstimator.h"
15#include "Pulsar/Config.h"
16
17namespace Pulsar {
18
21 {
22
23 public:
24
27
31
33 MeanPhase* clone () const { return new MeanPhase(*this); }
34
35 };
36
37}
38
39
40#endif // !defined __Pulsar_MeanPhase_h
Convenience interface used to add ShiftEstimator children to factory.
Definition ShiftEstimator.h:60
Estimates phase shift using the weighted mean sine and cosine of phase.
Definition MeanPhase.h:21
Estimate< double > get_shift() const
Return the shift estimate.
Definition MeanPhase.C:13
MeanPhase * clone() const
Return a copy constructed instance of self.
Definition MeanPhase.h:33
TextInterface::Parser * get_interface()
Return a text interface that can be used to configure this instance.
Definition MeanPhase.h:29
Algorithms that estimate the phase shift from a single pulse profile.
Definition ProfileShiftEstimator.h:21
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0