Location of astrophysical source.
More...
#include <JAstronomy.hh>
Location of astrophysical source.
Definition at line 289 of file JAstronomy.hh.
◆ JSourceLocation() [1/2]
JASTRONOMY::JSourceLocation::JSourceLocation |
( |
| ) |
|
|
inline |
◆ JSourceLocation() [2/2]
JASTRONOMY::JSourceLocation::JSourceLocation |
( |
const double |
declination, |
|
|
const double |
right_ascension |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
declination | declination |
right_ascension | right ascension |
Definition at line 307 of file JAstronomy.hh.
◆ getDeclination()
const double& JASTRONOMY::JSourceLocation::getDeclination |
( |
| ) |
const |
|
inline |
◆ getRightAscension()
const double& JASTRONOMY::JSourceLocation::getRightAscension |
( |
| ) |
const |
|
inline |
◆ getDeclinationJ2000()
double JASTRONOMY::JSourceLocation::getDeclinationJ2000 |
( |
const double |
t1 | ) |
const |
|
inline |
Get declination in J2000.
- Parameters
-
t1 | number of seconds since MJD |
Definition at line 321 of file JAstronomy.hh.
324 double dec_j2000;
double ra_j2000;
328 const double const_dec_j2000 = dec_j2000;
329 return const_dec_j2000;
static const double NUMBER_OF_SECONDS_PER_DAY
void 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.
◆ getRightAscensionJ2000()
double JASTRONOMY::JSourceLocation::getRightAscensionJ2000 |
( |
const double |
t1 | ) |
const |
|
inline |
Get Right Ascension in J2000.
- Parameters
-
t1 | number of seconds since MJD |
Definition at line 337 of file JAstronomy.hh.
340 double dec_j2000;
double ra_j2000;
344 const double const_ra_j2000 = ra_j2000;
345 return const_ra_j2000;
◆ __declination
double JASTRONOMY::JSourceLocation::__declination |
|
protected |
◆ __right_ascension
double JASTRONOMY::JSourceLocation::__right_ascension |
|
protected |
The documentation for this class was generated from the following file: