Logarithm.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2020 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/General/Pulsar/Logarithm.h
10 
11 #ifndef __Pulsar_Logarithm_h
12 #define __Pulsar_Logarithm_h
13 
14 #include "Pulsar/Transformation.h"
15 
16 namespace Pulsar {
17 
18  class Profile;
19 
21  class Logarithm : public Transformation<Profile> {
22 
23  public:
24 
27 
29  ~Logarithm ();
30 
32  void transform (Profile* profile);
33 
34  };
35 
36 }
37 
38 #endif
~Logarithm()
Destructor.
Definition: Logarithm.C:17
void transform(Profile *profile)
Logarithm the given Profile.
Definition: Logarithm.C:21
Any quantity recorded as a function of pulse phase.
Definition: Profile.h:45
Logarithm()
Default constructor.
Definition: Logarithm.C:13
Defines the PSRCHIVE library.
Definition: CalSource.h:17
void logarithm(double base=10.0, double threshold=0.0)
calculate the logarithm of each bin with value greater than threshold
Definition: Profile.C:413

Generated using doxygen 1.8.17