hera_sim.utils.wrap2pipi

hera_sim.utils.wrap2pipi(a)[source]

Wrap values of an array to [-π; +π] modulo 2π.

Parameters:

a (array_like) – Array of values to be wrapped to [-π; +π].

Returns:

res (array_like) – Array of ‘a’ values wrapped to [-π; +π].