pysvo is a toolset that allows you to handle data coming from the Theoretical Model Services maintained by the Spanish Virtual Observatory. It was originally developed for use with StarHorse (Queiroz et al. 2019, Anders et al. 2019 ).
Currently, it can do the following things:
- Download and handle transmission curves supplied by the Filter Profile Service of the Spanish Virtual Observatory (SVO)
- Handle some of the stellar model spectra available from the Theoretical Spectra Webserver of the SVO
- Handle some of the most widely used extinction curves
- Calculate extinction coefficients for arbitrary photometric bands on the fly
You need to have the following python packages installed in order to use pysvo:
- numpy, scipy, astropy, matplotlib, collections
Optional:
- extinction
In order to work properly, currently you have to download the synthetic spectra by hand to the folder ./pysvo/spectrallib/SUBFOLDERNAME/SPECTRUMFILE.txt where SUBFOLDERNAME is either "Kurucz" or "BT-Settl", and the SPECTRUMFILE names depend on the library used...
This will be extended and automated soon.
Check out the tutorial in this directory.
The code would be useless without the huge effort by the SVO group at CAB to create and maintain the Spanish VO services. Thus, if you make use of pysvo as part of your work, please link to this repository and include the following acknowledgement in your publication:
This research has made use of the SVO Filter Profile Service (http://svo2.cab.inta-csic.es/theory/fps/) supported from the Spanish MINECO through grant AYA2017-84089.
If you use the Filter Profile Service, then the SVO team also appreciates if you could include the following references in your publication:
The SVO Filter Profile Service. Rodrigo, C., Solano, E., Bayo, A. http://ivoa.net/documents/Notes/SVOFPS/index.html
The Filter Profile Service Access Protocol. Rodrigo, C., Solano, E. http://ivoa.net/documents/Notes/SVOFPSDAL/index.html
Please send questions/doubts/bug reports to fanders@icc.ub.edu.