Polarization and flux calibrators. More...

#include <Calibrator.h>

Inheritance diagram for Pulsar::Calibrator:
Reference::Able Reference::HeapTracked Pulsar::FluxCalibrator Pulsar::FrontendCorrection Pulsar::IonosphereCalibrator Pulsar::PolnCalibrator Pulsar::HybridCalibrator Pulsar::ManualPolnCalibrator Pulsar::ReferenceCalibrator Pulsar::SystemCalibrator Pulsar::PolarCalibrator Pulsar::SingleAxisCalibrator Pulsar::PulsarCalibrator Pulsar::ReceptionCalibrator Pulsar::DoPCalibrator Pulsar::OffPulseCalibrator

Classes

class  Info
 
class  Type
 
class  Variation
 Abstract base of classes that update model parameters. More...
 

Public Member Functions

 Calibrator ()
 Default constructor.
 
virtual ~Calibrator ()
 Destructor.
 
virtual void calibrate (Archive *archive)=0
 Calibrate the Pulsar::Archive.
 
virtual const Typeget_type () const
 Return the Calibrator::Type of derived class.
 
virtual unsigned get_nchan () const =0
 Get the number of frequency channels in the calibrator.
 
virtual float get_weight (unsigned ichan) const =0
 Get the weight associated with the specified channel.
 
virtual CalibratorExtensionnew_Extension () const =0
 Return a new Calibrator Extension.
 
Archivenew_solution (const std::string &archive_class) const
 Return a new processed calibrator Archive with a CalibratorExtension.
 
virtual MJD get_epoch () const
 Return the reference epoch of the calibration experiment.
 
virtual std::string get_filenames () const
 Return a string containing the file information.
 
const Archiveget_Archive () const
 Return a const reference to the calibrator archive.
 
virtual Infoget_Info () const
 Return the Calibrator::Info information. More...
 
template<class T >
bool is_a () 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
 

Static Public Member Functions

static unsigned get_instance_count ()
 Returns the number of Calibrator instances currently in existence.
 
- 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 ()
 

Static Public Attributes

static unsigned verbose = 0
 Verbosity level.
 
static Pulsar::Option< float > median_smoothing
 Fractional bandwidth of the window used in median filter.
 
static Pulsar::Option< float > interpolating
 Fractional bandwidth over which interpolation will be performed.
 
static Pulsar::Option< float > det_threshold
 Tolerance to non-physical values of the coherency matrix.
 

Protected Member Functions

void copy_variation (Calibrator *)
 
void set_variation (Variation *var)
 
const Archiveget_calibrator () const
 Provide derived classes with access to the calibrator. More...
 
Archiveget_calibrator ()
 Provide derived classes with mutable access to the calibrator.
 
virtual void set_calibrator (const Archive *archive)
 Provide derived classes with access to the calibrator.
 
bool has_calibrator () const
 Return true if the calibrator attribute has been set. More...
 
- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 
void __dereference (bool auto_delete=true) const
 

Protected Attributes

Reference::To< Typetype
 The type of the Calibrator.
 
Reference::To< Variationvariation
 Updates model parameters.
 
Reference::To< const CalibratorExtensionextension
 The CalibratorExtension of the Archive passed during construction.
 
std::vector< std::string > filenames
 Filenames of Pulsar::Archives from which instance was created.
 

Detailed Description

Polarization and flux calibrators.

Member Function Documentation

◆ get_calibrator()

Pulsar::Archive * Pulsar::Calibrator::get_calibrator ( ) const
protected

Provide derived classes with access to the calibrator.

Provide derived classes with mutable access to the calibrator.

Referenced by Pulsar::ReferenceCalibrator::calculate_transformation(), and Pulsar::ReferenceCalibrator::ReferenceCalibrator().

◆ get_Info()

virtual Info* Pulsar::Calibrator::get_Info ( ) const
inlinevirtual

Return the Calibrator::Info information.

By default, derived classes need not necessarily define Info

Reimplemented in Pulsar::PolnCalibrator, Pulsar::DoPCalibrator, Pulsar::SingleAxisCalibrator, Pulsar::PolarCalibrator, Pulsar::SystemCalibrator, and Pulsar::FluxCalibrator.

◆ has_calibrator()

bool Pulsar::Calibrator::has_calibrator ( ) const
protected

Return true if the calibrator attribute has been set.

Provide derived classes with access to the calibrator.


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

Generated using doxygen 1.8.17