orbithunter.RelativeEquilibriumOrbitKS.cell_shift

RelativeEquilibriumOrbitKS.cell_shift(n_cell, axis=0)

Rotate by fraction of the period in either axis; nearest discrete approximate is taken.

Parameters
n_cellint or array-like

Fraction of the domain to rotate by.

axisint or array-like

The numpy ndarray axes along which to roll

Returns
OrbitKS :

Instance with rolled state

Notes

If provided tuples of ints, shift and axis need to be the same length as to be coherent.