parallel_transport¶
- marxs.math.polarization.parallel_transport(dir_old, dir_new, pol_old, **kwargs)[source]¶
Parallel transport of the polarization vector with no polarization happening.
Parameters¶
- dir_old, dir_newnp.array of shape (n, 4)
Old and new photon direction in homogeneous coordinates.
- pol_oldnp.array of shape (n, 4)
Old polarization vector in homogeneous coordinates.
- kwargsdict
All other arguments are passed on to
paralleltransport_matrix.
Returns¶
- polnp.array of shape (m, 4)
Parallel transported vectors.