This page contains a list of tutorials which highlight some of the functionalities of species. These examples are also available as Jupyter notebook. Some of tutorials are still work in progress and more examples will be added in the future. Please contact Tomas Stolker if you have questions regarding a specific science case (see about
section) or create an issue if you encounter any problems with the tutorials.
Tip
Details on the various classes, functions, and parameters can be found in the API documentation.
tutorials/flux_magnitude.ipynb tutorials/synthetic_photometry.ipynb tutorials/color_magnitude_broadband.ipynb tutorials/color_magnitude_narrowband.ipynb tutorials/atmospheric_models.ipynb tutorials/data_model.ipynb tutorials/spectral_library.ipynb tutorials/fitting_model_spectra.ipynb tutorials/flux_calibration.ipynb
Important
A flux calibrated spectrum of Vega is used for the conversion between a flux density and magnitude. The magnitude of Vega is set to 0.03 for all filters. If needed, the magnitude of Vega can be changed with the vega_mag
attribute of a SyntheticPhotometry
object:
>>> synphot = species.SyntheticPhotometry('MKO/NSFCam.K')
>>> synphot.vega_mag = 0.01