Reconstruction Tuning — Quick Reference#
Cheat sheet for tuning the 3D reconstruction pipeline. Assumes you know what the stages do. For background and recipes, see the full Reconstruction Parameter Tuning Guide.
Profiles first#
Profile |
When to use |
|---|---|
|
Default starting point. Motor-XY + rotation-only. |
|
Registration is reliable; want full pairwise corrections. |
|
Motor-only. Registration consistently fails. |
Symptom → fix#
Symptom |
First parameters to try |
|---|---|
Seams within a slice |
|
Per-slice stitch transform jitter |
|
One/two bad slices contaminating neighbours |
|
Large XY jump at specific slices |
Check |
Repeating large XY steps near tile-FOV multiples (legacy data) |
|
Image refinement producing wild values |
|
Single-slice gap visible in Z |
|
Slice-to-slice rotation in oblique samples |
|
Sudden tilt/jump at one slice |
Check |
Slow XY drift across many slices |
Raise |
Optimizer-boundary translation hits |
Keep |
Visible inter-slice intensity steps |
|
Bias correction over-flattening tissue |
Lower |
Atlas overlay rotated 90° / flipped |
|
Per-stage quick tables#
Tile stitching#
Param |
Default |
Lever |
|---|---|---|
|
|
Keep on. |
|
|
Must match acquisition. |
|
|
|
|
|
Pool affine across slices. |
Common-space alignment#
Param |
Default |
Lever |
|---|---|---|
|
|
Keep on. |
|
|
Lower to catch smaller glitches. |
|
|
Set only for legacy shift CSVs with FOV-multiple jumps. |
|
|
Image-based fallback for |
|
|
Recommended |
|
|
Recommended |
Pairwise registration#
Param |
Default |
Lever |
|---|---|---|
|
|
|
|
|
Raise for oblique samples (e.g. 35.0). |
|
|
Keep large; not the actual applied bound. |
Stacking#
Param |
Default |
Lever |
|---|---|---|
|
|
|
|
|
|
|
|
Keep on. Disabling causes Z errors. |
|
|
Keep on. |
|
|
Clamp applied rotation. |
|
|
Tighten gate (e.g. 4.0) for noisy pairwise rotations. |
|
|
Cumulative canvas offsets. |
|
|
Higher = smoother accumulated drift. |
|
|
Set |
|
|
Set |
|
|
Moving avg over rotations. |
|
|
Full transform threshold. |
|
|
Skip threshold. Between = rotation-only. |
Bias correction#
Param |
Default |
Lever |
|---|---|---|
|
|
Master switch. |
|
|
|
|
|
Lower if over-flattening. |
|
|
Keep on. |
|
|
Range 2–4. |
|
|
Lower if tissue mistaken for bg. |
Atlas registration#
Param |
Default |
Lever |
|---|---|---|
|
|
Master switch. |
|
|
Atlas µm. |
|
|
Higher = faster, coarser. |
|
|
3-letter code (e.g. |
|
|
|
|
|
Turn on while tuning orientation. |
Diagnostic file map#
File |
What to look at |
|---|---|
|
Per-slice XY/XZ/YZ — most artifacts visible here. |
|
|
|
Z-overlap correlation per pair. |
|
Per-pair |
|
Corrected shifts; |
|
Raw motor steps ( |
Rerun cascade rules#
A change to a parameter invalidates that stage and all downstream stages.
Use -resume — Nextflow caches everything upstream automatically.
Change to |
Re-runs from |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|