Legacy (sunkit_spex.legacy)#
Warning
The legacy module has been deprecated since version 0.4 and will be removed in a future version.
sunkit_spex.legacy Package#
sunkit_spex.legacy.thermal Module#
Functions#
|
|
|
Calculate thermal line emission from the solar corona. |
|
Define continuum intensities as a function of temperature. |
|
Read default abundance values into global variable. |
|
Define line intensities as a function of temperature for calculating line emission. |
|
sunkit_spex.legacy.integrate Module#
Functions#
|
Compute a definite integral using fixed-order Gaussian quadrature. |
|
Compute a definite integral using fixed-order Gaussian quadrature. |
sunkit_spex.legacy.io Module#
Functions#
Read X-ray continuum emission info from an IDL sav file produced by CHIANTI |
|
Read X-ray emission line info from an IDL sav file produced by CHIANTI. |
|
|
Returns the abundances written in the xray_abun_file.genx |
|
sunkit_spex.legacy.emission Module#
Functions for computing the photon flux due to bremsstrahlung radiation from energetic electrons impacting a dense plasma. See [1] and [2].
References
Functions#
|
Return the value of the integrand for the thick- or thin-target bremsstrahlung models. |
|
Perform numerical Gaussian-Legendre Quadrature integration for thick- and thin-target models. |
|
Split and integrate the continuous parts of the electron spectrum. |
|
Computes the thick-target bremsstrahlung x-ray/gamma-ray spectrum from an isotropic electron distribution function provided in |
|
Computes the thin-target bremsstrahlung x-ray/gamma-ray spectrum from an isotropic electron distribution function provided in |
|
Compute the energy dependent terms of the collisional energy loss rate for energetic electrons. |
Classes#
|
A broken or double power law electron flux distribution and integral. |
Class Inheritance Diagram#
sunkit_spex.legacy.constants Module#
Class and code to easily switch between astropy constants and values taken directly from SSW for comparison.
Classes#
|
Centralised constant representation |
Class Inheritance Diagram#
sunkit_spex.legacy.fitting Package#
sunkit_spex.legacy.fitting.io Module#
The io module contains code to read instrument specific spectral data.
Functions#
sunkit_spex.legacy.photon_power_law Module#
Functions#
|
Analytically evaluate a photon-space broken power law and bin the flux. |
|
Single power law, defined by setting the break energy to -inf and the lower index to nan. |
|
Evaluate the antiderivative of a power law at a given energy or vector of energies. |