casinotools.file_format.casino2.simulation_data module¶
Read one simulation data from a CASINO v2 file.
- class casinotools.file_format.casino2.simulation_data.SimulationData(is_skip_reading_data=False)[source]¶
Bases:
object- get_total_xray_intensities()[source]¶
Returns a
dictwith the intensities (generated and emitted) of all the lines and elements in the simulation. The dictionary is structured as followed: atomic number, line,EMITTEDorGENERATED. The lines can either beLINE_K,LINE_L,LINE_M.- Return type:
class:dict
- get_total_xray_intensities_1_esr()[source]¶
Returns a
dictwith the intensities (emitted) of all the lines and elements in the simulation in photon / (electron * steradians). The dictionary is structured as followed: atomic number, line. The lines can either beATOM_LINE_KA1,ATOM_LINE_KA2,ATOM_LINE_KB1,ATOM_LINE_KB2,ATOM_LINE_LA,ATOM_LINE_LB1,ATOM_LINE_LB2,ATOM_LINE_LG,ATOM_LINE_MA.- Return type:
class:dict