예제 #1
0
def precess(jd1, ra1, dec1, jd2):
    """Precess a coordinate from one Julian Date to another.

:arg double jd1: the JD of the input coordinates
:arg double ra1: the input RA in radians
:arg double dec1: the input dec in radians
:arg double jd2: the JD to precess to
:rtype: (double, double)
:returns: (ra2, dec2), the precessed equatorial coordinates, both in radians

Claimed accuracy is 0.3 arcsec over 50 years. Based on the algorithm
described in the Explanatory Supplement to the Astronomical Almanac,
1993, pp 105-106. Does not account for atmospheric refraction,
nutation, aberration, or gravitational deflection.
"""
    return _miriad_f.precess(jd1, ra1, dec1, jd2)
예제 #2
0
파일: util.py 프로젝트: pkgw/miriad-python
def precess (jd1, ra1, dec1, jd2):
    """Precess a coordinate from one Julian Date to another.

:arg double jd1: the JD of the input coordinates
:arg double ra1: the input RA in radians
:arg double dec1: the input dec in radians
:arg double jd2: the JD to precess to
:rtype: (double, double)
:returns: (ra2, dec2), the precessed equatorial coordinates, both in radians

Claimed accuracy is 0.3 arcsec over 50 years. Based on the algorithm
described in the Explanatory Supplement to the Astronomical Almanac,
1993, pp 105-106. Does not account for atmospheric refraction,
nutation, aberration, or gravitational deflection.
"""
    return _miriad_f.precess (jd1, ra1, dec1, jd2)
예제 #3
0
def precess (jd1, ra1, dec1, jd2):
    """Precess a coordinate from one Julian Date to another.

Arguments:
jd1  - The JD of the input coordinates
ra1  - The input RA in radians
dec1 - The input dec in radians
jd2  - The JD to precess to

Returns: (ra2, dec2), where
ra2  - The output RA in radians
dec2 - The output dec in radians

Claimed accuracy is 0.3 arcsec over 50 years. Based on the
algorithm described in the Explanatory Supplement to the
Astronomical Almanac, 1993, pp 105-106. Does not account
for atmospheric refraction, nutation, aberration, or
gravitational deflection.
"""
    return _miriad_f.precess (jd1, ra1, dec1, jd2)