waveorder-tutorial Skill to run a WaveOrder reconstruction on your own microscopy data, or on a small sample dataset from Zenodo. The Skill works one step at a time and requires additional user input, so expect a conversation rather than a single answer.
This Skill calls no Biohub tools, so none of your microscopy data reaches Biohub.
Your AI client runs the
wo command, napari, and the Skill’s scripts on your own computer.
A first reconstruction usually takes a couple of hours of tuning.Before you begin
Before you run the Skill, ensure you have the following set up:- Biohub MCP connected to a client that can run commands on your computer, such as Claude Code, Codex, or Cursor. See Quickstart for setup instructions.
- uv installed. The Skill uses to install WaveOrder and napari and to run its scripts.
- Computer with a display. The Skill displays results in a napari window.
- Appropriate dataset. WaveOrder works best on volumetric labelfree and fluorescence microscopy data acquired from weakly scattering samples, which means relatively thin and transparent biological specimens. Data can be in TIFF, NumPy, or plain zarr formats. You can also let the Skill download its sample dataset to demonstrate the reconstruction.
Run the Skill
Try WaveOrder on its sample data
Reconstruct your own data
skill://waveorder-tutorial/SKILL.md and follow it, or see The assistant ignores a Skill.
What the Skill guides
- It explains what WaveOrder does, checks that it suits your sample, and installs WaveOrder and napari with uv once you agree.
- It requires the dimensions, contrast type, voxel size, and imaging conditions of the data, one at a time and starting from the file’s metadata. It stops if the data is a single 2D image, because WaveOrder needs a Z stack.
- It converts TIFF, NumPy, or plain zarr data to the OME-Zarr format.
It then crops one position and one time point (and one cell when it is much smaller than the field of view) into
roi.zarrfor fast iteration. - It drafts 2D or 3D phase or fluorescence configs, including both signs of
invert_phase_contrastfor label-free data. - It tunes the forward model on
roi.zarrwith parameter sweeps shown side by side in napari, and raises regularization last. - It tests the tuned config on other positions, tries automatic tuning for parameters that drift, and estimates what the full dataset needs.
Expected result
The result of your Skill exploration includes:- A working folder with the converted data, draft configs, sweeps, and the final config.
- For each config parameter, where its value came from: metadata, you, a manual sweep, or automatic tuning.
- A wall-time, memory, and storage estimate for reconstructing the full dataset.
What runs on your computer
This Skill requires a few commands and downloads to be run on your computer and include the following:- If the
wocommand is missing, the Skill installswaveorder[all], which includes napari, withuv pip install. - For the sample data, it downloads a brightfield defocus dataset of about 24 MB from Zenodo into
~/.waveorder_tutorial_data. - It saves a copy of each bundled script it needs, such as the OME-Zarr converter and the parameter sweep, into your working folder and runs it there.