darfix.core.utils.wrapTo2pi# darfix.core.utils.wrapTo2pi(x)[source]# Python implementation of Matlab method wrapTo2pi. Wraps angles in x, in radians, to the interval [0, 2*pi] such that 0 maps to 0 and 2*pi maps to 2*pi. In general, positive multiples of 2*pi map to 2*pi and negative multiples of 2*pi map to 0.