Commit Graph

148 Commits

Author SHA1 Message Date
cgohlke 98245449cb Fix test failures on Python 3 2012-06-11 09:36:29 -07:00
cgohlke bde2831709 Add test_float_out_of_range 2012-06-06 18:53:44 -07:00
cgohlke 96bad2e4cf Add range check against better judgment 2012-06-06 18:51:47 -07:00
cgohlke bbc5b8e552 Remove range check test 2012-05-24 01:20:51 -07:00
cgohlke 6d997b9af7 Remove controversial range check 2012-05-24 01:18:49 -07:00
cgohlke 225cfca4e2 Use general format 2012-05-23 12:09:41 -07:00
cgohlke 15c0df33c9 Fix TypeError 2012-05-23 12:03:23 -07:00
cgohlke 11c4ca7f53 Add floating point range check 2012-05-23 11:37:07 -07:00
cgohlke dad16f8a29 Restore test_float_out_of_range 2012-05-23 11:33:19 -07:00
cgohlke 4377c647f4 Code cleanup 2012-05-23 01:35:36 -07:00
cgohlke c4552d294a Return correct dtype 2012-05-23 00:57:26 -07:00
cgohlke 8575a46f42 Verify dtype 2012-05-23 00:55:28 -07:00
cgohlke 5153c97b21 Fix numpy 1.7dev casting 2012-05-23 00:16:00 -07:00
cgohlke 31d341c0cb Fix uniform conversion to signed int 2012-05-22 18:23:35 -07:00
cgohlke 7e51e519b1 Fix whitespace 2012-05-22 12:21:58 -07:00
cgohlke 85670d60b6 Update docstring 2012-05-22 12:13:51 -07:00
cgohlke 8e67dd901f Fix spelling 2012-05-22 11:49:17 -07:00
cgohlke 754f0e5d39 Docstring additions 2012-05-22 11:39:38 -07:00
cgohlke 64da74c91a Fix grammar 2012-05-22 11:12:47 -07:00
cgohlke e4b49239c4 Adjust tests for new type conversion rules 2012-05-22 00:25:42 -07:00
cgohlke 3ff1ebf526 Rewrite convert function 2012-05-22 00:21:32 -07:00
Stefan van der Walt b9289123f7 Explicitly use float64 instead of float. 2012-03-11 16:02:20 -07:00
Stefan van der Walt ea15eb7647 ENH: Allow forced copy of data upon type conversion. 2012-03-10 17:27:54 -08:00
Stefan van der Walt 7419c682de BUG: Fix typo in montage--xrange is no longer supported. 2012-03-03 11:25:37 -08:00
Tony S Yu 92f3c580d8 Clarify difference between view_as_blocks and view_as_windows. 2012-02-19 16:34:19 -05:00
Stefan van der Walt 0c304d5acd Merge pull request #138 from poilvert/array_views
ENH: Add window views and montage.
2012-02-19 00:27:09 -08:00
Nicolas Pinto 0a9522d4ea FIX: montage2d should not use rescale_intensity's out_range kwarg 2012-02-14 21:56:48 -05:00
Nicolas Pinto c61fe51d2f DOC: remove <BLANKLINE> nastiness, replace with appropriate doctest directive 2012-02-14 20:08:25 -05:00
Nicolas Pinto 68f8c68c3f FIX: util.montage2d 'normalize' becomes 'rescale_intensity' and defaults to False 2012-02-14 19:36:07 -05:00
Nicolas Pinto 64177b2000 ENH: add a 'normalize' kwarg to util.montage2d() 2012-02-14 00:04:42 -05:00
Nicolas Pinto 99efa1b771 ENH: add montage2d with tests 2012-02-13 21:20:31 -05:00
Nicolas Pinto 74864966ac STY: move 'util.shape' contributors to CONTRIBUTORS.txt 2012-02-13 09:41:02 -05:00
Nicolas Pinto cae47eda18 STY: fix typos 2012-02-13 09:37:44 -05:00
cgohlke 8045e1f623 Restore numpy 1.5 compatibility 2012-02-12 19:57:41 -08:00
Nicolas Pinto c1c954e19d STY: pep8 in util.shape + its tests 2012-02-12 14:59:58 -05:00
Nicolas Pinto 1108bd892e ENH: move 'util.array_views' to 'util.shape' 2012-02-12 14:59:06 -05:00
Nicolas Poilvert 93cd71553e make doctests pass with nose 2012-02-12 12:52:01 -05:00
Nicolas Poilvert 41a259ee26 simplifying code for clarity and modifying tests 2012-02-12 12:24:09 -05:00
Nicolas Poilvert 39a487834c more tests on rolling views 2012-02-12 01:06:47 -05:00
Nicolas Poilvert b4a1bf18ba remove empty line in __init__ 2012-02-12 00:10:40 -05:00
Nicolas Poilvert da707a78ed initial push of array view codes. tests for block views 2012-02-12 00:09:49 -05:00
Tony S Yu 5ed5c070c7 Fix test: clip image that exceeded float range. 2012-02-05 09:39:40 -08:00
Tony S Yu 0dcd5dc38e ENH: Check that float images are between 0 and 1. 2012-02-03 17:36:06 -05:00
Tony S Yu 74b0f41e15 ENH: Add tests for full coverage.
The extra dtype tests are not exhaustive, but, instead, were added to test specific code paths in `_convert`.
2012-02-03 16:25:11 -05:00
Tony S Yu 078ed488c8 Fix casting error when converting from int8 to uint16.
This error only comes up in development versions of numpy, which refuses to cast the input to the correct type for inplace operations.
2012-02-03 15:46:43 -05:00
cgohlke af01a41279 Merged some code paths 2011-12-12 22:04:16 -08:00
cgohlke 038db9d1ab Rewrite dtype._convert function 2011-12-11 12:01:33 -08:00
Nelle Varoquaux 114cf44c77 Renamed scikits.image to skimage 2011-10-18 21:12:27 +02:00