orbithunter.RelativeEquilibriumOrbitKS.calculate_spatial_shift

RelativeEquilibriumOrbitKS.calculate_spatial_shift(**kwargs)

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.