Commit Graph
13 Commits
Author SHA1 Message Date
Jonathan Helmus 8eebb17bac No SegFault when unwrapping a 3D fully masked array
The unwrap_phase function no longer causes a Segmentation fault when passed
a 3D array in which all elements are masked.

Closes #1347
2015-01-21 16:45:23 -06:00
Jonathan Helmus d3024b5c73 No SegFault when unwrapping a 2D fully masked array
The unwrap_phase function no longer causes a Segmentation fault when passed
a 2D array in which all elements are masked.
2015-01-21 16:36:58 -06:00
Jonathan Helmus de01ea56ae unwrap_phase returns masked array when image is masked
With commit e3b84ed the unwrap_phase function would always return an ndarray
even when image was masked.  This restores the pre-e3b84ed behavior of
returning a masked array when the image is masked.
2015-01-21 16:23:50 -06:00
Jonathan Helmus eef3734bfe Remove end of line whitespace in test_unwrap.py 2015-01-21 16:03:18 -06:00
Jonathan Helmus 8ebe073ad5 BUG: unwrap_phase on compressed masked array
unwrap_phase works on masked arrays with a compressed mask (no elements masked)

Closes #1346
2015-01-21 16:01:13 -06:00
Steven Silvester c0a0490eed Fix handling of multiple warnings and update tests
Fix handling of multiple warnings

Update all test __init__ files

Update segmentation pkg

Update the color pkg

Update the exposure pkg

Update the filters pkg

Update the io pkg

Update the measure pkg

Update morphology package

Restructure test setup function

Add expected_warnings to __all__

Update restoration pkg.

Remove explicit filter check since it is done elsewhere

Fix the image test helpers

Update the transform pkg

Fix util pkg

Update viewer pkg
2014-12-23 16:51:06 -06:00
Steven Silvester 0debedd82c Handle more warnings and reset io plugins as needed
Reset plugins prior to running collections test

Handle warnings in morphology pkg

Add __init__ for morpohology tests

Handle warnings for novice pkg

Handle warnings for restoration pkg

Handle warnings for segmentation pkg

Handle warnings for _shared pkg

Handle warnings for transform pkg

Handle warnings for util pkg

Handle warnings in viewer module
2014-12-23 16:48:16 -06:00
Johannes Schönberger 03be934e6d Set seed for test cases 2014-12-16 16:38:01 +01:00
Stefan van der Walt 034a7adab3 Use equal_nulp for more robust test comparison 2014-11-07 16:04:54 +02:00
Jonathan Helmus 25653dc288 TST: Unit test to check for 3d unwrap seg fault
Added a unit test to check for bug in unwrap_phase which causes
a segmentation fault when the middle dimension is connected.
2014-11-06 21:03:14 -06:00
Johannes Schönberger e8ab5559d5 Test invalid input for unwrap_phase 2014-05-10 10:47:52 -04:00
Johannes Schönberger ef63523ab0 Move denoise functions to restoration submodule 2014-03-13 19:39:54 -04:00
Johannes Schönberger 107f1d607c Move phase unwrapping algorithms to restoration submodule 2014-03-13 18:50:39 -04:00