fiasco currently only supports version 8 of the CHIANTI database.

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

temperature

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 fraction 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) –

free_free(wavelength: Unit('Angstrom'))[source]#

Compute combined free-free continuum emission (bremsstrahlung).

Note

Both abundance and ionization fraction 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) –

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 density

  • emission_measure (Quantity) – Column emission measure

  • wavelength_range (Quantity, optional) – Tuple of bounds on which transitions to include. Default includes all

  • bin_width (Quantity, optional) – Wavelength resolution to bin intensity values. Default to 1/10 of range

  • kernel (Model1DKernel, optional) – Convolution kernel for computing spectrum. Default is gaussian kernel with thermal width

Returns:

  • wavelength (Quantity) – Continuous wavelength

  • spectrum (Quantity) – Continuous intensity distribution as a function of wavelength

See also

fiasco.Ion.spectrum

Compute spectrum for a single ion