SimulationResults¶

class
plasmapy_nei.nei.
SimulationResults
(initial: plasmapy.particles.ionization_states.IonizationStates, n_init: astropy.units.quantity.Quantity, T_e_init: astropy.units.quantity.Quantity, max_steps: int, time_start: astropy.units.quantity.Quantity)[source]¶ Bases:
object
Results from a nonequilibrium ionization simulation.
Parameters:  initial (plasmapy.atomic.IonizationStates) – The
IonizationStates
instance representing the ionization states of different elements and plasma properties as the initial conditions.  n_init (astropy.units.Quantity) – The initial number density scaling factor.
 T_e_init (astropy.units.Quantity) – The initial electron temperature.
 max_steps (int) – The maximum number of time steps that the simulation can take before stopping.
 time_start (astropy.units.Quantity) – The time at the start of the simulation.
Attributes Summary
T_e
The electron temperature over the course of the simulation in kelvin. abundances
The relative elemental abundances of the elements modeled in this simulation. elements
The elements modeled by this simulation. ionic_fractions
Return the ionic fractions over the course of the simulation. last_step
The time index of the last step. max_steps
The maximum number of time steps allowed for this simulation. n_e
The electron number density over the course of the simulation in units of number density. n_elem
The number densities of each element over the course of the simulation. nstates
Return the dictionary containing atomic symbols as keys and the number of ionic species for the corresponding element as the value. number_densities
Return the number densities over the course of the simulation. time
The time for each time step over the course of the simulation in units of seconds. Attributes Documentation

T_e
¶ The electron temperature over the course of the simulation in kelvin.
The index of this array corresponds to the time step.

abundances
¶ The relative elemental abundances of the elements modeled in this simulation.
The keys are the atomic symbols and the values are a float representing that element’s elemental abundance.

elements
¶ The elements modeled by this simulation.

ionic_fractions
¶ Return the ionic fractions over the course of the simulation.
The keys of this dictionary are atomic symbols. The values are 2D arrays where the first index refers to the time step and the second index refers to the integer charge.

last_step
¶ The time index of the last step.

max_steps
¶ The maximum number of time steps allowed for this simulation.

n_e
¶ The electron number density over the course of the simulation in units of number density.
The index of this array corresponds to the time step.

n_elem
¶ The number densities of each element over the course of the simulation.
The keys of
n_elem
are atomic symbols. The values are 1D arrays with units of number density where the index refers to the time step.

nstates
¶ Return the dictionary containing atomic symbols as keys and the number of ionic species for the corresponding element as the value.

number_densities
¶ Return the number densities over the course of the simulation.
The keys of
number_densities
are atomic symbols. The values are 2D arrays with units of number density where the first index refers to the time step and the second index is the integer charge.

time
¶ The time for each time step over the course of the simulation in units of seconds.
 initial (plasmapy.atomic.IonizationStates) – The