bartorch.unwrap#
- bartorch.unwrap(input, axis, *, bound=math.pi)#
Unwrap the real part along
axis: remove the jumps a period of2 * boundputs in it.A jump
dbetween neighbours with|d| > boundis corrected by-sign(d) * ceil(|d| / bound) * bound, which is2 * boundfor any jump a wrapped signal can have (|d| < 2 * bound) and matchesnumpy.unwrap()withperiod=2 * boundthere. The imaginary part is left alone.- Parameters:
bound (float) – Half the period (
-b).