Skip to content

Commit

Permalink
DOC: Quick start formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed Jan 8, 2025
1 parent 529d25a commit 9bcc9d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/quick_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ ngff-zarr -i ./cthead1.png -o ./cthead1.ome.zarr
import ngff_zarr as nz
import numpy as np

# Generate pixel data (e.g. from a microscope, simulation, etc.)
data = np.random.randint(0, 256, int(1e6)).reshape((1000, 1000))

multiscales = nz.to_multiscales(data)

nz.to_ngff_zarr('example.ome.zarr', multiscales)
Expand Down

0 comments on commit 9bcc9d1

Please sign in to comment.