Skip to content

Commit

Permalink
Added a notebook tutorial for fitting data with a grid of model spectra
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasstolker committed Mar 1, 2021
1 parent f4d3221 commit ad5ea84
Show file tree
Hide file tree
Showing 11 changed files with 1,602 additions and 243 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -4,7 +4,10 @@ docs/_build
docs/tutorials/species_config.ini
docs/tutorials/species_database.hdf5
docs/tutorials/*.png
docs/tutorials/*.fits
docs/tutorials/*.dat
docs/tutorials/data/*
docs/tutorials/ultranest/*
docs/tutorials/.ipynb_checkpoints/*
build/
dist/
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Expand Up @@ -43,10 +43,13 @@ clean:
rm -rf .pytest_cache/
rm -rf docs/_build/
rm -rf docs/tutorials/data/
rm -rf docs/tutorials/ultranest/
rm -rf docs/tutorials/.ipynb_checkpoints
rm -f docs/tutorials/species_config.ini
rm -f docs/tutorials/species_database.hdf5
rm -f docs/tutorials/*.png
rm -f docs/tutorials/*.fits
rm -f docs/tutorials/*.dat
rm -rf build/
rm -rf dist/
rm -rf species.egg-info/
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorials.rst
Expand Up @@ -13,13 +13,13 @@ This page contains a list of tutorials which highlight some of the functionaliti

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/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:
Expand Down

0 comments on commit ad5ea84

Please sign in to comment.