comment here
This commit is contained in:
24
.CondaPkg/env/lib/python3.11/site-packages/skimage/util/lookfor.py
vendored
Normal file
24
.CondaPkg/env/lib/python3.11/site-packages/skimage/util/lookfor.py
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
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') # doctest: +SKIP
|
||||
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]])
|
||||
Reference in New Issue
Block a user