irradiapy.spectrapka.matrices module

Utilities to read and plot SPECTRA-PKA .out files.

irradiapy.spectrapka.matrices.plot_all(data, out_path)[source]

Plot all matrices from data returned by irradiapy.spectrapka.matrices.read.

Parameters:
  • data (dict[str | int, Any]) – Data dictionary from irradiapy.spectrapka.matrices.read.

  • out_path (Path) – Output path to save the plots.

Return type:

None

irradiapy.spectrapka.matrices.read(file_path)[source]

Read a SPECTRA-PKA .out file.

Parameters:

file_path (Path) – Path to SPECTRA-PKA .out file.

Returns:

Dictionary containing the data from the .out file.

Return type:

dict[str | int, Any]