unwrap: PEP8 fixes.

This commit is contained in:
Jostein Bø Fløystad
2013-07-15 12:31:31 +02:00
parent 3ddd94a89c
commit e0b7fe32a1
+2 -2
View File
@@ -63,10 +63,10 @@ def unwrap(image, wrap_around=False):
if image.ndim == 2:
unwrap_2d(image_not_masked, mask, image_unwrapped,
wrap_around)
wrap_around)
elif image.ndim == 3:
unwrap_3d(image_not_masked, mask, image_unwrapped,
wrap_around)
wrap_around)
if np.ma.isMaskedArray(image):
return np.ma.array(image_unwrapped, mask=mask)