Skip to content

Commit 362f8e1

Browse files
committed
Move example from comment to the docstring
1 parent dedb006 commit 362f8e1

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

src/imcflibs/imagej/trackmate.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,18 @@ def cellpose_detector(
5353
-------
5454
fiji.plugin.trackmate.Settings
5555
Dictionary containing all the settings to use for TrackMate.
56-
"""
5756
58-
# Example Usage: settings = cellpose_detector(imp, "S:\cellpose_env", "NUCLEI", 23.0, 1, 0)
57+
Example
58+
-------
59+
>>> settings = cellpose_detector(
60+
... imageplus=imp,
61+
... cellpose_env_path="D:/CondaEnvs/cellpose",
62+
... model_to_use="NUCLEI",
63+
... obj_diameter=23.0,
64+
... target_channel=1,
65+
... optional_channel=0
66+
... )
67+
"""
5968
settings = Settings(imageplus)
6069

6170
settings.detectorFactory = CellposeDetectorFactory()

0 commit comments

Comments
 (0)