ProfileInterpreter.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/ProfileInterpreter.h
10 
11 #ifndef __Pulsar_ProfileInterpreter_h
12 #define __Pulsar_ProfileInterpreter_h
13 
14 #include "Pulsar/InterpreterExtension.h"
15 
16 namespace Pulsar {
17 
18  class Smooth;
19  class RemoveBaseline;
20 
21  class ProfileInterpreter : public Interpreter::Extension
22  {
23 
24  public:
25 
27  ProfileInterpreter ();
28 
30  ~ProfileInterpreter ();
31 
33  std::string baseline (const std::string& args);
34 
36  std::string scale (const std::string& args);
37 
39  std::string logarithm (const std::string& args);
40 
42  std::string cumulative (const std::string& args);
43 
45  std::string difference (const std::string& args);
46 
48  std::string detrend (const std::string& args);
49 
51  std::string mean (const std::string& args);
52 
54  std::string median (const std::string& args);
55 
57  std::string sinc (const std::string& args);
58 
60  std::string extract (const std::string& args);
61 
63  std::string subtract (const std::string& args);
64 
66  std::string convolve (const std::string& args);
67 
69  std::string correlate (const std::string& args);
70 
72  std::string empty ();
73 
74  protected:
75 
76  std::string smooth (Smooth*, const std::string& args);
77 
78  Reference::To<RemoveBaseline> remove_baseline;
79  };
80 
81 }
82 
83 #endif
Defines the PSRCHIVE library.
Definition: CalSource.h:17
const Profile * get_Profile(const Archive *data, Index subint, Index pol, Index chan)
Return the requested profile, cloning and integrating when needed.
Definition: Index.C:24

Generated using doxygen 1.8.17