Pulsar::KnownVariableTransformation Class Referenceabstract

Manager of variable transformations. More...

#include <KnownVariableTransformation.h>

Inheritance diagram for Pulsar::KnownVariableTransformation:
Pulsar::VariableTransformationManager Reference::Able Reference::HeapTracked Pulsar::VariableFaradayRotation Pulsar::VariableProjectionCorrection Pulsar::VariableTransformationFile

Public Types

typedef MEAL::Axis< LabelledJones< double > > KnownArgument
typedef MEAL::Value< MEAL::Complex2KnownTransformation
Public Types inherited from Pulsar::VariableTransformationManager
typedef MEAL::Variable< MEAL::Complex2Transformation

Public Member Functions

void set_nchan (unsigned nchan) override
 Set the number of frequency channels with a unique Transformation.
Transformation * get_transformation (unsigned ichan) override
 Return the Transformation for the specified channel.
MEAL::Argument::Valuenew_value () override
 Return a newly constructed Argument::Value for the current archive / subint / chan.
virtual LabelledJones< double > get_value ()=0
 Derived classes define the known transformation.
Public Member Functions inherited from Pulsar::VariableTransformationManager
 VariableTransformationManager ()
 Default constructor.
virtual void set_archive (const Archive *_archive)
 Set the Archive for which a tranformation will be computed.
virtual void set_subint (unsigned _subint)
 Set the sub-integration for which a tranformation will be computed.
virtual void set_chan (unsigned _chan)
 Set the frequency channel for which a tranformation will be computed.
virtual void update ()
 Update the tranformation for the current archive / subint / chan.
virtual std::string get_description () const
 Get the description of the transformation.
virtual bool required () const
 Return true if the transformation is required.
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 Attributes

std::vector< Transformation > xform
Protected Attributes inherited from Pulsar::VariableTransformationManager
Reference::To< const Archive, false > archive
unsigned subint
unsigned chan
std::string description
bool built

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

Detailed Description

Manager of variable transformations.

Member Function Documentation

◆ get_transformation()

KnownVariableTransformation::Transformation * KnownVariableTransformation::get_transformation ( unsigned ichan)
overridevirtual

Return the Transformation for the specified channel.

Implements Pulsar::VariableTransformationManager.

◆ get_value()

virtual LabelledJones< double > Pulsar::KnownVariableTransformation::get_value ( )
pure virtual

Derived classes define the known transformation.

Implemented in Pulsar::VariableFaradayRotation, Pulsar::VariableProjectionCorrection, and Pulsar::VariableTransformationFile.

Referenced by new_value().

◆ new_value()

MEAL::Argument::Value * KnownVariableTransformation::new_value ( )
overridevirtual

Return a newly constructed Argument::Value for the current archive / subint / chan.

Implements Pulsar::VariableTransformationManager.

References get_value().

◆ set_nchan()

void KnownVariableTransformation::set_nchan ( unsigned nchan)
overridevirtual

Set the number of frequency channels with a unique Transformation.

Implements Pulsar::VariableTransformationManager.


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

Generated using doxygen 1.14.0