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
16namespace Pulsar {
17
18 class Correlate;
19 class Smooth;
20 class RemoveBaseline;
21
22 class ProfileInterpreter : public Interpreter::Extension
23 {
24
25 public:
26
28 ProfileInterpreter ();
29
31 ~ProfileInterpreter ();
32
34 std::string baseline (const std::string& args);
35
37 std::string scale (const std::string& args);
38
40 std::string logarithm (const std::string& args);
41
43 std::string cumulative (const std::string& args);
44
46 std::string difference (const std::string& args);
47
49 std::string detrend (const std::string& args);
50
52 std::string mean (const std::string& args);
53
55 std::string median (const std::string& args);
56
58 std::string sinc (const std::string& args);
59
61 std::string extract (const std::string& args);
62
64 std::string subtract (const std::string& args);
65
67 std::string convolve (const std::string& args);
68
70 std::string correlate (const std::string& args);
71
73 std::string empty ();
74
75 protected:
76
77 std::string smooth (Smooth*, const std::string& args);
78
79 Reference::To<RemoveBaseline> remove_baseline;
80
81 Reference::To<Correlate> correlator;
82 };
83
84}
85
86#endif
Computes the cross-correlation between two profiles.
Definition Correlate.h:21
Algorithms that remove the off-pulse baseline.
Definition RemoveBaseline.h:21
Profile smoothing algorithms.
Definition Smooth.h:24
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0