Computes the projection of the receptors onto the sky. More...

#include <ProjectionCorrection.h>

Inheritance diagram for Pulsar::ProjectionCorrection:
Reference::Able Reference::HeapTracked

Public Member Functions

 ProjectionCorrection ()
 Default constructor.
 ~ProjectionCorrection ()
 Destructor.
void set_archive (const Archive *)
 Set the archive for which projection corrections will be computed.
Jones< double > operator() (unsigned isub) const
 Return the projection correction for the given sub-integration.
bool required (unsigned isub) const
 Return true if the given sub-integration requires correction.
Jones< double > get_feed_projection () const
 Return the projection from the antenna to the feed.
Jones< double > get_antenna_projection () const
 Return the projection from the sky to the antenna.
Mountget_mount ()
 Return the projection correction calculator.
std::string get_summary () const
 Return a long summary of parameters relevant to computing the projection correction.
std::string get_short_summary () const
 Return a short summary of parameters relevant to computing the projection correction.
void reset_summary ()
 Reset the summaries to empty strings.
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 Attributes

static bool trust_pointing_para_angle = false
 Trust Pointing parallactic angle more than computed value.
static bool trust_pointing_feed_angle = false
 Always trust the feed angle stored in the Pointing extension.

Protected Member Functions

Jones< double > get_antenna_rotation () const
 Return the antenna rotation through the parallactic angle.
Jones< double > get_mount_projection () const
 Return the antenna projection computed by the Mount projection.
Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
void __dereference (bool auto_delete=true) const

Protected Attributes

Correction Information

These attributes are set during the call to required and are used by the correct method

Reference::To< const Archive, false > archive
 The archive for which projection corrections will be computed.
Reference::To< const Telescope, false > telescope
 The telescope extension from the archive.
Reference::To< const Receiver, false > receiver
 The receiver extension from the archive.
Reference::To< const Integration, false > integration
 The sub-integration for which projection corrections will be computed.
Reference::To< const Pointing, false > pointing
 The pointing extension from the integration.
Calibration::Parallactic para
 The parallactic (vertical) angle rotation.
bool should_correct_vertical
 Flag set when the receiver vertical angle should be corrected.
Reference::To< MountProjectionprojection
 The projection correction calculator.
Reference::To< Mountmount
 The type of mount.
bool should_correct_projection
 Flag set when the receiver projection should be corrected.
bool must_correct_platform
 Flag set when either of the above corrections have not been performed.
std::string summary
 Summary of relevant parameters.
std::string short_summary
 Short summary of relevant parameters.

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

Computes the projection of the receptors onto the sky.

Member Function Documentation

◆ operator()()

Jones< double > Pulsar::ProjectionCorrection::operator() ( unsigned isub) const

Return the projection correction for the given sub-integration.

Return the transformation matrix for the given epoch.

The Jones matrix should be inverted to calibrate observations.

References get_antenna_projection(), get_feed_projection(), required(), short_summary, summary, and Pulsar::IntegrationManager::verbose.

◆ required()

bool Pulsar::ProjectionCorrection::required ( unsigned isub) const

Return true if the given sub-integration requires correction.

Return true if the archive needs to be corrected.

References archive, Pulsar::Receiver::Celestial, Pulsar::Telescope::Fixed, integration, must_correct_platform, pointing, receiver, should_correct_projection, should_correct_vertical, telescope, trust_pointing_feed_angle, and Pulsar::IntegrationManager::verbose.

Referenced by operator()().

◆ set_archive()

void Pulsar::ProjectionCorrection::set_archive ( const Archive * _archive)

Set the archive for which projection corrections will be computed.

Return true if the archive needs to be corrected.

References archive, mount, para, projection, receiver, telescope, and Pulsar::IntegrationManager::verbose.


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

Generated using doxygen 1.14.0