Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.7 KB

tutorials.rst

File metadata and controls

30 lines (22 loc) · 1.7 KB

Tutorials

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 :ref:`about` section) or create an issue if you encounter any problems with the tutorials.

Warning

The last tutorial is somewhat outdated and incomplete because species has been under continuous development. If anything is unclear or causes an error, then please have a look at the API documentation, which is kept up-to-date, or contact Tomas Stolker (see :ref:`about` section).

.. toctree::
   :maxdepth: 1

   tutorials/flux_magnitude.ipynb
   tutorials/synthetic_photometry.ipynb
   tutorials/spectral_library.ipynb
   tutorials/color_magnitude_broadband.ipynb
   tutorials/color_magnitude_narrowband.ipynb
   tutorials/atmospheric_models.ipynb
   tutorials/data_model.ipynb
   tutorials/flux_calibration.ipynb
   tutorials/fitting_model_spectra.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