Add multi-wavelength spectroscopy tutorial#203
Open
aditya-pandey-dev wants to merge 7 commits intoJuliaAstro:mainfrom
Open
Add multi-wavelength spectroscopy tutorial#203aditya-pandey-dev wants to merge 7 commits intoJuliaAstro:mainfrom
aditya-pandey-dev wants to merge 7 commits intoJuliaAstro:mainfrom
Conversation
Adds an end-to-end spectroscopy tutorial covering: - Loading real SDSS spectra from FITS files (FITSIO.jl) - Physical units and Fλ↔Fν conversions (Unitful + UnitfulAstro) - Dust extinction with CCM89, OD94, CAL00 laws (DustExtinction.jl) - Spectral axis inspection via spectral_axis/flux_axis (Spectra.jl) - Automatic uncertainty propagation (Measurements.jl) - Synthetic blackbody spectra generation (Spectra.jl) - Spectral arithmetic: sky subtraction and scaling - Cosmological redshift and luminosity distances (Cosmology.jl) Includes test/test_tutorial.jl — standalone verification script. Updates docs/Project.toml with [compat] bounds for all new deps. Closes JuliaAstro#202
DustExtinction='0.6, 1' excluded v0.11.x (current release), creating an unsolvable constraint with FITSIO 0.17 in CI.
Tutorial uses plain julia code blocks (not @example), so docs build environment does not need to install tutorial dependencies. Extra packages were causing CI resolution failures in the JuliaAstroDocs test suite.
The CI test runner picks up all .jl files in test/ and tries to execute them. test_tutorial.jl requires packages not present in the test environment, causing JuliaAstroDocs to error. Users can run the tutorial locally by installing the packages listed in the tutorial's Packages section.
Author
|
@icweaver can you check the PR. What changes should I do? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #202
What's included
A new tutorial at
docs/src/tutorials/multi-wavelength-spectroscopy.mdcovering a realistic end-to-end spectroscopy workflow:spectral_axis/flux_axis(Spectra.jl)Testing
Includes
test/test_tutorial.jl— a standalone verification script:All 5 dependency tests pass on Julia 1.12.5
Packages exercised
Spectra.jl, FITSIO.jl, DustExtinction.jl, UnitfulAstro.jl, Measurements.jl, Cosmology.jl, Plots.jl
Notes
juliafences (not@example) since Spectra.jlis installed from GitHub and not yet in the General registry
continuum()is referenced as a planned future feature with a link toTowards
SpectraBase.jl[name tbd] Spectra.jl#41[compat]bounds added for all new registered dependencies