modulo_twopi

Contents

modulo_twopi#

modulo_twopi(x_arr)[source]#

This returns the smallest value of x_arr, modulo 2*pi.

Parameters:
x_arrfloat or ndarray

Specified input value

Returns:
m_twopifloat or ndarray

The smallest value of each x_arr, modulo 2*pi

Notes