Skip to content

Commit 9202d1b

Browse files
author
Alvaro Arroyo Parejo
committed
changes in docstrings
1 parent fcd6d34 commit 9202d1b

File tree

3 files changed

+21
-19
lines changed

3 files changed

+21
-19
lines changed

ESANEOCC/core.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
"""
3-
Main module from ESA NEOCCS library. This module contains the two main
3+
Main module from ESA NEOCC library. This module contains the two main
44
methods of the library: *query_list* and *query_object*. The information
55
is obtained from ESA Near-Earth Object Coordination Centre's (NEOCC) web
66
portal: https://neo.ssa.esa.int/.
@@ -61,7 +61,7 @@ def query_list(list_name):
6161
* Risk list (special): *risk_list_special*
6262
* Close approaches (upcoming): *close_approaches_upcoming*
6363
* Close approaches (recent): *close_approaches_recent*
64-
* Priotiry list (normal): *priority_list*
64+
* Priority list (normal): *priority_list*
6565
* Priority list (faint): *priority_list_faint*
6666
* Close encounter list: *close_encounter*
6767
* Impacted objects: *impacted_objects*
@@ -199,7 +199,7 @@ def query_object(name, tab, **kwargs):
199199
name : str
200200
Name of the requested object
201201
tab : str
202-
Name of the request tab. Valid names are:summary,
202+
Name of the request tab. Valid names are: summary,
203203
orbit_properties, physical_properties, observations,
204204
ephemerides, close_approaches and impacts.
205205
**kwargs : str
@@ -291,7 +291,7 @@ def query_object(name, tab, **kwargs):
291291
-sigimp: The lateral distance in sigma-space from the LOV to
292292
the Earth surface. A zero implies that the LOV passes through
293293
the Earth-dist: Minimum Distance in Earth radii. The lateral
294-
distance from the LOV to the center of the Earth
294+
distance from the LOV to the centre of the Earth
295295
-width: one-sigma semi-width of the Target Plane confidence
296296
region in Earth radii
297297
-stretch: Stretching factor. It indicates how much the
@@ -393,7 +393,7 @@ def query_object(name, tab, **kwargs):
393393
information, it is necessary to provide two additional inputs to
394394
*query_object* method: **orbital_elements** and **orbit_epoch**.
395395
396-
It is mandatory to write these two paramters as: *orbit_epoch=' '*
396+
It is mandatory to write these two parameters as: *orbit_epoch=' '*
397397
to make the library works.
398398
399399
>>> ast_orbit_prop = neocc.query_object(name='99942',
@@ -415,7 +415,7 @@ def query_object(name, tab, **kwargs):
415415
method: **observatory**, **start**, **stop**, **step** and
416416
**step_unit***.
417417
418-
It is mandatory to write these five paramters as: *observatory=' '*
418+
It is mandatory to write these five parameters as: *observatory=' '*
419419
to make the library works.
420420
421421
>>> ast_ephemerides = neocc.query_object(name='99942',

ESANEOCC/lists.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
list.
2525
1.3 16-06-2021 URL and Timeout from configuration file
2626
for astroquery implementation.\n
27-
Change dateformat to datetime isoformat
27+
Change dateformat to datetime ISO format
2828
======== =========== ==========================================
2929
3030
© Copyright [European Space Agency][2021]

ESANEOCC/tabs.py

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
Adding timeout of 90 seconds.
3232
1.3 16-06-2021 URLs and timeout from configuration file for
3333
astroquery implementation.\n
34-
Change time format to datetime isoformat.\n
34+
Change time format to datetime ISO format.\n
3535
Change to correct types in attributes (e.g.,
3636
matrices, etc.)\n
3737
Change ephemerides skyfooter to fix bug.\n
@@ -1517,13 +1517,14 @@ def _orb_prop_parser(self, data_obj):
15171517

15181518

15191519
class KeplerianOrbitProperties(OrbitProperties):
1520-
"""This class contains information of keplerian asteroid orbit
1521-
properties. This class inherits the attributes from OrbitProperties.
1520+
"""This class contains information of asteroid orbit
1521+
properties in Keplerian reference frame. This class inherits the attributes
1522+
from OrbitProperties.
15221523
15231524
Attributes
15241525
----------
15251526
kep : pandas.DataFrame
1526-
Data frame which contains the keplerian elements information.
1527+
Data frame which contains the Keplerian elements information.
15271528
perihelion : int
15281529
Orbit perihelion in au.
15291530
aphelion : int
@@ -1543,11 +1544,11 @@ class KeplerianOrbitProperties(OrbitProperties):
15431544
u_par : int
15441545
Uncertainty parameter as defined by MPC.
15451546
rms : pandas.DataFrame
1546-
Root mean square for keplerian elements
1547+
Root mean square for Keplerian elements
15471548
cov : pandas.DataFrame
1548-
Covariance matrix for keplerian elements
1549+
Covariance matrix for Keplerian elements
15491550
cor : pandas.DataFrame
1550-
Correlation matrix for keplerian elements
1551+
Correlation matrix for Keplerian elements
15511552
15521553
"""
15531554

@@ -1678,8 +1679,9 @@ def _orb_kep_prop_parser(self, data_obj):
16781679

16791680

16801681
class EquinoctialOrbitProperties(OrbitProperties):
1681-
"""This class contains information of equinoctial asteroid orbit
1682-
properties. This class inherits the attributes from OrbitProperties.
1682+
"""This class contains information of asteroid orbit
1683+
properties in equinoctial reference frame. This class inherits
1684+
the attributes from OrbitProperties.
16831685
16841686
Attributes
16851687
----------
@@ -1842,7 +1844,7 @@ class Ephemerides:
18421844
Time step and time unit used during ephemerides calculation.
18431845
ephemerides : pandas.DataFrame
18441846
Data frame which contains the information of the object
1845-
ephemerides
1847+
ephemerides.
18461848
18471849
"""
18481850

@@ -1916,9 +1918,9 @@ def _ephem_parser(self, name, observatory, start, stop, step, step_unit):
19161918
stop : str
19171919
End date from which ephemerides are obtained.
19181920
step : str
1919-
Value for the time step (e.g. '1', '0.1', etc.)
1921+
Value for the time step (e.g. '1', '0.1', etc.).
19201922
step_unit : str
1921-
Units of the time step
1923+
Units of the time step.
19221924
Raises
19231925
------
19241926
KeyError

0 commit comments

Comments
 (0)