Skip to content

temuller/svo_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SVO API

API to download Spanish Virtual Observatory filters.

repo license Python Version PyPI DOI

Installation

It is recommended to install svo_api from pip:

pip install svo_api

or it can be installed from source in the usual way.

Usage Example

You can obtain the list of available facilities in SVO in one command:

get_facilities()

Many facilities can have multiple filters sets, e.g. for different instruments and telescopes. These can be obtained as follows:

facility = 'Paranal'
get_filters_sets(facility)

To download the filters, run the following command:

facility = 'Paranal'
filter_sets = 'HAWKI'  # if not specified, download all the filters sets
download_filter(facility, filter_sets)

Contributing

To contribute, either open an issue or send a pull request (prefered option). You can also contact me directly (check my profile: https://github.com/temuller).

Citing SVO API

If you make use of this code, please cite it:

@software{tomas_e_muller_bravo_2023_7957749,
  author       = {Tomás E. Müller Bravo},
  title        = {temuller/svo\_api: First Release (for zenodo)!},
  month        = may,
  year         = 2023,
  publisher    = {Zenodo},
  version      = {v0.1.0-zenodo},
  doi          = {10.5281/zenodo.7957749},
  url          = {https://doi.org/10.5281/zenodo.7957749}
}