Horizon mounted antenna with first rotation in horizontal plane. More...

#include <Horizon.h>

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

Public Member Functions

 Horizon (double az=0, double el=0)
 Default constructor.
double get_azimuth () const
 Get the azimuth angle in radians.
double get_elevation () const
 Get the elevation angle in radians.
double get_zenith () const
 Get the zenith angle in radians.
std::string get_name () const
 Get the name of the mount.
std::vector< std::pair< double, Mount * > > slew_times (const sky_coord &coords)
 Return all possible slew times and resulting telescope states.
std::vector< std::pair< double, Mount * > > slew_times (double az, double el)
void set_minimum_azimuth (double a)
double get_minimum_azimuth () const
void set_maximum_azimuth (double a)
double get_maximum_azimuth () const
void set_minimum_elevation (double a)
double get_minimum_elevation () const
void set_maximum_elevation (double a)
double get_maximum_elevation () const
void set_azimuth_velocity (double a)
double get_azimuth_velocity () const
void set_elevation_velocity (double a)
double get_elevation_velocity () const
Public Member Functions inherited from Directional
 Directional ()
 Default constructor.
virtual double get_vertical () const
 Get the counter-clockwise angle from north toward zenith in radians.
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.
double get_local_sidereal_time () const
 Get the LST in radians.
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

Matrix< 3, 3, double > get_basis (const Vector< 3, double > &from_source) const
 Get the receptor basis in the reference frame of the observatory.
Protected Member Functions inherited from Directional
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.
void __dereference (bool auto_delete=true) const
 Remove the address of a reference to this object.

Protected Attributes

double azimuth
 The telescope azimuth in radians.
double elevation
 The telescope elevation in radians.
double minimum_azimuth
double maximum_azimuth
double minimum_elevation
double maximum_elevation
double azimuth_velocity
double elevation_velocity
Protected Attributes inherited from Directional
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

Horizon mounted antenna with first rotation in horizontal plane.

Also known as altazimuth, az-el, Dobsonian, or even x-y mount

Member Function Documentation

◆ get_basis()

Matrix< 3, 3, double > Horizon::get_basis ( const Vector< 3, double > & from_source) const
protectedvirtual

Get the receptor basis in the reference frame of the observatory.

Implements Directional.

References azimuth, Vector< unsigned N, typename T >::basis(), and elevation.

◆ get_name()

std::string Horizon::get_name ( ) const
virtual

Get the name of the mount.

Implements Mount.

◆ slew_times()

std::vector< std::pair< double, Mount * > > Horizon::slew_times ( const sky_coord & coords)
virtual

Return all possible slew times and resulting telescope states.

Reimplemented from Mount.

References get_azimuth(), get_elevation(), Horizon(), Mount::set_source_coordinates(), and slew_times().

Referenced by slew_times().


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

Generated using doxygen 1.14.0