mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-13 17:45:20 +08:00
e8ddcefae3
This commit represents all recommended changes since the last commit, notably: * PEP8 compliance (in new sections; a few old ones still noncompliant w/indentations) * Moved `depth` kwarg to end of list and in docstring. Clarified `depth` docstring, and added section in Notes further explaining this parameter. * Added section in Notes warning that for multichannel inputs, all channels are combined during scaling. The user must separately normalize each channel prior to calling random_walker() * New method for parsing data, allowing more elegant gradient calculation code. Probably also more extensible. The 2D multispectral case forced this change. * New test: `test_multispectral_2d()`