SourceDeltaEstimate.h
1 //-*-C++-*-
2 
3 /***************************************************************************
4  *
5  * Copyright (C) 2018 by Willem van Straten
6  * Licensed under the Academic Free License version 2.1
7  *
8  ***************************************************************************/
9 
10 // psrchive/More/Polarimetry/Pulsar/SourceDeltaEstimate.h
11 
12 #ifndef __Pulsar_SourceDeltaEstimate_H
13 #define __Pulsar_SourceDeltaEstimate_H
14 
15 #include "Pulsar/SourceEstimate.h"
16 
17 namespace Calibration
18 {
20  class SourceDeltaEstimate : public SourceEstimate
21  {
22  public:
23 
25  SourceDeltaEstimate (int ibin = -1) : SourceEstimate (ibin) {}
26 
28  void create_source (ReceptionModel* equation);
29 
32 
34  bool has_baseline () const;
35 
37  bool has_total () const;
38 
39  protected:
40 
42 
44 
46  void update_work ();
47  };
48 
49 }
50 
51 #endif
void update_work()
does the work for update method, which does some generic extra bits
Definition: SourceDeltaEstimate.C:54
Models a set of transformations and source polarizations.
Definition: ReceptionModel.h:32
bool has_total() const
Return true if total is set.
Definition: SourceDeltaEstimate.C:33
unsigned get_num_input() const
Get the number of input states.
Definition: MeasurementEquation.C:43
void set_baseline(SourceEstimate *)
Set the baseline to which the delta is added.
Definition: SourceDeltaEstimate.C:39
bool has_baseline() const
Return true if baseline is set.
Definition: SourceDeltaEstimate.C:28
void create_source(ReceptionModel *equation)
Create the source and add it to the measurement equation.
Definition: SourceDeltaEstimate.C:16
Manages a single source and its current best estimate (first guess)
Definition: SourceEstimate.h:30
SourceDeltaEstimate(int ibin=-1)
Construct with the specified bin from Archive.
Definition: SourceDeltaEstimate.h:35
virtual void add_input(Complex2 *state=0)
Add an input, , where = get_num_input.
Definition: MeasurementEquation.C:33

Generated using doxygen 1.8.17