Jpp  18.2.1-ARCA-DF-PATCH
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions | Variables
JAstronomy.hh File Reference

Interface methods for slalib and auxiliary classes and methods for astronomy. More...

#include "JMath/JConstants.hh"
#include "JMath/JMatrix3D.hh"
#include "JMath/JSVD3D.hh"
#include "JGeometry3D/JAngle3D.hh"

Go to the source code of this file.

Classes

class  JASTRONOMY::JSourceLocation
 Location of astrophysical source. More...
 
class  JASTRONOMY::JGalacticCoordinates
 Location of astrophysical source in Galactic coordinates. More...
 
class  JASTRONOMY::JNeutrinoDirection
 Direction of incident neutrino. More...
 
class  JASTRONOMY::JGeographicalLocation
 Location of detector. More...
 
class  JASTRONOMY::JAstronomy
 Auxiliary class to make coordinate transformations for a specific geographical location of the detector. More...
 

Namespaces

 JASTRONOMY
 
 JPP
 This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 

Functions

double JASTRONOMY::sla_gmst_ (double &ut1)
 
double JASTRONOMY::sla_gmsta_ (double &ut1, double &part_day)
 
double JASTRONOMY::sla_eqeqx_ (double &ut1)
 
void JASTRONOMY::sla_de2h_ (double &hourangle, double &declination, double &observer_latitude, double &azimuth, double &elevation)
 
void JASTRONOMY::sla_dh2e_ (double &azimuth, double &elevation, double &observer_latitude, double &hourangle, double &declination)
 
void JASTRONOMY::sla_eqecl_ (double &rightascension, double &declination, double &time, double &ecliptic_longitude, double &ecliptic_latitude)
 
void JASTRONOMY::sla_ecleq_ (double &ecliptic_longitude, double &ecliptic_latitude, double &time, double &rightascension, double &declination)
 
void JASTRONOMY::sla_eqgal_ (double &rightascension, double &declination, double &galactic_longitude, double &galactic_latitude)
 
void JASTRONOMY::sla_galeq_ (double &galactic_longitude, double &galactic_latitude, double &rightascension, double &declination)
 
void JASTRONOMY::sla_galsup_ (double &galactic_longitude, double &galactic_latitude, double &sgalactic_longitude, double &sgalactic_latitude)
 
void JASTRONOMY::sla_supgal_ (double &sgalactic_longitude, double &sgalactic_latitude, double &galactic_longitude, double &galactic_latitude)
 
void JASTRONOMY::sla_caldj_ (int &year, int &month, int &day, double &mjd, int &status)
 
void JASTRONOMY::sla_clyd_ (int &year, int &month, int &day, int &nyears, int &ndays, int &status)
 
void JASTRONOMY::sla_djcal_ (int &precision, double &mjd, int result[4], int &status)
 
void JASTRONOMY::sla_dd2tf_ (int &ndec, double &day, char sign[1], int result[4])
 
double JASTRONOMY::sla_dtt_ (double &ut1)
 
void JASTRONOMY::sla_rdplan_ (double &dtt, int &object, const double &longitude, const double &latitude, double &rightascension, double &declination, double &diam)
 
void JASTRONOMY::sla_preces_ (char *system, double &ep0, double &ep1, double &ra, double &dec, int length)
 
void JASTRONOMY::sla_prenut_ (double &epoch, double &mjd, double rmatpn[3][3])
 
double JASTRONOMY::wrap (double angle)
 
int JASTRONOMY::get_utm_zone (double lat)
 
double JASTRONOMY::longitude_of_central_meridian (int utmzone)
 
double JASTRONOMY::compute_meridian_convergence_angle (double longitude, double latitude)
 
void JASTRONOMY::correct_to_j2000 (double &in_dec, double &in_ra, double &mjd, double &out_dec, double &out_ra, bool reverse=false)
 Convert (Dec, RA) to J2000. More...
 
double JASTRONOMY::getRadians (const double angle)
 Convert angle to radians. More...
 
double JASTRONOMY::getRadians (const int angle, const int amin, const double asec)
 Convert angle to radians. More...
 
double JASTRONOMY::getHourAngle (const int hour, const int min, const double sec)
 Convert hour angle to radians. More...
 
double JASTRONOMY::getDot (const JNeutrinoDirection &first, const JNeutrinoDirection &second)
 Dot product. More...
 
double JASTRONOMY::getDot (const JSourceLocation &first, const JSourceLocation &second)
 Dot product. More...
 

Variables

static const double JASTRONOMY::MJD_EPOCH = 40587.0
 
static const double JASTRONOMY::NUMBER_OF_SECONDS_PER_HOUR = 60.0 * 60.0
 
static const double JASTRONOMY::NUMBER_OF_SECONDS_PER_DAY = NUMBER_OF_SECONDS_PER_HOUR * 24.0
 
static const double JASTRONOMY::NUMBER_OF_SECONDS_PER_YEAR = NUMBER_OF_SECONDS_PER_DAY * 365.0
 
static const double JASTRONOMY::NUMBER_OF_SECONDS_PER_SEDERIAL_DAY = NUMBER_OF_SECONDS_PER_HOUR * 23.9344696
 
static const JGeographicalLocation JASTRONOMY::Antares (42, 48, 06, 10)
 
static const JGeographicalLocation JASTRONOMY::Sicily (36, 16, 16, 06)
 
static const JGeographicalLocation JASTRONOMY::Pylos (36, 33, 16, 06)
 
static const JGeographicalLocation JASTRONOMY::ARCA (36, 17, 15, 58)
 
static const JGeographicalLocation JASTRONOMY::ORCA (42, 48, 06, 02)
 
static const JSourceLocation JASTRONOMY::galacticCenter (-0.5062816,-1.633335)
 
static const JSourceLocation JASTRONOMY::RXJ1713 (getRadians(-39,-46, 0.0), getHourAngle(17, 13, 7))
 
static const JSourceLocation JASTRONOMY::VELAX (getRadians(-45,-10,-35.2), getHourAngle(8, 35, 20.66))
 

Detailed Description

Interface methods for slalib and auxiliary classes and methods for astronomy.

Author
mdejong, fhuang, azegarelli

Definition in file JAstronomy.hh.