Correct the backend convention. 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. More...
 
Jones< double > operator() (unsigned isub) const
 Return the projection correction for the given sub-integration. More...
 
bool required (unsigned isub) const
 Return true if the given sub-integration requires correction. More...
 
std::string get_summary () const
 Return a summary of parameters relevant to get_rotation.
 
- 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_rotation () const
 Return the basis rotation correction. More...
 
Jones< double > get_projection () const
 Return the basis projection correction. More...
 
- 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.
 
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.
 

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

Correct the backend convention.

Member Function Documentation

◆ get_projection()

Jones< double > Pulsar::ProjectionCorrection::get_projection ( ) const
protected

Return the basis projection correction.

Precondition
both set_archive and required methods must be called before calling this method

References Quaternion< class, B >::get_vector().

◆ get_rotation()

Jones< double > Pulsar::ProjectionCorrection::get_rotation ( ) const
protected

Return the basis rotation correction.

Precondition
both set_archive and required methods must be called before calling this method

References Evaluable< Jones< double > >::evaluate(), Mount::get_name(), Directional::get_parallactic_angle(), and MEAL::Rotation1::set_phi().

◆ 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.

◆ 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 Reference::To< class, active >::get(), and Pulsar::Pointing::get_position_angle().

Referenced by Pulsar::VariableProjectionCorrection::required().

◆ 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 Reference::To< class, active >::get(), Mount::get_name(), Mount::set_observatory_latitude(), Mount::set_observatory_longitude(), and Mount::set_source_coordinates().


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

Generated using doxygen 1.8.17