tardis.plasma.properties.util.macro_atom module¶
- tardis.plasma.properties.util.macro_atom.calculate_transition_probabilities(transition_probability_coef, beta_sobolev, j_blues, stimulated_emission_factor, transition_type, lines_idx, block_references, transition_probabilities, normalize)[source]¶
Calculates transition probabilities for macro_atom interactions
transition_probability_coef must be a 1D array transition_type, lines_idx, and block_references must be int-type arrays beta_sobolev, j_blues,stimulated_emission_factor, and transition_probabilities must be 2D array