Manages multiple flux calibrator observations. More...

#include <FluxCalManager.h>

Inheritance diagram for Calibration::FluxCalManager:
Reference::Able Reference::HeapTracked

Public Member Functions

 FluxCalManager (SignalPath *composite)
 Default constructor.
 
void set_backend (const MEAL::Complex2 *)
 Set the backend transformation to be cloned for each flux calibrator.
 
void add_observation (Signal::Source type)
 Add a new observation.
 
void integrate (Signal::Source type, const MEAL::Complex2 *)
 Integrate an estimate of the backend.
 
void integrate (const Jones< Estimate< double > > &correct, const SourceObservation &data)
 Integrate an estimate of the source.
 
void submit (CoherencyMeasurementSet &, const SourceObservation &)
 
unsigned get_nstate_on () const
 Get the number of independent FluxCalOn source states.
 
const SourceEstimateget_source_on (unsigned istate) const
 Return the Source estimate for the ith state.
 
unsigned get_nstate_off () const
 Get the number of independent FluxCalOff source states.
 
const SourceEstimateget_source_off (unsigned istate) const
 Return the Source estimate for the ith state.
 
void update ()
 Update all backend models with current best estimate.
 
bool is_constrained () const
 Return true if at least one complete flux calibrator observation.
 
const std::string & why_not_constrained () const
 Explain why if not constrained.
 
void allow_StokesV_to_vary (bool flag=true)
 
void model_multiple_source_states (bool flag=true)
 
void model_on_minus_off (bool flag=true)
 
- 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 add_backend (FluxCalObservation *)
 Add a new backend to the model.
 
void add_source (FluxCalObservation *)
 Add a new source to the model.
 
FluxCalObsVector & get_observations (Signal::Source source_type)
 Returns a reference to on_observations or off_observations.
 
void set_StokesV_infit (FluxCalObsVector &)
 Set the fit flag for Stokes V in each source state.
 
SourceEstimatecreate_SourceEstimate (Signal::Source)
 Create a new SourceEstimate of the required type.
 
- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 
void __dereference (bool auto_delete=true) const
 

Protected Attributes

Reference::To< MEAL::Complex2backend
 The backend transformation to be cloned for each flux calibrator.
 
Reference::To< MEAL::ProductRule< MEAL::Complex2 > > frontend
 The frontend component of the instrument.
 
Reference::To< SignalPath > composite
 The SignalPath manager into which signal paths are added.
 
FluxCalObsVector on_observations
 The set of on-source flux calibrator observations.
 
FluxCalObsVector off_observations
 The set of off-source flux calibrator observations.
 
Reference::To< SourceDeltaEstimatestandard_candle
 The difference between on-source and off-source calibrator observations. More...
 

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 multiple flux calibrator observations.

Whereas pulsar and reference source (noise diode) are assumed to be observed around the same time, the flux calibrator observation may be observed at a different time; therefore, for each flux calibrator observation, a unique backend transformation instance is created that is disengaged from any temporal variations.

Member Data Documentation

◆ standard_candle

Reference::To<SourceDeltaEstimate> Calibration::FluxCalManager::standard_candle
protected

The difference between on-source and off-source calibrator observations.

This attribute is used only when subtract_off_from_on is true


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

Generated using doxygen 1.8.17