NEODySClass

class astroquery.solarsystem.neodys.NEODySClass[source]

Bases: BaseQuery

Attributes Summary

NEODYS_URL

TIMEOUT

Methods Summary

query_object(object_id, *[, ...])

Parameters:

Attributes Documentation

NEODYS_URL = 'https://newton.spacedys.com/~neodys2/epoch/'
TIMEOUT = 60

Methods Documentation

query_object(object_id, *, orbital_element_type='eq', epoch_near_present=0)[source]
Parameters:
object_idstr

Name of objects to be searched in NEODyS website

orbital_element_typestr

Sets coordinate system for results. eq - Equinoctial ke - Keplerian Defaults to Equinoctial which is given in higher precision.

epoch_near_presentbool

Sets the epoch to near present day. Otherwise defaults to near middle of the arc.

Returns:
Returns a dictionary with the following entries:
KEPfloat array

The state vector in Keplerian elements. Units in au and deg.

EQUfloat array

The state vector in Equinoctial elements.

COVfloat array

The covariance matrix.

CORfloat array

The correlation matrix for Keplerian.

MJDstr array

The Mean Julian date, and the time scale used.

MAGfloat array

The absolute magnitude (H) and slope parameter (G)

Raises:
ValueError

If input parameters are invalid.

RuntimeError

If connection to website fails.