Skip to content

Commit

Permalink
Merge pull request #165 from tepickering/synth_arcs
Browse files Browse the repository at this point in the history
Synthetic wavelength calibration data
  • Loading branch information
tepickering authored Apr 12, 2023
2 parents 345c452 + 3eb4344 commit 94fce57
Show file tree
Hide file tree
Showing 15 changed files with 1,225 additions and 135 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/tox-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,25 +33,25 @@ jobs:
include:
- os: ubuntu-latest
python: '3.8'
tox_env: 'py38-test-datadeps'
tox_env: 'py38-test'
- os: ubuntu-latest
python: '3.9'
tox_env: 'py39-test-datadeps'
tox_env: 'py39-test'
- os: ubuntu-latest
python: '3.10'
tox_env: 'py310-test-datadeps-cov'
tox_env: 'py310-test-cov'
- os: macos-latest
python: '3.10'
tox_env: 'py310-test-datadeps-devdeps'
tox_env: 'py310-test-devdeps'
- os: ubuntu-latest
python: '3.10'
tox_env: 'py310-test'
python: '3.11'
tox_env: 'py311-test'
- os: ubuntu-latest
python: '3.10'
tox_env: 'codestyle'
- os: ubuntu-latest
python: '3.8'
tox_env: 'py38-test-datadeps-oldestdeps'
tox_env: 'py38-test-oldestdeps'

steps:
- name: Check out repository
Expand Down
3 changes: 3 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ API Index
.. automodapi:: specreduce.core
:no-inheritance-diagram:

.. automodapi:: specreduce.utils.synth_data
:no-inheritance-diagram:

.. automodapi:: specreduce.tracing
:no-inheritance-diagram:

Expand Down
2 changes: 1 addition & 1 deletion docs/extinction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ as fractional transmission as a function of wavelength:
ax[0].plot(ext.spectral_axis, ext.extinction_mag, label=model)
ax[1].plot(ext.spectral_axis, ext.transmission)
ax[0].legend(fancybox=True, shadow=True)
ax[1].set_xlabel("Wavelength ($\AA$)")
ax[1].set_xlabel("Wavelength (Angstroms)")
ax[0].set_ylabel("Extinction (mag)")
ax[1].set_ylabel("Transmission")
plt.tight_layout()
Expand Down
2 changes: 1 addition & 1 deletion docs/specphot_standards.rst
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ spectra available from MAST, ESO, and the Nearby Supernova factory:
import matplotlib.pyplot as plt
from specreduce.calibration_data import load_MAST_calspec, load_onedstds

s1 = load_MAST_calspec("ltt9491_002.fits", remote=True)
s1 = load_MAST_calspec("ltt9491_002.fits")
s2 = load_onedstds("snfactory", "LTT9491.dat")
s3 = load_onedstds("eso", "ctiostan/ltt9491.dat")

Expand Down
400 changes: 367 additions & 33 deletions notebook_sandbox/dev.ipynb

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@ install_requires =
synphot
matplotlib
photutils
pyparsing

[options.entry_points]

[options.extras_require]
data =
specreduce_data
test =
pytest-astropy
docs =
Expand Down
Loading

0 comments on commit 94fce57

Please sign in to comment.