Skip to content

Commit 8cc7a61

Browse files
committed
Replace expected energy with impact energy
1 parent 6c726d3 commit 8cc7a61

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

astroquery/esa/neocc/tabs.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def parse_impacts(resp_str):
197197
# Build the main data table
198198
impact_tble = Table.read(resp_lst[1], format='ascii', data_start=3,
199199
names=["date", "MJD", "sigma", "sigimp", "dist", "+/-", "width",
200-
"stretch", "p_RE", "Exp. Energy in MT", "PS", "TS"])
200+
"stretch", "p_RE", "Imp. Energy in MT", "PS", "TS"])
201201
impact_tble.remove_column("+/-")
202202
impact_tble['date'] = convert_time(impact_tble['date'])
203203

@@ -216,8 +216,7 @@ def parse_impacts(resp_str):
216216
'This is a close cousin of the Lyapounov exponent. Units are in '
217217
'Earth radii divided by sigma (RE/sig)'),
218218
'p_RE': 'probability of Earth Impact (IP)',
219-
'Exp. Energy in MT': ('Expected energy. It is the product of the impact energy '
220-
'and the impact probability'),
219+
'Exp. Energy in MT': 'Impact energy.',
221220
'PS': 'Palermo Scale',
222221
'TS': 'Torino Scale'}
223222

astroquery/esa/neocc/test/test_neocc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def test_tabs_impacts(patch_get):
392392
meta_keys = ['Column Info', 'observation_accepted', 'observation_rejected', 'arc_start',
393393
'arc_end', 'info', 'computation', 'additional_note']
394394
impact_columns = ['date', 'MJD', 'sigma', 'sigimp', 'dist', 'width', 'stretch', 'p_RE',
395-
'Exp. Energy in MT', 'PS', 'TS']
395+
'Imp. Energy in MT', 'PS', 'TS']
396396

397397
# Asteroid 1979XB
398398
impact_tab_list = neocc.neocc.query_object(name='1979XB', tab='impacts')

docs/esa/neocc/neocc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ This query returns a list containing a single table:
178178
.. doctest-remote-data::
179179

180180
>>> print(ast_impacts[0]) # doctest: +IGNORE_OUTPUT
181-
date MJD sigma sigimp ... Exp. Energy in MT PS TS
181+
date MJD sigma sigimp ... Imp. Energy in MT PS TS
182182
----------------------- --------- ------ ------ ... ----------------- ----- ---
183183
2056-12-12 21:38:52.800 72344.902 0.255 0.0 ... 0.013 -2.86 0
184184
2065-12-16 11:06:43.200 75635.463 -1.11 0.0 ... 3.3e-05 -5.42 0

0 commit comments

Comments
 (0)