ZeroPadShift.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2009 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/Timing/Pulsar/ZeroPadShift.h
10 
11 #ifndef __Pulsar_ZeroPadShift_h
12 #define __Pulsar_ZeroPadShift_h
13 
14 #include "Pulsar/ProfileStandardShift.h"
15 #include "Pulsar/Config.h"
16 
17 namespace Pulsar {
18 
20  class ZeroPadShift : public ProfileStandardShift
21  {
22 
23  public:
24 
26  static Option<unsigned> interpolate;
27 
29  Estimate<double> get_shift () const;
30 
33  { return new EmptyInterface<ZeroPadShift> ("ZPS"); }
34 
36  ZeroPadShift* clone () const { return new ZeroPadShift(*this); }
37 
38  };
39 
40 }
41 
42 
43 #endif // !defined __Pulsar_ZeroPadShift_h
static Option< unsigned > interpolate
Interpolate by this factor.
Definition: ZeroPadShift.h:36
Estimates phase shift in Fourier domain using zero-pad interpolation.
Definition: ZeroPadShift.h:25
Estimate< double > get_shift() const
Return the shift estimate.
Definition: ZeroPadShift.C:23
TextInterface::Parser * get_interface()
Return a text interface that can be used to configure this instance.
Definition: ZeroPadShift.h:42
Defines the PSRCHIVE library.
Definition: CalSource.h:17
ZeroPadShift * clone() const
Return a copy constructed instance of self.
Definition: ZeroPadShift.h:46

Generated using doxygen 1.8.17