unwrap: Rename function unwrap() -> unwrap_phase().

This commit is contained in:
Jostein Bø Fløystad
2013-11-22 10:45:06 +01:00
parent 4cfec880b6
commit 781ead2c9f
4 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ image = exposure.rescale_intensity(image, out_range=(0, 4 * np.pi))
# Create a phase-wrapped image in the interval [-pi, pi)
image_wrapped = np.angle(np.exp(1j * image))
# Perform phase unwrapping
image_unwrapped = exposure.unwrap(image_wrapped)
image_unwrapped = exposure.unwrap_phase(image_wrapped)
# Plotting
plt.figure()