PhaseSNR.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/PhaseSNR.h
10
11#ifndef __Pulsar_PhaseSNR_h
12#define __Pulsar_PhaseSNR_h
13
14#include "Pulsar/SNRatioEstimator.h"
15#include <vector>
16
17namespace Pulsar {
18
20
27 {
28
29 public:
30
32 float get_snr (const Profile* profile);
33
36
38 class Interface;
39
41 PhaseSNR* clone () const;
42
43 };
44
45}
46
47#endif
48
Calculates the signal-to-noise ratio using old default algorithm.
Definition PhaseSNR.h:27
TextInterface::Parser * get_interface()
Return a text interface that can be used to configure this instance.
Definition PhaseSNR.C:70
PhaseSNR * clone() const
Return a copy constructed instance of self.
Definition PhaseSNR.C:76
float get_snr(const Profile *profile)
Return the signal to noise ratio based on the shift.
Definition PhaseSNR.C:19
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