Skip to content

Commit

Permalink
Document return values of sample data
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby committed Aug 18, 2024
1 parent 56f72b0 commit 8132040
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions ome_zarr/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,16 @@


def coins() -> Tuple[List, List]:
"""Sample data from skimage."""
"""
Sample data from skimage.
Returns
-------
pyramids :
List of pyramid arrays.
labels :
List of labels.
"""
# Thanks to Juan
# https://gist.github.com/jni/62e07ddd135dbb107278bc04c0f9a8e7
image = data.coins()[50:-50, 50:-50]
Expand All @@ -37,7 +46,16 @@ def coins() -> Tuple[List, List]:


def astronaut() -> Tuple[List, List]:
"""Sample data from skimage."""
"""
Sample data from skimage.
Returns
-------
pyramids :
List of pyramid arrays.
labels :
List of labels.
"""
scaler = Scaler()

astro = data.astronaut()
Expand Down

0 comments on commit 8132040

Please sign in to comment.