Correlate.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2012 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/psrchive/More/General/Pulsar/Correlate.h
10 
11 #ifndef __Pulsar_Correlate_h
12 #define __Pulsar_Correlate_h
13 
14 #include "Pulsar/Combination.h"
15 #include "Pulsar/Profile.h"
16 
17 namespace Pulsar {
18 
20  class Correlate : public Combination<Profile>
21  {
22 
23  public:
24 
26  Correlate () { normalize = true; }
27 
28  void transform (Profile*);
29 
30  protected:
31 
32  bool normalize;
33  };
34 
35 }
36 
37 #endif
void correlate_normalized(const Profile *profile)
cross-correlates and normalizes this with the given profile in time domain
Definition: Profile_convolve.C:24
Any quantity recorded as a function of pulse phase.
Definition: Profile.h:45
void transform(Profile *)
Defined by derived classes.
Definition: Correlate.C:11
void correlate(const Profile *profile)
cross-correlates this with the given profile in time domain
Definition: Profile_convolve.C:19
Correlate()
By default, call Profile::correlate_normalized.
Definition: Correlate.h:36
Defines the PSRCHIVE library.
Definition: CalSource.h:17
const Profile * get_operand() const
Get the Container from which data will be taken during transformation.
Definition: Combination.h:38

Generated using doxygen 1.8.17