feat: diagnostic and analysis scripts#100
Open
FIrgolitsch wants to merge 1 commit into
Open
Conversation
This was referenced Apr 1, 2026
d66a2b6 to
d10b832
Compare
This was referenced Apr 17, 2026
d10b832 to
5583376
Compare
cb7cf4c to
68783a7
Compare
e4c127f to
a48129d
Compare
5583376 to
8c75e82
Compare
82b44be to
ce8e35d
Compare
8c75e82 to
52ebb45
Compare
ce8e35d to
cc75fc8
Compare
52ebb45 to
53772da
Compare
This was referenced Apr 28, 2026
53772da to
c858c1a
Compare
5efa698 to
3707675
Compare
This was referenced Apr 30, 2026
3707675 to
3872acc
Compare
FIrgolitsch
added a commit
that referenced
this pull request
Apr 30, 2026
c858c1a to
ad4fc82
Compare
3872acc to
7417982
Compare
FIrgolitsch
added a commit
that referenced
this pull request
Apr 30, 2026
ad4fc82 to
899c734
Compare
7417982 to
cfa6a38
Compare
FIrgolitsch
added a commit
that referenced
this pull request
Apr 30, 2026
899c734 to
36613aa
Compare
This was referenced May 1, 2026
cfa6a38 to
00e004d
Compare
36613aa to
91fbdf7
Compare
This was referenced May 20, 2026
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.
PR #100 — Diagnostic & Analysis Scripts
Collection of per-stage diagnostics and an end-of-pipeline HTML report generator. Two commits: the initial set and a refinement that adds stitch-affine analysis and significantly expands slice-quality assessment and the report generator.
New scripts
linum_diagnose_pipeline.py— runs lightweight checks across an entire pipeline output tree (presence of expected files, schema ofslice_config.csv, pyramid integrity)linum_diagnose_reconstruction.py— reconstruction-stage diagnostics (shift magnitudes, outlier detection, motor vs. registered drift)linum_generate_pipeline_report.py— HTML report aggregating all diagnostics, interpolation fragments, and slice-quality scores; the final artefact of the Nextflow pipelinelinum_assess_slice_quality.py— per-slice quality assessment (SSIM vs. neighbours, edge score, foreground fraction); feeds auto-exclude in feat: motor stacking, auto-exclude, refined stitching #98 and interpolation gates in feat: slice interpolation for missing sections (z-morph) #87linum_analyze_shifts.py— statistics over pairwise shiftslinum_analyze_registration_transforms.py— analysis of registration affine transformslinum_analyze_acquisition_rotation.py— acquisition-rotation analysislinum_analyze_tile_dilation.py— per-tile dilation / deformation analysislinum_aggregate_dilation_analysis.py— aggregates per-tile dilation into per-slice summarieslinum_analyze_stitch_affine.py— analyse and visualise the affine transforms produced by refined 3D stitching (scale / shear / rotation per slice)linum_suggest_params.py— parameter suggestion tool based on observed per-stage metricsNotes