Reference#
Software and API.
sunkit_spex Package#
sunkit_spex.thermal Module#
Functions#
|
|
|
|
|
Calculate thermal line emission from the solar corona. |
|
Define continuum intensities as a function of temperature. |
|
Define line intensities as a function of temperature for calculating line emission. |
|
Read default abundance values into global variable. |
sunkit_spex.integrate Module#
Functions#
|
Compute a definite integral using fixed-order Gaussian quadrature. |
|
Compute a definite integral using fixed-order Gaussian quadrature. |
sunkit_spex.io Module#
Functions#
Read X-ray emission line info from an IDL sav file produced by CHIANTI. |
|
Read X-ray continuum emission info from an IDL sav file produced by CHIANTI |
|
|
|
|
Returns the abundances written in the xray_abun_file.genx |
sunkit_spex.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#
|
Compute the energy dependant terms of the collisional energy loss rate for energetic electrons. |
|
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 thin-target bremsstrahlung x-ray/gamma-ray spectrum from an isotropic electron distribution function provided in |
|
Computes the thick-target bremsstrahlung x-ray/gamma-ray spectrum from an isotropic electron distribution function provided in |
Classes#
|
A broken or double power law electron flux distribution and integral. |
Class Inheritance Diagram#
sunkit_spex.constants Module#
Class and code to easily switch between astropy constants and values taken directly from SSW for comparision.
Classes#
|
Centralised constant representation |
Class Inheritance Diagram#
sunkit_spex.fitting_legacy Package#
sunkit_spex.fitting_legacy.io Module#
The io
module contains code to read instrument specific spectral data.
Functions#
|
Read a .pha file and extract useful information from it. |
|
Read a .arf file and extract useful information from it. |
|
Read a .rmf file and extract useful information from it. |
|
Read RHESSI spectral fits file and extract useful information from it. |
|
Read RHESSI SRM fits file and extract useful information from it. |
|
Read STIX spectral fits file and extracts useful information from it. |
|
Read a STIX SRM spectral fits file and extract useful information from it. |
sunkit_spex.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. |