differt.em.propagate_wavefront

differt.em.propagate_wavefront#

propagate_wavefront(paths, mesh, tx_wavefront=0.0)[source]#

Propagate the wavefront curvature state along the given traced paths.

Performs a scan along each path’s segments and interaction bounces, transporting principal radii and axes through free space, reflections, transmissions, and diffractions.

Parameters:
Return type:

PathWavefront

Returns:

A PathWavefront instance carrying the final state, per-bounce incident curvatures, segment radii, and total spreading factor.