Calibration::VariableBackendEstimate Class Reference

Manages a variable backend and its best estimate. More...

#include <VariableBackendEstimate.h>

Inheritance diagram for Calibration::VariableBackendEstimate:
Calibration::BackendEstimate Reference::Able Reference::HeapTracked

Public Member Functions

 VariableBackendEstimate (MEAL::Complex2 *response=0)
 Construct using the supplied response.
void set_response (MEAL::Complex2 *xform)
 Set the response that contains the backend.
void add_model (MEAL::Complex2 *xform)
 Multiply psr_response by xform and cal_response by backend.
IndexedProduct * get_psr_response ()
 Get the response for pulsar observations.
IndexedProduct * get_cal_response ()
 Get the response for calibrator observations.
SingleAxisget_backend ()
 Get the backend component.
void set_psr_constant_gain (bool=true)
 Set true when the pulsar Stokes parameters have been normalized.
void set_cal_backend_only (bool=true)
 Set true when the cal signal is coupled after the feed.
void set_gain_variation (MEAL::Univariate< MEAL::Scalar > *)
void set_diff_gain_variation (MEAL::Univariate< MEAL::Scalar > *)
void set_diff_phase_variation (MEAL::Univariate< MEAL::Scalar > *)
void update ()
 Update the transformation with the current estimate, if possible.
void update (MEAL::Scalar *function, double value)
 Update one of the variable parameters.
bool reduce_nfree ()
 Attempt to reduced the number of degrees of freedom.
void update_reference_epoch ()
 Update the reference epoch.
void engage_time_variations ()
void disengage_time_variations ()
void unmap_variations (std::vector< unsigned > &imap, MEAL::Complex2 *composite)
void compute_covariance (std::vector< unsigned > &imap, std::vector< std::vector< double > > &Ctotal)
Public Member Functions inherited from Calibration::BackendEstimate
void integrate (const MEAL::Complex2 *xform)
 Integrate a calibrator solution.
unsigned get_path_index () const
 Return the path index.
void set_start_time (const MJD &epoch)
const MJDget_start_time () const
void set_end_time (const MJD &epoch)
const MJDget_end_time () const
bool spans (const MJD &epoch)
 Return true if this estimate spans the epoch.
void add_observation_epoch (const MJD &epoch)
 update min_time and max_time
void add_weight (float amount)
float get_weight () const
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

Calibration::ConvertMJD convert
 Used to convert MJD to double.
Public Attributes inherited from Calibration::BackendEstimate
unsigned path_index
 The index of the SignalPath in which this backend is a component.

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 ()
Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
void __dereference (bool auto_delete=true) const
Protected Attributes inherited from Calibration::BackendEstimate
Reference::To< MEAL::Complex2backend
 The backend component.
Reference::To< MEAL::Mean< MEAL::Complex2 > > mean
 The mean of the backend component.
setMJD start_time
 The start of the period spanned by this backend solution.
setMJD end_time
 The end of the period spanned by this solution.
MJD min_time
 The mimimum observation time.
MJD max_time
 The maximum observation time.
float weight

Detailed Description

Manages a variable backend and its best estimate.

Member Function Documentation

◆ reduce_nfree()

bool VariableBackendEstimate::reduce_nfree ( )

Attempt to reduced the number of degrees of freedom.

Attempt to reduce the number of degrees of freedom in the model.

Return true if successful

◆ set_response()

void VariableBackendEstimate::set_response ( MEAL::Complex2 * xform)
virtual

◆ update()


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

Generated using doxygen 1.14.0