ProfileStandardShift.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/ProfileStandardShift.h
10 
11 #ifndef __Pulsar_ProfileStandardShift_h
12 #define __Pulsar_ProfileStandardShift_h
13 
14 #include "Pulsar/ProfileShiftEstimator.h"
15 
16 namespace Pulsar {
17 
19  class ProfileStandardShift : public ProfileShiftEstimator
20  {
21 
22  public:
23 
25  virtual void set_standard (const Profile* p) { standard = p; }
26 
28  const Profile* get_standard () const { return standard; }
29 
30  protected:
31 
33  };
34 
35 }
36 
37 
38 #endif // !defined __Pulsar_ProfileStandardShift_h
const Profile * get_standard() const
Get the profile with respect to which the shift will be estimated.
Definition: ProfileStandardShift.h:38
Defines the PSRCHIVE library.
Definition: CalSource.h:17
virtual void set_standard(const Profile *p)
Set the profile with respect to which the shift will be estimated.
Definition: ProfileStandardShift.h:35

Generated using doxygen 1.8.17