Skip to content

Commit dd579e4

Browse files
committed
Document new columns.
1 parent e086551 commit dd579e4

File tree

4 files changed

+46
-7
lines changed

4 files changed

+46
-7
lines changed

astroquery/jplhorizons/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ class Conf(_config.ConfigNamespace):
7171
'DEC_(r-app)': ('DEC_app', 'deg'),
7272
'dRA*cosD': ('RA_rate', 'arcsec/hour'),
7373
'd(DEC)/dt': ('DEC_rate', 'arcsec/hour'),
74-
'I_dRA*cosD': ('RA_ICRF_rate', 'arcsec/hour'), # both *_rate and *_ICRF_rate may be present
75-
'I_d(DEC)/dt': ('DEC_ICRF_rate', 'arcsec/hour'),
74+
'I_dRA*cosD': ('RA_ICRF_rate_app', 'arcsec/hour'),
75+
'I_d(DEC)/dt': ('DEC_ICRF_rate_app', 'arcsec/hour'),
7676
'Azi_(a-app)': ('AZ', 'deg'),
7777
'Elev_(a-app)': ('EL', 'deg'),
7878
'Azimuth_(a-app)': ('AZ', 'deg'),

astroquery/jplhorizons/core.py

Lines changed: 41 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,8 +445,8 @@ def ephemerides_async(self, *, airmass_lessthan=99,
445445
+------------------+-----------------------------------------------+
446446
| true_anom | True Anomaly (float, deg, ``Tru_Anom``) |
447447
+------------------+-----------------------------------------------+
448-
| hour_angle | local apparent hour angle (string, |
449-
| | sexagesimal angular hours, ``L_Ap_Hour_Ang``) |
448+
| hour_angle | local apparent hour angle (float, |
449+
| | hour, ``L_Ap_Hour_Ang``) |
450450
+------------------+-----------------------------------------------+
451451
| alpha_true | true phase angle (float, deg, ``phi``) |
452452
+------------------+-----------------------------------------------+
@@ -456,6 +456,45 @@ def ephemerides_async(self, *, airmass_lessthan=99,
456456
| PABLat | phase angle bisector latitude |
457457
| | (float, deg, ``PAB-LAT``) |
458458
+------------------+-----------------------------------------------+
459+
| App_Lon_Sun | apparent target-centered longitude of the Sun |
460+
| | (float, hour, ``App_Lon_Sun``) |
461+
+------------------+-----------------------------------------------+
462+
| RA_ICRF_app | airless apparent right ascension of the target|
463+
| | in the ICRF |
464+
| | (float, hour, ``RA_(ICRF-a-app)``) |
465+
+------------------+-----------------------------------------------+
466+
| DEC_ICRF_app | airless apparent declination of the target |
467+
| | in the ICRF |
468+
| | (float, deg, ``DEC_(ICRF-a-app)``) |
469+
+------------------+-----------------------------------------------+
470+
| RA_ICRF_rate_app | RA rate of change in the targets' ICRF |
471+
| | multiplied by the cosine of declination |
472+
| | (float, arcsec/hour, ``I_dRA*cosD``) |
473+
+------------------+-----------------------------------------------+
474+
| DEC_ICRF_rate_app| DEC rate of change in the targets' ICRF |
475+
| | (float, arcsec/hour, ``I_d(DEC)/dt``) |
476+
+------------------+-----------------------------------------------+
477+
| Sky_motion | Total apparent angular rate in the plane-of- |
478+
| | sky |
479+
| | (float, arcsec/minute, ``Sky_motion``) |
480+
+------------------+-----------------------------------------------+
481+
| Sky_mot_PA | position angle direction of motion in the |
482+
| | plane-of-sky |
483+
| | (float, deg, ``Sky_mot_PA``) |
484+
+------------------+-----------------------------------------------+
485+
| RelVel-ANG | flight path angle of the target's relative |
486+
| | motion with respect to the observer's |
487+
| | line-of-sight |
488+
| | (float, deg, ``RelVel-ANG``) |
489+
+------------------+-----------------------------------------------+
490+
| Lun_Sky_Brt | Sky brightness due to moonlight |
491+
| | (float, mag, ``Lun_Sky_Brt``) |
492+
+------------------+-----------------------------------------------+
493+
| sky_SNR | approximate visual signal-to-noise ratio of |
494+
| | the target's brightness divided by lunar sky |
495+
| | brightness |
496+
| | (float, unitless, ``sky_SNR``) |
497+
+------------------+-----------------------------------------------+
459498
460499
461500
Parameters

astroquery/jplhorizons/tests/test_jplhorizons_remote.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ def test_ephemerides_query(self):
111111
"App_Lon_Sun": 309.1603680 * u.deg,
112112
"RA_ICRF_app": 188.70238 * u.deg,
113113
"DEC_ICRF_app": 9.09628 * u.deg,
114-
"RA_ICRF_rate": 35.17809 * u.arcsec / u.hour,
115-
"DEC_ICRF_rate": -2.74321 * u.arcsec / u.hour,
114+
"RA_ICRF_rate_app": 35.17809 * u.arcsec / u.hour,
115+
"DEC_ICRF_rate_app": -2.74321 * u.arcsec / u.hour,
116116
"Sky_motion": 0.5880814 * u.arcsec / u.minute,
117117
"Sky_mot_PA": 94.457576 * u.deg,
118118
"RelVel-ANG": -53.53947 * u.deg,

docs/jplhorizons/jplhorizons.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ skips the query and only returns the query payload. To pass additional settings
244244
to the request use the ``optional_settings`` passing a key-value
245245
dictionary.
246246

247-
:meth:`~astroquery.jplhorizons.HorizonsClass.ephemerides` queries by default all
247+
:meth:`~astroquery.jplhorizons.HorizonsClass.ephemerides` queries by default most
248248
available quantities from the JPL Horizons servers. This might take a while. If
249249
you are only interested in a subset of the available quantities, you can query
250250
only those. The corresponding optional parameter to be set is ``quantities``.

0 commit comments

Comments
 (0)