AdaptiveSNR.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2004 - 2016 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/More/General/Pulsar/AdaptiveSNR.h
10
11#ifndef __Pulsar_AdaptiveSNR_h
12#define __Pulsar_AdaptiveSNR_h
13
14#include "Pulsar/SNRatioEstimator.h"
15
16namespace Pulsar {
17
19
22
23 public:
24
26 AdaptiveSNR ();
27
29 ~AdaptiveSNR ();
30
33
34 ProfileWeightFunction* get_baseline_estimator () const;
35
37 float get_snr (const Profile* profile);
38
41
43 class Interface;
44
46 AdaptiveSNR* clone () const;
47
48 protected:
49
52
53 };
54
55}
56
57#endif
AdaptiveSNR()
Default constructor.
Definition AdaptiveSNR.C:18
TextInterface::Parser * get_interface()
Return a text interface that can be used to configure this instance.
Definition AdaptiveSNR.C:99
Reference::To< ProfileWeightFunction > baseline_estimator
The function used to compute the baseline.
Definition AdaptiveSNR.h:51
void set_baseline_estimator(ProfileWeightFunction *function)
Set the function used to compute the baseline.
Definition AdaptiveSNR.C:29
~AdaptiveSNR()
Destructor.
Definition AdaptiveSNR.C:23
AdaptiveSNR * clone() const
Return a copy constructed instance of self.
Definition AdaptiveSNR.C:105
float get_snr(const Profile *profile)
Return the signal to noise ratio.
Definition AdaptiveSNR.C:44
PhaseWeight algorithms that receive an input Profile.
Definition ProfileWeightFunction.h:22
Any quantity recorded as a function of pulse phase.
Definition Profile.h:40
Algorithms that estimate the signal-to-noise ratio of pulse profiles.
Definition SNRatioEstimator.h:23
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0