tmdsimpy.utils.harmonic.shift_pm_pi¶
- tmdsimpy.utils.harmonic.shift_pm_pi(phase)¶
Shift phase to be within [-pi, pi).
- Parameters:
- phasenumpy.ndarray
Phase vector to be shifted.
- Returns:
- phasenumpy.ndarray
Shifted phase.
Notes
This function is not tested and should be used with care.