[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unwrap modulo 2pi

Hello all,

Does anyone have a quick function for unwrapping/undoing a modulo 2pi
operation... Omatrix has such a function but I after an hour of
fiddling I cannot seem to do it in IDL.

NB: I moved from omatrix -> IDL about a month ago.

omatrix would be something like:

x = 2*seq(5)
y = 2*Pi
print x

omatrix> x = {2,4,6,8,20}

Thanks for the help!

Sent via Deja.com