AbsorptionSpectrum(lambda_min, lambda_max, n_lambda)¶
Base class for generating absorption spectra. This code was originally based in yt and more restrictive in terms of what development was allowed, so the
SpectrumGeneratorsubclass has more advanced functionality built on top of this. The base algorithm and functionality for spectral generation occurs here though.
The preferred method for generating spectra is using
lower wavelength bound in angstroms.
upper wavelength bound in angstroms.
number of wavelength bins.