Exemplo n.º 1
0
def equToHorizon(ra, dec, lst, lat):
    """Convert equatorial coordinates to horizon coordinates.

:arg double ra: the apparent RA in radians
:arg double dec: the apparent dec in radians
:arg double lst: the local sidereal time in radians
:arg double lat: the geodetic latitude of the observatory in radians
:rtype: (double, double)
:returns: (az, el), both in radians
"""
    return _miriad_f.azel(ra, dec, lst, lat)
Exemplo n.º 2
0
def equToHorizon (ra, dec, lst, lat):
    """Convert equatorial coordinates to horizon coordinates.

:arg double ra: the apparent RA in radians
:arg double dec: the apparent dec in radians
:arg double lst: the local sidereal time in radians
:arg double lat: the geodetic latitude of the observatory in radians
:rtype: (double, double)
:returns: (az, el), both in radians
"""
    return _miriad_f.azel (ra, dec, lst, lat)
Exemplo n.º 3
0
def equToHorizon (ra, dec, lst, lat):
    """Convert equatorial coordinates to horizon coordinates.

Arguments:
ra  - The apparent RA in radians
dec - The apparent dec in radians
lst - The local sidereal time in radians
lat - The geodetic latitude of the observatory in radians

Returns: (az, el), where
az - The azimuth coordinate in radians
el - The elevation coordinate in radians

If available, this should be superseded by the RALP/NOVAS conversion
function, which I suspect will be superior to the MIRIAD function.
"""
    return _miriad_f.azel (ra, dec, lst, lat)