Commit Graph

5928 Commits

Author SHA1 Message Date
James Turner 3c83eb8966 Readability improvement suggested by tonysyu 2012-05-29 11:36:42 -04:00
James Turner cb44e508f3 Allow for type of hdu.size changing in PyFITS 3.1 2012-05-28 19:46:39 -04: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 b7045e6cd0 Fix rescale_intensity 2012-05-22 18:58:22 -07:00
cgohlke 31d341c0cb Fix uniform conversion to signed int 2012-05-22 18:23:35 -07:00
Stefan van der Walt 2eb0a2552f BUG: Remove debugging print statement that broke Py3k. 2012-05-22 17:38:19 -07:00
Stefan van der Walt a3b9ca7320 Merge pull request #183 from ahojnnes/measure
ENH: Add regionprops.
2012-05-22 16:12:42 -07:00
Johannes Schönberger 8e09617516 add moments Cython extension to bento.info 2012-05-22 23:30:37 +02:00
Johannes Schönberger 12a878dd59 add example script for regionprops function to documentation 2012-05-22 23:28:14 +02:00
Johannes Schönberger 7b0703f663 regionprops takes optional intensity images 2012-05-22 23:28:14 +02:00
Johannes Schönberger 58d07c0a05 replace inline latex equations in doc string with plain text 2012-05-22 23:28:13 +02:00
Johannes Schönberger 0c22521916 reduce parameter choice of properties 2012-05-22 23:28:13 +02:00
Johannes Schönberger 627ac3cbb9 change reference note in doc string 2012-05-22 23:28:13 +02:00
Johannes Schönberger e30fcfc493 make matrix shape more readable in doc string 2012-05-22 23:28:13 +02:00
Johannes Schönberger 8d1f2dc38f remove unused variables 2012-05-22 23:28:13 +02:00
Johannes Schönberger c414d8df07 update contribution for regionprops 2012-05-22 23:28:13 +02:00
Johannes Schönberger 06759d2bdf make all test cases of regionprops work 2012-05-22 23:28:13 +02:00
Johannes Schönberger b04138c39c parameters of ellipse match Matlab results 2012-05-22 23:28:13 +02:00
Johannes Schönberger 8ec52869c7 fix wrong indentation 2012-05-22 23:28:13 +02:00
Johannes Schönberger 87ddbbeabe more constistent way of determining ellipse parameters 2012-05-22 23:28:13 +02:00
Johannes Schönberger 04e444d90f added test cases for regionprops 2012-05-22 23:28:13 +02:00
Johannes Schönberger 19614cc8d7 euler number now behaves like MATLAB implementation 2012-05-22 23:28:13 +02:00
Johannes Schönberger 4eb3028a64 fixed typo and improved example in doc string 2012-05-22 23:28:13 +02:00
Johannes Schönberger 1b2bed7501 renamed regionprops source files for better separation between function name and source file 2012-05-22 23:28:12 +02:00
Johannes Schönberger e993124329 most functionality of regionprops now pure python except for moments 2012-05-22 23:28:12 +02:00
Johannes Schönberger 0027b91e84 added test: labelled image must be of integer type 2012-05-22 23:28:12 +02:00
Johannes Schönberger 6b0c0e1948 changed reference notes in doc string 2012-05-22 23:28:12 +02:00
Johannes Schönberger 658dbec381 removed old description of moments in doc string 2012-05-22 23:28:12 +02:00
Johannes Schönberger e845dc7746 moments and central moments no longer use separate functions 2012-05-22 23:28:12 +02:00
Johannes Schönberger cb673ba516 extended and improved description of properties in doc string 2012-05-22 23:28:12 +02:00
Johannes Schönberger 6905603b98 adapted to PEP8 whitespace conventions 2012-05-22 23:28:12 +02:00
Johannes Schönberger 8c1acfb7f5 added regionprops function 2012-05-22 23:28:12 +02: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
Stefan van der Walt 582aa193c5 Merge pull request #192 from tangofoxtrotmike/master
BUG: feature.hog() fails on non-square images.
2012-05-22 10:54:35 -07:00
tangofoxtrotmike 4d999c313f feature.hog(): use y,x coords consistently, now works on non-square images 2012-05-22 17:35:11 +10:00
cgohlke fc42d86894 Adjust rescale_intensity function to new dtype conversion rules 2012-05-22 00:28:32 -07:00
cgohlke e4b49239c4 Adjust tests for new type conversion rules 2012-05-22 00:25:42 -07:00