Commit Graph

4608 Commits

Author SHA1 Message Date
John Wiggins 6e6d243dbd Use assert_raises instead of @raises. 2015-08-28 21:19:20 +02:00
John Wiggins a0fc75c7cb Don't use two lines to raise an exception with a short message. 2015-08-28 21:10:39 +02:00
John Wiggins c05108da36 Replace a doc test with some regular unit tests. 2015-08-28 21:03:01 +02:00
John Wiggins ff4e3bd0bd Raise an error for negative sigma values in guassian_filter. 2015-08-28 20:37:26 +02:00
Stefan van der Walt 8cb409bcb0 Add alpha layer support to gray2rgb 2015-08-21 15:36:23 -07:00
Johannes Schönberger ec64872fd5 Some doc string fixes for recently merged code 2015-08-20 19:08:54 -04:00
Johannes Schönberger 236aa208fe Merge pull request #1583 from grlee77/fix_interp_modes
FIX:  bug in 'reflect' and 'wrap' coordinate mapping
2015-08-20 18:53:11 -04:00
Johannes Schönberger d4641a436a Improve documentation of moments functions 2015-08-19 14:11:39 -04:00
Gregory R. Lee 49b4f69ac0 MAINT: remove unused import 2015-08-18 12:22:10 -04:00
Gregory R. Lee 1303317512 BUG: fix one additional location where ndimage mode conversion was needed 2015-08-14 09:38:02 -04:00
Gregory R. Lee c7a82f8ceb MAINT: minor spacing issues and typos fixed 2015-08-13 23:39:56 -04:00
Gregory R. Lee 81ea7a6e34 MAINT: All modes in _shared.interpolation.pxd were changed to be consistent with numpy.pad naming conventions. Specifically 'nearest' was changed to 'edge' and 'mirror' was changed to 'reflect'. All functions with a mode argument that rely on these functions had their inputs changed accordingly. For now there is a deprecation warning if the user supplies mode 'nearest'. Mode 'mirror' never appeared in an official release of skimage and so has no corresponding deprecation warning. 2015-08-13 23:39:55 -04:00
Gregory R. Lee 8e3b6bc9da MAINT: convert additional numpy.pad mode names to their dask.array equivalents 2015-08-13 23:39:55 -04:00
Gregory R. Lee cef22e4234 MAINT: PEP8 fixes and _interpolation_test.pyx -> interpolation.pyx rename 2015-08-13 23:39:55 -04:00
Gregory R. Lee 48622ca179 TST: add test for resizing 2D image with a 3D output shape 2015-08-13 23:39:54 -04:00
Gregory R. Lee 9e9c65b97c ENH: add mode 'mirror' to interpolation.pxd and dependent functions 2015-08-13 23:39:54 -04:00
Gregory R. Lee 3ae1e3138a BUG: bugfix for resize: upgrade image to 3d if necessary 2015-08-13 23:39:54 -04:00
Gregory R. Lee c5a735420f DOC: add visual example of edge modes 2015-08-13 23:39:53 -04:00
Gregory R. Lee a36ab880fc TST: add tests for coord_map function 2015-08-13 23:39:53 -04:00
Gregory R. Lee 7cfbd70204 BUG: fix bugs in coord_map for modes wrap and reflect 2015-08-13 23:39:53 -04:00
Josh Warner cbc851bba6 FIX/STY: Remove magic and enforce PEP8 in plugins. 2015-08-13 19:47:00 -05:00
Josh Warner (Mac) b35215ec6b TSTFIX: Missing assert statement and PEP8 2015-08-01 00:28:35 -05:00
Jonathan Helmus 70d1afe153 DOC: Simplified the message when a broken skimage build detected 2015-07-30 14:53:49 -05:00
Jonathan Helmus 00a841f1c2 MAINT: Refactored imports 2015-07-28 14:11:51 -05:00
Jonathan Helmus f10ae88139 MAINT: remove unchecked import from util.dtype 2015-07-28 14:06:03 -05:00
Jonathan Helmus d2519d610f ENH: Build check in skimage/__init__.py module 2015-07-28 14:00:32 -05:00
Jonathan Helmus 9727711405 Removed __check_build directory 2015-07-28 13:43:48 -05:00
Jonathan Helmus 93366d1b57 MAINT: Fixed __check_build setup.py file 2015-07-28 13:16:09 -05:00
Jonathan Helmus 64c4252eab BLD: __SKIMAGE_SETUP__ global variable for detecting build
The __SKIMAGE_SETUP__ global variable is set to True if skimage is being build
from the main setup.py file, False if not.  This behavior is modeled after a
similar setup in scikit-learn
2015-07-28 13:16:09 -05:00
michaelpacer edc16c6b75 Added build location checker, does not fully work yet. Complicated error. 2015-07-28 13:14:41 -05:00
Juan Nunez-Iglesias c2f8c4ab12 Merge pull request #1599 from blink1073/viridis
Add the viridis colormap and use it for non-standard images
2015-07-22 12:54:07 +10:00
Steven Silvester 5632c9c1a9 Only add colorbar if the cmap is not the default 2015-07-16 21:39:05 -05:00
Steven Silvester 9fb7676c92 Fix relative import 2015-07-16 21:28:37 -05:00
Steven Silvester eaaea690f2 Allow viridis to be used by name 2015-07-16 07:58:14 -05:00
Steven Silvester 3d963649fc Use a less-invasive approach 2015-07-16 07:56:14 -05:00
Steven Silvester 3d044af4da Be more explicit about configparser import 2015-07-15 21:22:41 -05:00
Josh Warner 24b3a81dd9 Merge pull request #1604 from blink1073/pil-close
FIX: Do not let PIL manage the file handle.
2015-07-14 21:47:32 -05:00
Steven Silvester 8122e26731 Add another file guard 2015-07-14 09:28:53 -05:00
Steven Silvester b75ee66a61 Clean up tests by using fresh figures 2015-07-14 07:47:59 -05:00
Steven Silvester a8580f76b3 Always create a colorbar and update tests 2015-07-14 07:47:59 -05:00
Steven Silvester 756b9289c9 Add the viridis colormap and make it the default 2015-07-14 07:47:59 -05:00
Steven Silvester 80fe225fc8 Fix failing test 2015-07-14 07:47:22 -05:00
Steven Silvester 085be65e83 Remove use of view_as_window and fix docstring 2015-07-14 07:47:22 -05:00
Steven Silvester 603844431a More variable renaming 2015-07-14 07:47:22 -05:00
Steven Silvester 323a2791bb Rename variable for clarity 2015-07-14 07:47:22 -05:00
Steven Silvester d755decf15 Remove debug print 2015-07-14 07:47:22 -05:00
Steven Silvester acc9a8a748 Use smarter indexing 2015-07-14 07:47:22 -05:00
Steven Silvester 1f56de9595 Remove min_overlap kwarg 2015-07-14 07:47:22 -05:00
Steven Silvester c948f9fe97 Fix view as windows test 2015-07-14 07:47:22 -05:00
Steven Silvester 3aafbb78dd Rename optimal_step and add comments 2015-07-14 07:47:22 -05:00