dummy-link

Readme

+TITLE: Unwrap

+AUTHOR: Stefanos Carlström

+EMAIL: stefanos.carlstrom@gmail.com

[[https://travis-ci.org/jagot/Unwrap.jl][https://travis-ci.org/jagot/Unwrap.jl.svg?branch=master]] [[https://coveralls.io/github/jagot/Unwrap.jl?branch=master][https://coveralls.io/repos/jagot/Unwrap.jl/badge.svg?branch=master&service=github]] [[https://codecov.io/github/jagot/Unwrap.jl?branch=master][https://codecov.io/github/jagot/Unwrap.jl/coverage.svg?branch=master]]

  • Description This package aims to implement the 2d phase unwrapping algorithm of

  • Usage examples ** 1d

    +BEGIN_SRC julia

    using Unwrap using DSP

    x = linspace(0,10,3000)2π φ = angle(exp(im(x-8π).^2))

    # Unwrap.jl, 0.000637 seconds (9.00 k allocations: 375.117 KB) φφ = @time unwrap1d(φ) # DSP.jl, 0.027594 seconds (133.43 k allocations: 5.674 MB, 28.79% gc time) φφφ = @time unwrap(φ)

    +END_SRC

[[/examples/1d.png]]

** 2d #+BEGIN_SRC julia using Unwrap

 x = linspace(-1,1,200)
 y = x
 r² = broadcast(+, x.^2, (y').^2)
 z = exp(-r²)
 φ = angle(exp(im*z*10π))

 φ_old = copy(φ)
 φ1 = unwrap2d(φ)
 φ2 = unwrap2d(φ1) # Iterating improves result

#+END_SRC

[[/examples/2d.png]]

[[/examples/pathological.png]]

  • [ ] Test stability against noise.

Patches welcome!

First Commit

11/12/2016

Last Touched

over 1 year ago

Commits

5 commits

Requires:

Used By: