Skip to content

Commit dede284

Browse files
committed
Fix class reference in Wrap11Func documentation
1 parent 49eb656 commit dede284

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cdl/computation/image/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
class Wrap11Func:
6262
"""Wrap a 1 array → 1 array function to produce a 1 image → 1 image function,
6363
which can be used inside DataLab's infrastructure to perform computations with
64-
:class:`cdl.core.gui.processor.signal.ImageProcessor`.
64+
:class:`cdl.core.gui.processor.image.ImageProcessor`.
6565
6666
This wrapping mechanism using a class is necessary for the resulted function to be
6767
pickable by the ``multiprocessing`` module.
@@ -72,7 +72,7 @@ class Wrap11Func:
7272
Example:
7373
7474
>>> import numpy as np
75-
>>> from cdl.computation.signal import Wrap11Func
75+
>>> from cdl.computation.image import Wrap11Func
7676
>>> import cdl.obj
7777
>>> def add_noise(data):
7878
... return data + np.random.random(data.shape)
@@ -96,7 +96,7 @@ def __init__(self, func: Callable, *args: Any, **kwargs: Any) -> None:
9696
self.__call__.__func__.__doc__ = self.func.__doc__
9797

9898
def __call__(self, src: ImageObj) -> ImageObj:
99-
"""Compute the function on the input signal and return the result signal
99+
"""Compute the function on the input image and return the result image
100100
101101
Args:
102102
src: input image object

0 commit comments

Comments
 (0)