Calibration::SourceDeltaEstimate Class Reference

Manages a delta source and the current best estimate of the total. More...

#include <SourceDeltaEstimate.h>

Inheritance diagram for Calibration::SourceDeltaEstimate:
Calibration::SourceEstimate Reference::Able Reference::HeapTracked

Public Member Functions

 SourceDeltaEstimate (int ibin=-1)
 Construct with the specified bin from Archive.
 
void create_source (ReceptionModel *equation)
 Create the source and add it to the measurement equation.
 
void set_baseline (SourceEstimate *)
 Set the baseline to which the delta is added.
 
bool has_baseline () const
 Return true if baseline is set.
 
bool has_total () const
 Return true if total is set.
 
- Public Member Functions inherited from Calibration::SourceEstimate
 SourceEstimate (int ibin=-1)
 Construct with the specified bin from Archive.
 
void update ()
 Update source with the estimate. More...
 
unsigned get_input_index () const
 
bool is_constrained () const
 Return true if the last/top source estimate has data to constrain it.
 
void report_input_failed (std::ostream &) const
 Report the input data fail rate.
 
- Public Member Functions inherited from Reference::Able
 Able (const Able &)
 
Ableoperator= (const Able &)
 
unsigned get_reference_count () const
 
- Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
 
HeapTrackedoperator= (const HeapTracked &)
 
bool __is_on_heap () const
 

Protected Member Functions

void update_work ()
 does the work for update method, which does some generic extra bits More...
 
- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 
void __dereference (bool auto_delete=true) const
 

Protected Attributes

Reference::To< MEAL::SumRule< MEAL::Complex2 > > total
 
Reference::To< SourceEstimatebaseline
 

Additional Inherited Members

- Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
 
- Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
 
static void operator delete (void *location, void *ptr)
 
static void operator delete (void *location)
 
static size_t get_heap_queue_size ()
 
- Public Attributes inherited from Calibration::SourceEstimate
Reference::To< MEAL::Coherencysource
 Model of Stokes parameters.
 
MeanCoherency estimate
 Best estimate (first guess) of Stokes parameters.
 
bool valid
 Validity flag for this estimate.
 
int phase_bin
 Phase bin from which pulsar polarization is derived.
 
unsigned input_index
 The index of the source in the model.
 
unsigned add_data_attempts
 Count attempts to add data for this state.
 
unsigned add_data_failures
 Count failures to add data for this state.
 

Detailed Description

Manages a delta source and the current best estimate of the total.

Member Function Documentation

◆ update_work()

void Calibration::SourceDeltaEstimate::update_work ( )
protectedvirtual

does the work for update method, which does some generic extra bits

Update the best guess of each unknown input state

Reimplemented from Calibration::SourceEstimate.


The documentation for this class was generated from the following files:

Generated using doxygen 1.8.17