zkit.io.surff

Read td/<name>_surff.h5 files (t-SURFF photoelectron spectra).

zkit.io.surff.read_surff(path)

Read a t-SURFF file written by TDSE-Z (TSurff = 1).

Parameters:

path (str | Path) – Path to td/<name>_surff.h5.

Returns:

Momenta, complex amplitudes b(k), |b|^2, the flux part alone (with SurffInterior or SurffEndTerm), the grid axes and pes_grid (grid mode) and the file attributes (final_time, radius, A_final, end_term, …).

Return type:

SurffSpectrum