Pulsar::FluxCalibrator::Policy Class Referenceabstract

Flux calibration data for each receptor. More...

#include <FluxCalibratorPolicy.h>

Inheritance diagram for Pulsar::FluxCalibrator::Policy:
Reference::Able Reference::HeapTracked Pulsar::FluxCalibrator::ConstantGain Pulsar::FluxCalibrator::VariableGain

Public Member Functions

 Policy ()
 Default constructor.
 
virtual Policyclone () const =0
 Return a new default constructed copy of self.
 
virtual void integrate (Signal::Source source, unsigned ireceptor, const Estimate< double > &cal_hi, const Estimate< double > &cal_lo)=0
 Integrate an observation of the reference source.
 
void get (std::vector< Estimate< double > > &S_sys, std::vector< Estimate< double > > &S_cal) const
 Get the flux densities for each receptor.
 
void set (const std::vector< Estimate< double > > &S_sys, const std::vector< Estimate< double > > &S_cal)
 Set the flux densities for each receptor.
 
virtual void set_nreceptor (unsigned)
 Set the number of receptors.
 
unsigned get_nreceptor () const
 Get the number of receptors.
 
void set_S_std (double S_std)
 Set the flux density of the standard candle. More...
 
double get_S_std () const
 Get the flux density of the standard candle. More...
 
void set_valid (bool f=true)
 Set the data validity flag.
 
bool get_valid () const
 Get the data validity flag.
 
bool get_solution_available () const
 Return true when a solution is available.
 
Estimate< double > get_S_sys () const
 Return the total system equivalent flux density.
 
Estimate< double > get_S_cal () const
 Return the total calibrator flux density.
 
Estimate< double > get_S_sys (unsigned receptor) const
 Return the system equivalent flux density in the specified receptor.
 
Estimate< double > get_S_cal (unsigned receptor) const
 Return the calibrator flux density in the specified receptor.
 
- 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 calculate () const
 Calulate S_cal and S_sys for both receptors.
 
virtual void compute (unsigned ireceptor, Estimate< double > &S_cal, Estimate< double > &S_sys)=0
 Compute the fluxes of the reference source and system.
 
- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 
void __dereference (bool auto_delete=true) const
 

Protected Attributes

bool valid
 Flag set when data are valid.
 
double S_std
 Flux density of the standard candle.
 
std::vector< Estimate< double > > S_cal
 Calibrator flux density in each receptor.
 
std::vector< Estimate< double > > S_sys
 System equivalent flux density in each receptor.
 
bool calculated
 Flag set when S_cal and S_sys have been computed.
 

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

Flux calibration data for each receptor.

Member Function Documentation

◆ get_S_std()

double Pulsar::FluxCalibrator::Policy::get_S_std ( ) const

Get the flux density of the standard candle.

Get the flux of the standard candle.

◆ set_S_std()

void Pulsar::FluxCalibrator::Policy::set_S_std ( double  S_std)

Set the flux density of the standard candle.

Set the flux of the standard candle.


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

Generated using doxygen 1.8.17