solrat.atom_model.multi_term_atom_model.object.precomputed_data module¶
- class solrat.atom_model.multi_term_atom_model.object.precomputed_data.PrecomputedData(coherence_decay_frame: Frame, absorption_frame: Frame, emission_e_frame: Frame, emission_s_frame: Frame, relaxation_e_frame: Frame, relaxation_a_frame: Frame, relaxation_s_frame: Frame, coherence_decay_frame_n_1: Frame | None = None)[source]¶
Bases:
objectContainer for precomputed atom-specific SEE frames.
Frames that do not depend on the radiation tensor or atmosphere parameters can be precomputed once, saved to CSV via
save_to_directory(), and reloaded viaload_from_directory(). Frames that still require the radiation tensor (absorption, emission_s, relaxation_a, relaxation_s) are stored with the atom-specific factor already evaluated; the radiation-tensor factor is applied perfill_all_equations()call.- classmethod load_from_directory(directory: str) PrecomputedData[source]¶
Load all frames from CSV files in directory.