speXtra Package

spextra.spextra module

spextra.Spextrum

Class to handle spectra.

spextra.Passband

Class to handle astronomical filters

spextra.ExtinctionCurve

Class to handle extinction curves

spextra.get_vega_spectrum

Retrieve the Vega spectrum from the database

spextra.database module

spextra.database.Database

This class contains the database.

spextra.database.SpecLibrary

spextra.database.ExtCurvesLibrary

Class that contains the information of the a Extinction Curve Library

spextra.database.FilterSystem

This class contains the information of a filter system

spextra.database.SpectrumContainer

A holder of spectral template information, including template characteristics and location

spextra.database.ExtCurveContainer

spextra.database.FilterContainer

spextra.utils module

spextra.utils.Config

Set up the configuration for the database.

spextra.utils.download_file

Download a remote file to local path :2: (WARNING/2) Title underline too short. Download a remote file to local path ---------- remote_url str The URL of the file to download local_name str Absolute path filename of target file. :7: (WARNING/2) Definition list ends without a blank line; unexpected unindent.

spextra.utils.download_svo_filter

Query the SVO service for the true transmittance for a given filter Parameters ---------- filter_name : str Name of the filter as available on the spanish VO filter service e.g: Paranal/HAWKI.Ks