sbdb

This module contains a wrapper for the SBDB (small-body database) interface of the astroquery package

Classes

SBDBquery(MPCcode, *args, **kwargs)

Small-Body Database Query for retrieving various properties of a small body.

class SBDBquery(MPCcode: str | int, *args, **kwargs)[source]

Bases: object

Small-Body Database Query for retrieving various properties of a small body. Useful for retrieving names and masses in conjunction with the MPC module.

__init__(MPCcode: str | int, *args, **kwargs) → None[source]

Create a Small-Body Database Query

Additional parameters are available through args and kwards, see: https://astroquery.readthedocs.io/en/latest/jplsbdb/jplsbdb.html

Parameters:

MPCcode (Union[str, int]) – MPC code for the object.

estimated_spherical_gravitational_parameter(density: float) → float[source]

Calculate a very simple gravitational parameter by estimating the object’s mass using a given density. Will raise an error if the body’s diameter is not available on SBDB.

Parameters:

density (float) – Density of the object in kg m^-3

Returns:

Simplified estimation for the object’s gravitational parameter

Return type:

float

estimated_spherical_mass(density: float) → float[source]

Calculate a very simple mass by estimating the object’s mass using a given density. Will raise an error if the body’s diameter is not available on SBDB.

Parameters:

density (float) – Density of the object in kg m^-3

Returns:

Simplified estimation for the object’s mass

Return type:

float

property Dt

read-only

If available, returns asymmetric cometary non-gravitational model Dt (see Yeomans and Chodas, 1989) of the small body in [seconds]

property codes_300_spkid

read-only

Returns spice kernel number for the codes_300ast_20100725.bsp spice kernel.

Some objects may return a name instead of a number. These are objects specifically specified by name in the codes_300ast_20100725.bsp kernel.

See https://naif.jpl.nasa.gov/pub/naif/generic_kernels/spk/asteroids/aa_summaries.txt for a list of exceptions

property diameter

read-only

Returns diameter of the small body if available

property first_obs

read-only

If available, returns date of the first observation used for the orbit estimation of the small body in [seconds since J2000]

property gravitational_parameter

read-only

Returns the gravitational parameter for the small body if available

property last_obs

read-only

If available, returns date of the last observation used for the orbit estimation of the small body in [seconds since J2000]

property moid

read-only

Returns the Small-Body’s Minimum Orbital Intersection Distance with the Earth [m], if available

property moid_jup

read-only

Returns the Small-Body’s Minimum Orbital Intersection Distance with Jupiter [m], if available

property name

read-only

Short name in the format: MPC NAME DESIGNATION

property nongrav_params

read-only

Returns cometary non-gravitational model parameters for the small body in [m/s^2]. If one or more parameter is unavailable a corresponding value of 0 is returned in the array

property object_classification

read-only

Returns the orbit class of the object for example Amor Group for Eros

property object_info

read-only

Returns info about the object, including its designation and orbit class

property perihelion

read-only

If available, returns perihelion of the small body in [m]

property shortname

read-only

Short name in the format: MPC NAME

property spkid

read-only

Returns the JPL SPKID, the related codes_300_spkid method returns a modified ID for the Tudat standard kernel

property time_perihelion

read-only

If available, returns time of perihelion of the small body in [seconds since J2000]