Jostein Bø Fløystad
37b5a946c8
unwrap tests: PEP8 fixes.
2013-11-22 10:45:07 +01:00
Jostein Bø Fløystad
f53a4e0764
unwrap: Add naive 1D unwrapper.
...
The naive 1D unwrapper does not support masked arrays because the
1D unwrapping problem has an infite number of solutions when faced with
missing data. Wrap around is not implemented because 1D phase unwrapping
must start at a certain pixel, and there will always be a risk of a
discontinuity there, wrap around or not.
2013-11-22 10:45:07 +01:00
Jostein Bø Fløystad
27c13a1193
unwrap: Warn about singleton dimensions in 3D arrays.
2013-11-22 10:45:06 +01:00
Jostein Bø Fløystad
781ead2c9f
unwrap: Rename function unwrap() -> unwrap_phase().
2013-11-22 10:45:06 +01:00
Jostein Bø Fløystad
9e50686c8f
unwrap: Add test for unwrapping masked images.
2013-11-22 10:45:06 +01:00
Jostein Bø Fløystad
8a93677db0
unwrap: Delete "example" from the test file.
2013-11-22 10:45:06 +01:00
Jostein Bø Fløystad
c0d0984049
unwrap: Make sure test data wraps along all dimensions.
2013-11-22 10:45:06 +01:00
Jostein Bø Fløystad
619da811d8
unwrap: Reduce code duplication.
...
Use the yield functionality in nose to minimize setup.
2013-11-22 10:45:06 +01:00
Jostein Bø Fløystad
b0c21ea972
unwrap: Reduce duplication in tests.
2013-11-22 10:45:06 +01:00
Jostein Bø Fløystad
43d110627b
unwrap: PEP8 fixes.
2013-11-22 10:45:06 +01:00
Jostein Bø Fløystad
6dbe6965e6
unwrap: Test wrap_around functionality.
...
This test is currently failing. Most likely, the axes are swapped.
2013-11-22 10:42:29 +01:00
Jostein Bø Fløystad
ac330662b9
unwrap: Remove unused imports
2013-11-22 10:42:28 +01:00
Jostein Bø Fløystad
0e56ee9577
unwrap: Remove plotting code.
2013-11-22 10:42:28 +01:00
Jostein Bø Fløystad
e780bd7a5a
unwrap: refactor tests.
...
Update imports to skimage
Use simple test functions, do not wrap in a class
Whitespace fixes
2013-11-22 10:42:28 +01:00
Jostein Bø Fløystad
5692989a11
unwrap: Move files to skimage directory tree.
2013-11-22 10:42:28 +01:00