From b6527080751e16922be9f7b02f18a9c14b1f77ad Mon Sep 17 00:00:00 2001 From: Olivier Debeir Date: Mon, 29 Oct 2012 09:35:28 +0100 Subject: [PATCH] remove obsolete comments --- doc/__init__.py | 1 - skimage/filter/rank/bilateral_rank.py | 2 -- skimage/filter/rank/percentile_rank.py | 21 +++++++-------------- 3 files changed, 7 insertions(+), 17 deletions(-) diff --git a/doc/__init__.py b/doc/__init__.py index 10b6fb15..e69de29b 100644 --- a/doc/__init__.py +++ b/doc/__init__.py @@ -1 +0,0 @@ -__author__ = 'olivier' diff --git a/skimage/filter/rank/bilateral_rank.py b/skimage/filter/rank/bilateral_rank.py index ff4e7878..dd2942b4 100644 --- a/skimage/filter/rank/bilateral_rank.py +++ b/skimage/filter/rank/bilateral_rank.py @@ -81,7 +81,6 @@ def bilateral_mean(image, selem, out=None, mask=None, shift_x=False, shift_y=Fal Examples -------- - to be updated >>> # Local mean >>> from skimage.morphology import square >>> import skimage.filter.rank as rank @@ -147,7 +146,6 @@ def bilateral_pop(image, selem, out=None, mask=None, shift_x=False, shift_y=Fals Examples -------- - to be updated >>> # Local mean >>> from skimage.morphology import square >>> import skimage.filter.rank as rank diff --git a/skimage/filter/rank/percentile_rank.py b/skimage/filter/rank/percentile_rank.py index 5191bec4..3817e1cd 100644 --- a/skimage/filter/rank/percentile_rank.py +++ b/skimage/filter/rank/percentile_rank.py @@ -73,7 +73,6 @@ def percentile_autolevel(image, selem, out=None, mask=None, shift_x=False, shift Examples -------- - to be updated >>> # Local mean >>> from skimage.morphology import square >>> import skimage.filter.rank as rank @@ -139,7 +138,7 @@ def percentile_gradient(image, selem, out=None, mask=None, shift_x=False, shift_ Examples -------- - to be updated + >>> # Local gradient >>> from skimage.morphology import square >>> import skimage.filter.rank as rank @@ -205,7 +204,7 @@ def percentile_mean(image, selem, out=None, mask=None, shift_x=False, shift_y=Fa Examples -------- - to be updated + >>> # Local mean >>> from skimage.morphology import square >>> import skimage.filter.rank as rank @@ -271,7 +270,7 @@ def percentile_mean_substraction(image, selem, out=None, mask=None, shift_x=Fals Examples -------- - to be updated + >>> # Local mean_substraction >>> from skimage.morphology import square >>> import skimage.filter.rank as rank @@ -337,7 +336,7 @@ def percentile_morph_contr_enh(image, selem, out=None, mask=None, shift_x=False, Examples -------- - to be updated + >>> # Local mean >>> from skimage.morphology import square >>> import skimage.filter.rank as rank @@ -403,7 +402,7 @@ def percentile(image, selem, out=None, mask=None, shift_x=False, shift_y=False, Examples -------- - to be updated + >>> # Local mean >>> from skimage.morphology import square >>> import skimage.filter.rank as rank @@ -470,7 +469,7 @@ def percentile_pop(image, selem, out=None, mask=None, shift_x=False, shift_y=Fal Examples -------- - to be updated + >>> # Local mean >>> from skimage.morphology import square >>> import skimage.filter.rank as rank @@ -536,7 +535,7 @@ def percentile_threshold(image, selem, out=None, mask=None, shift_x=False, shift Examples -------- - to be updated + >>> # Local mean >>> from skimage.morphology import square >>> import skimage.filter.rank as rank @@ -572,9 +571,3 @@ def percentile_threshold(image, selem, out=None, mask=None, shift_x=False, shift shift_x=shift_x, shift_y=shift_y, p0=p0, p1=p1) -if __name__ == "__main__": - import sys - sys.path.append('.') - - import doctest - doctest.testmod(verbose=True)