feat: diagnostic and analysis scripts#100
Open
FIrgolitsch wants to merge 3 commits intopr-a-build-toolingfrom
Open
feat: diagnostic and analysis scripts#100FIrgolitsch wants to merge 3 commits intopr-a-build-toolingfrom
FIrgolitsch wants to merge 3 commits intopr-a-build-toolingfrom
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 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 PR feat: motor stacking, auto-exclude, refined stitching #98 and interpolation gates in PR 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 metricsCommits
feat: diagnostic and analysis scripts— initial 10 scriptsfeat(diag): add stitch-affine analyzer and refine diagnostics— addslinum_analyze_stitch_affine.py, substantially expandslinum_assess_slice_quality.pyandlinum_generate_pipeline_report.py, tightenslinum_diagnose_pipeline.pyDependencies