ExponentialBaseline.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2005 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/More/General/Pulsar/ExponentialBaseline.h
10
11#ifndef __Pulsar_ExponentialBaseline_h
12#define __Pulsar_ExponentialBaseline_h
13
14#include "Pulsar/IterativeBaseline.h"
15
16namespace Pulsar {
17
20
21 public:
22
25
28
30 class Interface;
31
33 ExponentialBaseline* clone () const;
34
36 void set_threshold (float sigma);
37
38 protected:
39
42
43 void get_bounds (PhaseWeight* weight, float& lower, float& upper);
44
45 };
46
47}
48
49#endif
void get_bounds(PhaseWeight *weight, float &lower, float &upper)
Derived classes must define the bounds.
Definition ExponentialBaseline.C:43
TextInterface::Parser * get_interface()
Return a text interface that can be used to configure this instance.
Definition ExponentialBaseline.C:77
void set_threshold(float sigma)
Set the threshold below which samples are included in the baseline.
Definition ExponentialBaseline.C:29
ExponentialBaseline()
Default constructor.
Definition ExponentialBaseline.C:18
float moment_correction
Adjustment when computing variance of samples below threshold.
Definition ExponentialBaseline.h:41
ExponentialBaseline * clone() const
Return a copy constructed instance of self.
Definition ExponentialBaseline.C:23
IterativeBaseline()
Default constructor.
Definition IterativeBaseline.C:27
Stores a weight for each Profile phase bin.
Definition PhaseWeight.h:24
Defines the PSRCHIVE library.
Definition CalSource.h:17

Generated using doxygen 1.14.0