zkit.io.scid

Readers for SCID-TDSE output tables, for benchmarking TDSE-Z.

SCID-TDSE (https://github.com/MBI-Theory/scid-tdse) solves the TDSE in spherical coordinates. Its text tables (optionally gzipped) are read here:

  • detail_output (detail.table): time series of the norm, energy, dipole, dipole velocity and acceleration;

  • field_preview (field.table): vector potential and electric field;

  • sts_volkov_table / sts_coulomb_table: t-SURF amplitudes on a (|k|, theta, phi) product grid.

The column positions are taken from each table’s own header, not hard-coded.

zkit.io.scid.read_scid_detail(path)

Time series of a SCID-TDSE detail_output table.

Returns a dict of 1-D arrays: time, vector_potential, norm (Re <L|R>), energy (Re <H>, with the CAP), dipole (n, 3), velocity (n, 3) and acceleration (n, 3) (real parts, x, y, z; the dipole of the electron is <e.r> as SCID-TDSE writes it) and field (n, 3), the electric field at the same times.

Parameters:

path (str | Path)

Return type:

dict

zkit.io.scid.read_scid_field(path)

time, vector_potential (magnitude, theta, phi) and field (n, 3) of a SCID-TDSE field_preview table (integer steps only).

Parameters:

path (str | Path)

Return type:

dict

zkit.io.scid.read_scid_pes(path)

t-SURF amplitudes of a SCID-TDSE sts_volkov_table or sts_coulomb_table.

The table lists A(k) on a product grid of |k| and the direction (theta, phi, in degrees). |A(k)|^2 = dP/d^3k (canonical momentum).

Parameters:

path (str | Path)

Return type:

ScidSpectrum