IonCollection#
- class fiasco.IonCollection(*args, **kwargs)[source]#
Bases:
object
Container for holding multiple ions. Instantiate with ions, elements, or another ion collection.
Examples
Attributes Summary
Methods Summary
free_bound
(wavelength, **kwargs)Compute combined free-bound continuum emission.
free_free
(wavelength)Compute combined free-free continuum emission (bremsstrahlung).
radiative_loss
(density, **kwargs)Calculate radiative loss curve which includes multiple ions
spectrum
(density, emission_measure[, ...])Calculate spectrum for multiple ions
Attributes Documentation
- temperature#
Methods Documentation
- free_bound(wavelength: Unit('Angstrom'), **kwargs)[source]#
Compute combined free-bound continuum emission.
Note
Both abundance and ionization equilibrium are included here.
The combined free-bound continuum is given by,
\[P_{fb}(\lambda,T) = \sum_{X,k}\mathrm{Ab}(X)f(X_{k+1})C_{fb, X_k}(\lambda,T)\]where \(\mathrm{Ab}(X)\) is the abundance of element \(X\), \(f(X_{k+1})\) is the ionization equilibrium of the recombining ion \(X_{k+1}\), and \(C_{fb, X_k}(\lambda,T)\) is the free-bound emission of the recombined ion \(X_k\) as computed by
fiasco.Ion.free_bound
. The sum is taken over all ions in the collection.- Parameters:
wavelength (
Quantity
) –
See also
- free_free(wavelength: Unit('Angstrom'))[source]#
Compute combined free-free continuum emission (bremsstrahlung).
Note
Both abundance and ionization equilibrium are included here
The combined free-free continuum is given by,
\[P_{ff}(\lambda,T) = \sum_{X,k}\mathrm{Ab}(X)f(X_{k})C_{ff, X_k}(\lambda,T)\]where \(\mathrm{Ab}(X)\) is the abundance of element \(X\), \(f(X_{k})\) is the ionization equilibrium of the ion, and \(C_{ff, X_k}(\lambda,T)\) is the free-free emission of the ion as computed by
fiasco.Ion.free_free
. The sum is taken over all ions in the collection.- Parameters:
wavelength (
Quantity
) –
See also
- radiative_loss(density: Unit('1 / cm3'), **kwargs)[source]#
Calculate radiative loss curve which includes multiple ions
- spectrum(density: Unit('1 / cm3'), emission_measure: Unit('1 / cm5'), wavelength_range=None, bin_width=None, kernel=None, **kwargs)[source]#
Calculate spectrum for multiple ions
Note
This function is still experimental and may be removed or significantly refactored in future releases.
- Parameters:
density (
Quantity
) – Electron number densityemission_measure (
Quantity
) – Column emission measurewavelength_range (
Quantity
, optional) – Tuple of bounds on which transitions to include. Default includes allbin_width (
Quantity
, optional) – Wavelength resolution to bin intensity values. Default to 1/10 of rangekernel (
Model1DKernel
, optional) – Convolution kernel for computing spectrum. Default is gaussian kernel with thermal width
- Returns:
See also
fiasco.Ion.spectrum
Compute spectrum for a single ion