OnPulseStatic.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2011 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/More/General/Pulsar/OnPulseStatic.h
10
11#ifndef __Pulsar_OnPulseStatic_h
12#define __Pulsar_OnPulseStatic_h
13
14#include "Pulsar/OnPulseEstimator.h"
15
16namespace Pulsar
17{
18 class OnPulseStatic : public OnPulseEstimator
19 {
20
21 public:
22
24 TextInterface::Parser* get_interface ();
25
27 class Interface;
28
30 OnPulseStatic* clone () const;
31
32 protected:
33
35 void calculate (PhaseWeight* weight);
36 };
37}
38
39#endif // !defined __Pulsar_OnPulseStatic_h
ProfileWeight algorithms that compute on-pulse phase bins.
Definition OnPulseEstimator.h:20
virtual OnPulseEstimator * clone() const =0
Return a copy constructed instance of self.
virtual TextInterface::Parser * get_interface()=0
Return a text interface that can be used to configure this instance.
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0