counter_drift.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2006 by Haydon Knight
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 #ifndef __Pulsar_counter_drift_h
10 #define __Pulsar_counter_drift_h
11 
12 #include "MJD.h"
13 #include <vector>
14 
15 namespace Pulsar {
16 
17  class Archive;
18 
20  void counter_drift (Archive* archive,
21  double trial_p, double trial_pdot=0.0, MJD reference_time = MJD::zero);
22 
24  void counter_frequency_drift (Archive* archive,
25  double trial_nu0, double trial_nu1,
26  MJD reference_time = MJD::zero);
27 
29  void multi_counter_fdrift (Archive* archive,
30  std::vector<double> nus,
31  MJD reference_time = MJD::zero);
32 
33 }
34 
35 #endif
void counter_drift(Archive *archive, double trial_p, double trial_pdot=0.0, MJD reference_time=MJD::zero)
Rotates subints to counter a drifting pulse due to incorrect P/Pdot.
Definition: counter_drift.C:17
The primary interface to pulsar observational data.
Definition: Archive.h:45
void multi_counter_fdrift(Archive *archive, std::vector< double > nus, MJD reference_time=MJD::zero)
Same as above, but takes multiple frequency derivatives.
Definition: counter_drift.C:70
Defines the PSRCHIVE library.
Definition: CalSource.h:17
void counter_frequency_drift(Archive *archive, double trial_nu0, double trial_nu1, MJD reference_time=MJD::zero)
Same as above, but inputs are in frequency domain.
Definition: counter_drift.C:43

Generated using doxygen 1.8.17