Directional antennae. More...

#include <Directional.h>

Inheritance diagram for Directional:
Mount Reference::Able Reference::HeapTracked Horizon KrausType Meridian

Public Member Functions

 Directional ()
 Default constructor.
 
virtual double get_vertical () const
 Get the counter-clockwise angle from north toward zenith in radians. More...
 
double get_parallactic_angle () const
 Synonym for vertical angle.
 
- Public Member Functions inherited from Mount
 Mount ()
 Default constructor.
 
virtual ~Mount ()
 Destructor.
 
void set_source_coordinates (const sky_coord &coords)
 Set the coordinates of the source.
 
void set_observatory_latitude (double latitude)
 Set the latitude of the observatory in radians.
 
double get_observatory_latitude () const
 
void set_observatory_longitude (double longitude)
 Set the longitude of the observatory in radians East of Greenwich.
 
double get_observatory_longitude () const
 
void set_epoch (const MJD &epoch)
 Set the epoch in Modified Julian Days.
 
MJD get_epoch () const
 
void set_hour_angle (double rad)
 Set the hour_angle in radians.
 
double get_hour_angle () const
 Get the hour_angle in radians.
 
void set_local_sidereal_time (double rad)
 Set the LST in radians. More...
 
double get_local_sidereal_time () const
 Get the LST in radians.
 
virtual std::string get_name () const =0
 Get the name of the mount.
 
virtual std::vector< std::pair< double, Mount * > > slew_times (const sky_coord &coords)
 Return all possible slew times and resulting telescope states.
 
- Public Member Functions inherited from Reference::Able
 Able ()
 Default constructor.
 
 Able (const Able &)
 Copy constructor.
 
Ableoperator= (const Able &)
 Assignment operator.
 
virtual ~Able ()
 Destructor.
 
unsigned get_reference_count () const
 Returns the number of references there are to this.
 
- Public Member Functions inherited from Reference::HeapTracked
 HeapTracked ()
 Default constructor.
 
 HeapTracked (const HeapTracked &)
 Copy constructor.
 
HeapTrackedoperator= (const HeapTracked &)
 Assignment operator.
 
virtual ~HeapTracked ()
 Destructor.
 
bool __is_on_heap () const
 Return true if this instance is found in heap addresses.
 

Protected Member Functions

virtual Matrix< 3, 3, double > get_basis (const Vector< 3, double > &from_source) const =0
 Get the receptor basis in the reference frame of the observatory.
 
void build () const
 Lazily evaluate.
 
- Protected Member Functions inherited from Mount
bool get_built () const
 Return true when outputs reflect inputs.
 
- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 Add the address of a reference to this object. More...
 
void __dereference (bool auto_delete=true) const
 Remove the address of a reference to this object. More...
 

Protected Attributes

double vertical
 The parallactic angle in radians.
 
- Protected Attributes inherited from Mount
double declination
 The declination of the source in radians.
 
double right_ascension
 The right ascension of the source in radians.
 
double latitude
 The latitude of the observatory in radians.
 
double longitude
 The latitude of the observatory in radians East of Greenwich.
 
MJD epoch
 The epoch.
 
double lst
 The LST in radians.
 
double hour_angle
 The hour angle in radians.
 
Matrix< 3, 3, double > source_basis
 Basis pointing to source in celestial reference frame.
 
Matrix< 3, 3, double > observatory_basis
 Basis pointing to observatory in celestial reference frame.
 

Additional Inherited Members

- Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
 Returns the current number instances in existence.
 
- Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
 Records the addresses of new instances allocated on the heap.
 
static void operator delete (void *location, void *ptr)
 Placement delete overload to match the placement new overload.
 
static void operator delete (void *location)
 Regular delete overload.
 
static size_t get_heap_queue_size ()
 Return the number of heap addresses awaiting processing.
 

Detailed Description

Directional antennae.

Member Function Documentation

◆ get_vertical()

double Directional::get_vertical ( ) const
virtual

Get the counter-clockwise angle from north toward zenith in radians.

Any point on the sky is crossed by two great circles: one that passes through celestial north and one that passes through zenith. (These great circles coincide when the source is on the meridian.) If vector N points in the direction of celestial north and vector Z points in the direction of zenith, then the vertical angle is measured counter-clockwise from N to Z.

The vertical angle is positive when the source is west of the meridian, and negative for sources in the east.

Implements Mount.

Reimplemented in KrausType.


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

Generated using doxygen 1.8.17