Skip to main content

AstDyS wrapper in python

Project description

This is a small wrapper to AstDyS catalogue of the asteroids in the Solar system.

How to use it

Installation

pip install astdys

Usage

import astdys

elements = astdys.search(1)
print(elements)

elements contains a dictionary of Keplerian elements of an asteroid.

Also, you can get a list of objects by the semi-major axis:

import astdys

objects = astdys.search_by_axis(2.70, sigma=0.2)
print(objects)

The method will return a dataframe containing all records found. sigma is optional and represent the variation (from axis-sigma to axis+sigma). The default value of sigma=0.1.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

astdys-0.9.2.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

astdys-0.9.2-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page