IQRBaseline.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2019 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/General/Pulsar/IQRBaseline.h
10 
11 #ifndef __Pulsar_IQRBaseline_h
12 #define __Pulsar_IQRBaseline_h
13 
14 #include "Pulsar/IterativeBaseline.h"
15 
16 namespace Pulsar {
17 
19  class IQRBaseline : public IterativeBaseline
20  {
21 
22  public:
23 
25  IQRBaseline ();
26 
29 
31  class Interface;
32 
34  IQRBaseline* clone () const;
35 
36  protected:
37 
38  void get_bounds (PhaseWeight* weight, float& lower, float& upper);
39 
40  };
41 
42 }
43 
44 #endif
Stores a weight for each Profile phase bin.
Definition: PhaseWeight.h:29
TextInterface::Parser * get_interface()
Return a text interface that can be used to configure this instance.
Definition: IQRBaseline.C:71
IQRBaseline()
Default constructor.
Definition: IQRBaseline.C:19
void get_bounds(PhaseWeight *weight, float &lower, float &upper)
Derived classes must define the bounds.
Definition: IQRBaseline.C:29
IQRBaseline * clone() const
Return a copy constructed instance of self.
Definition: IQRBaseline.C:24
Defines the PSRCHIVE library.
Definition: CalSource.h:17
Finds a baseline that falls within the the inter-quartile range.
Definition: IQRBaseline.h:24

Generated using doxygen 1.8.17