orbithunter.RelativeOrbitKS.calculate_spatial_shift

RelativeOrbitKS.calculate_spatial_shift(**kwargs)[source]

Calculate the phase difference between the spatial modes at t=0 and t=T

Parameters:
kwargs
n_modesint

Number of spatial modes to use in the phase calculation.

Returns:
shiftfloat

The best approximation for physical->comoving shift for relative periodic solutions.