Welcome to easyspec’s documentation!¶
Tutorials¶
The instructions on how to use easyspec can be found in the GitHub directory “Tutorials”.
The main tutorials are:
Image_cleaning_easyspec: here we will guide you on how to reduce raw long-slit spectroscopic data, i.e., we will show you how to trim, debias, dedark, flatten, remove the cosmic rays, and stack the data.
spectroscopy_tracing_easyspec: here we will show you how to extract your spectra and calibrate them in wavelegnth and flux.
spectral_analysis_easyspec: finally, we show you how to fit a model to each line of your spectrum with a MCMC approach and recover physical quantities such as redshift, dispersion velocity, FWHM, line flux and many more.
For more advanced analyses, we recommend the tutorials
spectral_analysis_fitting_a_line_with_two_Gaussians: here we fit the H \({\beta}\) line with two Gaussian components and also explore the MCMC posterior distributions.
asymmetrical_lines_easyspec: here, we fit a skewed Lorentzian model to a C IV emission line, demonstrate how to construct a synthetic spectrum, and show how to manually define MCMC priors.
Stacking_reduced_spectra: In this tutorial, we show how to stack multiple spectra of the same target obtained with different instruments, spectral resolutions, and wavelength coverages.