Add waveorder-tutorial and visualize-otf-from-config Claude skills#569
Open
talonchandler wants to merge 3 commits into
Open
Add waveorder-tutorial and visualize-otf-from-config Claude skills#569talonchandler wants to merge 3 commits into
talonchandler wants to merge 3 commits into
Conversation
Interactive CLI walkthrough for a first reconstruction: environment check, OME-Zarr conversion, config authoring, napari viewing, and parameter sweeps. Includes a QPI 2D-from-defocus worked example using the zenodo recOrder_session sample. Un-ignores .claude/skills/ so the skill ships with the repo.
talonchandler
marked this pull request as ready for review
July 16, 2026 18:57
Two-call skill: `wo compute-tf` on a config + input position, then `wo view` on the resulting transfer function (napari, backgrounded).
For 2D reconstructions, the transfer function is stored as a singular system (U, S, Vh). `wo view` now reconstructs H = U @ diag(S) @ Vh at each lateral frequency and displays the resulting transfer function(s) — absorption and phase for 2D phase, the optical TF for 2D fluorescence — instead of the raw singular vectors. 3D display is unchanged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds two Claude Code skills under
.claude/skills/.waveorder-tutorial: walks a user through their firstwaveorderreconstruction over the CLI: environment check, OME-Zarr conversion, config authoring, napari viewing, and regularization sweeps.SKILL.md— the interactive step-by-step flowreferences/— conversion guide, config reference, and a ready-to-run QPI-2D configscripts/— example-data fetch, TIFF/array → OME-Zarr converter, and a parameter-sweep helpervisualize-otf-from-config: computes a transfer function (OTF) from a config and opens it in napari. Two calls:wo compute-tf -i <input>/0/0/0 -c <config> -o otf.zarr, thenwo view otf.zarr.How to trial
/waveorder-tutorial(or "try waveorder on my data") — with no data of your own, it fetches the QPI-defocus sample (recOrder_sessionfrom Zenodo) and reconstructs 2D phase from a defocus stack (config pre-filled inreferences/example_qpi_2d.yml). Bring your own TIFF/zarr/array to run the full convert → configure → reconstruct → sweep flow./visualize-otf-from-config <config.yml> <input.zarr>— computes the OTF for that config and opens it in napari.Results are shown interactively in napari (
wo view).