NoiseStatistics.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2004 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/More/General/Pulsar/NoiseStatistics.h
10
11#ifndef __Pulsar_NoiseStatistics_h
12#define __Pulsar_NoiseStatistics_h
13
14#include "ReferenceAble.h"
15
16namespace Pulsar {
17
18 class Profile;
19
21
44
46
47 public:
48
51
53 void set_baseline_fourier (float width);
54
56 void set_baseline_time (float width);
57
59 float get_nfnr (const Profile* profile);
60
61 protected:
62
63 float baseline_fourier;
64 float baseline_time;
65
66 };
67
68}
69
70#endif
NoiseStatistics()
Default constructor.
Definition NoiseStatistics.C:21
void set_baseline_time(float width)
Set the fractional number of phase bins used to calculate noise.
Definition NoiseStatistics.C:38
void set_baseline_fourier(float width)
Set the fractional number of high frequencies used to calculate noise.
Definition NoiseStatistics.C:28
float get_nfnr(const Profile *profile)
Return the noise to Fourier noise ratio.
Definition NoiseStatistics.C:48
Any quantity recorded as a function of pulse phase.
Definition Profile.h:40
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0