Manages a single source and its current best estimate (first guess) More...

#include <SourceEstimate.h>

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

Public Member Functions

 SourceEstimate (int ibin=-1)
 Construct with the specified bin from Archive.
 
virtual void create_source (ReceptionModel *equation)
 Create the source and add it to the measurement equation.
 
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
 

Public Attributes

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.
 

Protected Member Functions

virtual 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
 

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 ()
 

Detailed Description

Manages a single source and its current best estimate (first guess)

Member Function Documentation

◆ update()

void Calibration::SourceEstimate::update ( )

Update source with the estimate.

Update the best guess of each unknown input state

References Pulsar::Calibrator::verbose.

◆ update_work()

void Calibration::SourceEstimate::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 in Calibration::SourceDeltaEstimate.


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

Generated using doxygen 1.8.17