Contains information about the telescope used for the observation. More...

#include <Telescope.h>

Inheritance diagram for Pulsar::Telescope:
Pulsar::Archive::Extension Reference::Able Reference::HeapTracked

Public Types

enum  Mount {
  Equatorial, Horizon, Meridian, KrausType,
  Fixed, Mobile
}
 Types of primary reflector mounts. More...
 
enum  Reflector { Parabolic, Spherical }
 Types of primary reflector. More...
 
enum  Focus { PrimeFocus, Cassegrain, Gregorian }
 Types of focus. More...
 

Public Member Functions

 Telescope ()
 Default constructor.
 
 Telescope (const Telescope &extension)
 Copy constructor.
 
const Telescopeoperator= (const Telescope &extension)
 Operator =.
 
 ~Telescope ()
 Destructor.
 
Telescopeclone () const
 Clone method.
 
std::string get_name () const
 Get the name of the observatory and/or primary reflector.
 
void set_name (const std::string &_name)
 Set the name of the observatory and/or primary reflector.
 
Angle get_latitude () const
 Get the latitude of the antenna.
 
void set_latitude (const Angle &_latitude)
 Set the latitude of the antenna.
 
Angle get_longitude () const
 Get the longitude of the antenna.
 
void set_longitude (const Angle &_longitude)
 Set the longitude of the antenna.
 
float get_elevation () const
 Get the elevation of the antenna in metres.
 
void set_elevation (float _elevation)
 Set the elevation of the antenna in metres.
 
void set_coordinates (const std::string &code)
 Set the coordinates of the telescope based on known tempo codes.
 
void set_coordinates ()
 Set the coordinates using the telescope name.
 
Mount get_mount () const
 Get the type of primary reflector mount.
 
void set_mount (Mount _mount)
 Set the type of primary reflector mount.
 
Reflector get_primary () const
 Get the type of primary reflector.
 
void set_primary (Reflector _primary)
 Set the type of primary reflector.
 
Focus get_focus () const
 Get the type of focus.
 
void set_focus (Focus _focus)
 Set the type of focus.
 
Directionalget_Directional () const
 Get a Directional object set up for this telescope.
 
- Public Member Functions inherited from Pulsar::Archive::Extension
 Extension (const char *name)
 Construct with a name.
 
virtual ~Extension ()
 Destructor.
 
virtual TextInterface::Parserget_interface ()
 Return a text interface that can be used to access this instance.
 
std::string get_extension_name () const
 Return the name of the Extension.
 
virtual std::string get_short_name () const
 Return an abbreviated name that can be typed relatively quickly.
 
virtual bool has_data () const
 Returns true if the Extension contains useful data.
 
virtual void resize (unsigned nsubint, unsigned npol=0, unsigned nchan=0, unsigned nbin=0)
 Resize the Extension.
 
virtual void frequency_append (Archive *to, const Archive *from)
 Append data along frequency dimension, if applicable.
 
- 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::string name
 Name of the observatory and/or primary reflector.
 
Angle latitude
 Latitude of the antenna.
 
Angle longitude
 Longitude of the antenna.
 
float elevation
 Elevation of the antenna in metres.
 
Mount mount
 Mount type of primary reflector.
 
Reflector primary
 Type of primary reflector.
 
Focus focus
 Type of focus.
 
- Protected Attributes inherited from Pulsar::Archive::Extension
std::string extension_name
 Extension name - useful when debugging.
 

Additional Inherited Members

- Static Public Member Functions inherited from Pulsar::Archive::Extension
static Extensionfactory (const std::string &name)
 Derived type factory.
 
- 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

Contains information about the telescope used for the observation.

Member Enumeration Documentation

◆ Focus

Types of focus.

Enumerator
PrimeFocus 

Prime Focus: primary reflector; receiver at primary focus

Cassegrain 

Cassegrain: primary and secondary reflectors; receiver at secondary focus; prime focus is behind secondary reflector

Gregorian 

Gregorian: primary and secondary reflectors; receiver at secondary focus; prime focus is in front of secondary reflector

◆ Mount

Types of primary reflector mounts.

Enumerator
Equatorial 

Equatorial (right ascension, declination)

Horizon 

Horizon (altidue, azimuth)

Meridian 

Meridian (aka X-Y, meridianal longitude and latitude)

KrausType 

Kraus-type (e.g. Nancay)

Fixed 

Fixed (e.g. LOFAR)

Mobile 

Mobile (satellite)

◆ Reflector

Types of primary reflector.

Enumerator
Parabolic 

Parabolic.

Spherical 

Spherical.


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

Generated using doxygen 1.8.17