GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - astropy/astroquery: Functions and classes to access online data resources. Maintainers: @keflavich and @bsipocz

BranchesTags
Open more actions menu

Latest commit

 

History

11,169 Commits
11,169 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
astroquery
astroquery
 
 
docs
docs
 
 
licenses
licenses
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.mailmap
.mailmap
 
 
.readthedocs.yaml
.readthedocs.yaml
 
 
CHANGES.rst
CHANGES.rst
 
 
CITATION
CITATION
 
 
CONTRIBUTING.rst
CONTRIBUTING.rst
 
 
LICENSE.rst
LICENSE.rst
 
 
MANIFEST.in
MANIFEST.in
 
 
README.rst
README.rst
 
 
conftest.py
conftest.py
 
 
pyproject.toml
pyproject.toml
 
 
tox.ini
tox.ini
 
 

Repository files navigation

Documentation | View on Github | Download Development ZIP

Latest PyPI version Documentation Status Github Actions CI Status Coverage results Zenodo

Accessing Online Astronomical Data

Astroquery is an astropy affiliated package that contains a collection of tools to access online Astronomical data. Each web service has its own sub-package. For example, to interface with the SIMBAD website, use the simbad sub-package:

>>> from astroquery.simbad import Simbad
>>> theta1c = Simbad.query_object('tet01 Ori C')
>>> theta1c.pprint()
   main_id          ra           dec      ... coo_wavelength     coo_bibcode       matched_id
                   deg           deg      ...
------------- ------------- ------------- ... -------------- ------------------- -------------
* tet01 Ori C 83.8186095697 -5.3897005033 ...              O 2020yCat.1350....0G * tet01 Ori C

Installation and Requirements

Astroquery works with Python 3.10 or later. As an astropy affiliate, astroquery requires astropy version 5.0 or later.

The latest version of astroquery can be pip installed (note the --pre for picking up released developer versions, and -U for upgrade):

$ python -m pip install -U --pre astroquery

To install all the mandatory and optional dependencies add the [all] identifier to the pip command above (or use [docs] or [test] for the dependencies required to build the documentation or run the tests):

$ python -m pip install -U --pre astroquery[all]

To install the 'bleeding edge' version from GitHub:

$ python -m pip install git+https://github.com/astropy/astroquery.git

Using astroquery

Importing astroquery on its own doesn't get you much: you need to import each sub-module specifically. See the documentation for a list of Available Services. The API shows the standard suite of tools common to most modules, e.g. query_object and query_region.

To report bugs and request features, please use the issue tracker. Code contributions are very welcome, though we encourage you to follow the API and contributing guidelines as much as possible.

Citing Astroquery

If you use astroquery, please cite the paper we published in The Astronomical Journal.

The BibTeX entry is available from the package itself:

import astroquery
astroquery.__citation__

In addition you may also want to refer to specific versions of the package. We create a separate Zenodo DOI for each version, they can be looked up at the following Zenodo page

Code contributions

Astroquery welcomes PRs from our colleagues working at the various archives and astronomical data centers and/or of users of astroquery. However, we opted in enforcing a PR limit to exitsing contributors due to the recent uptake of LLM generated PRs from people who are neither of the above. If you are a new contributor in any of the categories listed, please reach out to one of the maintainers on the astropy slack about your planned contributions so we can add you to the exeptions list.

Additional Links

Maintained by Adam Ginsburg and Brigitta Sipőcz

About

Functions and classes to access online data resources. Maintainers: @keflavich and @bsipocz

astroquery.readthedocs.org/en/latest/

Topics

astronomyastropyastropy-affiliatedclosemberpython

Resources

Readme
BSD-3-Clause license

Code of conduct

Code of conduct

Contributing

Contributing
Activity
Custom properties

Stars

803 stars

Watchers

24 watching

Forks

462 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.