> ## Documentation Index
> Fetch the complete documentation index at: https://docs.biohub.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# WaveOrder transfer function

> Use the Biohub MCP `waveorder-visualize-otf` Skill to compute a WaveOrder config's transfer function on your own computer and view it in napari.

[WaveOrder](https://github.com/mehta-lab/waveorder) performs physics-informed reconstructions of label-free and fluorescence microscopy data, which can sharpen, denoise, improve contrast, and improve interpretability for downstream tasks. Use this Skill to run `waveorder-visualize-otf` to see how a WaveOrder config's numerical aperture, wavelength, and pixel size affect its transfer function before you complete any downstream reconstruction tasks.

> [!NOTE]
>
> This Skill calls no Biohub tools, so none of your data reaches Biohub.
> Your AI client runs the `wo` command and napari on your own computer.

## 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 the [Quickstart](https://docs.biohub.ai/biohub-mcp/quickstart.md).
* [uv](https://docs.astral.sh/uv/) installed.
* Computer with a display for napari.
* WaveOrder reconstruction config, such as one the [WaveOrder reconstruction tutorial](https://docs.biohub.ai/biohub-mcp/skills/waveorder-tutorial.md) created.
* One OME-Zarr position with your data's ZYX shape. The Skill reads only its shape, so any dataset of that shape works.

## Run the Skill

Show the transfer function for a config

Using the Biohub MCP waveorder-visualize-otf Skill, show me the transfer function for my config phase\_3d.yml using the data at data.zarr/0/0/0.

If your client answers without the Skill, ask it to read `skill://waveorder-visualize-otf/SKILL.md` and follow it, or see [The assistant ignores a Skill](https://docs.biohub.ai/biohub-mcp/troubleshooting.md#the-assistant-ignores-a-skill).

## What the Skill guides

1. It requires you to provide a reconstruction config and one OME-Zarr position.
2. It runs `wo compute-tf` to write the transfer function to `./<config>_otf.zarr`, so results for different configs sit side by side.
3. It opens the result with `wo view` without blocking the client.

To compare settings, give it several configs: the Skill will compute each transfer function and open them in one napari window.

## Expected result

The result of your Skill exploration includes:

* The path to `./<config>_otf.zarr`.
* A napari window with the real and imaginary parts of the transfer function, with DC at the center.
* For a 2D phase config, the absorption and phase transfer functions, which `wo view` rebuilds from the stored singular system.

## What runs on your computer

The Skill runs `wo compute-tf` and `wo view` in your working folder.
If `wo` isn't installed, it runs both through `uvx --from "waveorder[all]"` instead of installing WaveOrder.

## Skill files

| Resource | URI |
| - | - |
| Instructions | `skill://waveorder-visualize-otf/SKILL.md` |
| File list | `skill://waveorder-visualize-otf/_manifest` |
| License (BSD 3-Clause) | `skill://waveorder-visualize-otf/LICENSE.md` |

## Related documentation

* [WaveOrder reconstruction tutorial](https://docs.biohub.ai/biohub-mcp/skills/waveorder-tutorial.md)
* [Skills overview](https://docs.biohub.ai/biohub-mcp/skills/overview.md)
* [Security and privacy](https://docs.biohub.ai/biohub-mcp/security.md)
* [WaveOrder on GitHub](https://github.com/mehta-lab/waveorder)


## Related topics

- [WaveOrder microscopy data reconstruction](https://docs.biohub.ai/biohub-mcp/skills/waveorder-tutorial.md)
- [Biohub MCP Skills](https://docs.biohub.ai/biohub-mcp/skills/overview.md)
- [Biohub MCP server](https://docs.biohub.ai/biohub-mcp/overview.md)
- [Welcome to the Biohub Docs](https://docs.biohub.ai/index.md)
- [Troubleshoot Biohub MCP connections and tool errors](https://docs.biohub.ai/biohub-mcp/troubleshooting.md)
