SmoothMean.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2007 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/General/Pulsar/SmoothMean.h
10 
11 #ifndef __Pulsar_SmoothMean_h
12 #define __Pulsar_SmoothMean_h
13 
14 #include "Pulsar/Smooth.h"
15 
16 namespace Pulsar {
17 
19 
24  class SmoothMean : public Smooth {
25 
26  public:
27 
29  SmoothMean* clone () const;
30 
33 
35  class Interface;
36 
37  void transform (Profile*);
38 
39  };
40 
41 }
42 
43 #endif
SmoothMean * clone() const
Return a copy constructed instance of self.
Definition: SmoothMean.C:61
void transform(Profile *)
Defined by derived classes.
Definition: SmoothMean.C:15
const float * get_amps() const
Return a pointer to the amplitudes array.
Definition: ProfileAmps.C:141
void set_amps(const T *data)
set the amplitudes array equal to the contents of the data array
Definition: ProfileAmps.h:89
Any quantity recorded as a function of pulse phase.
Definition: Profile.h:45
Smooths a Profile using the mean over a boxcar.
Definition: SmoothMean.h:29
unsigned get_nbin() const
Return the number of bins.
Definition: ProfileAmps.h:50
TextInterface::Parser * get_interface()
Return a text-based interface to class properties.
Definition: SmoothMean.C:77
Profile smoothing algorithms.
Definition: Smooth.h:28
Defines the PSRCHIVE library.
Definition: CalSource.h:17

Generated using doxygen 1.8.17