Permalink
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (20 sloc) 583 Bytes
import numpy as np
import sys
def lookfor(what):
"""Do a keyword search on scikit-image docstrings.
Parameters
----------
what : str
Words to look for.
Examples
--------
>>> import skimage
>>> skimage.lookfor('regular_grid')
Search results for 'regular_grid'
---------------------------------
skimage.lookfor
Do a keyword search on scikit-image docstrings.
skimage.util.regular_grid
Find `n_points` regularly spaced along `ar_shape`.
"""
return np.lookfor(what, sys.modules[__name__.split('.')[0]])