How googol23/cframe_metrology works
This package turns laser-tracker/scanner measurements into a detector reference-frame transform, then uses it for per-sensor ladder metrology; an optional branch registers ladders against optically corrected nominal ROOT geometry. The graph emphasizes the documented workflow and the principal runtime stages. Source-index references establish many pipeline dependencies, but excerpts do not expose every call detail, so uncertain subsystem links are omitted.
Main entry points: pipeline.py Alignment pipeline · registration_stage.py Registration orchestration · ladder.py Ladder processing · io.py Point-cloud loading
Components 23
Measurement inputs
- Survey point clouds
- Workflow configuration
examples/config.yaml
C-frame alignment
- Fiducial processing
src/detector_alignment/fiducials.py - Robust plane fit
src/detector_alignment/plane.py - Reference registration
src/detector_alignment/reference.py - 3D transforms
src/detector_alignment/math3d.py - Uncertainty propagation
src/detector_alignment/uncertainty.py
Ladder metrology
- Sensor segmentation
src/detector_alignment/segmentation.py - Ladder processing
src/detector_alignment/ladder.py - Sensor plane analysis
src/detector_alignment/ladder_metrology.py - Metrology visualization
src/detector_alignment/ladder_viz.py
Nominal registration
- Nominal ladder geometry
src/detector_alignment/nominal_geometry.py - ROOT geometry preparation
src/detector_alignment/root_geometry.py - Optical metrology preparation
src/detector_alignment/ladder_metrology.py - Registration orchestration
src/detector_alignment/registration_stage.py - Rigid ladder fit
src/detector_alignment/labeled_registration.py - Registration overlays
src/detector_alignment/registration_viz.py
Shared runtime
- Command line
src/detector_alignment/cli.py - Alignment pipeline
src/detector_alignment/pipeline.py - Point-cloud loading
src/detector_alignment/io.py - Metrology data models
src/detector_alignment/models.py
Other components
- Metrology operator
- Transforms and diagnostics
Connections 26
- Metrology operator → Command line: runs
README.md - Survey point clouds → Alignment pipeline: provides inputs
README.md - Workflow configuration → Alignment pipeline: configures
README.md - Command line → Alignment pipeline: invokes
src/detector_alignment/cli.py - Alignment pipeline → Point-cloud loading: loads clouds
src/detector_alignment/pipeline.py - Alignment pipeline → Fiducial processing: processes fiducials
src/detector_alignment/pipeline.py - Alignment pipeline → Robust plane fit: fits C-frame
README.md - Alignment pipeline → Reference registration: registers references
README.md - Robust plane fit → 3D transforms: uses transforms
src/detector_alignment/plane.py - Reference registration → 3D transforms: uses registration
src/detector_alignment/reference.py - Alignment pipeline → Uncertainty propagation: propagates uncertainty
src/detector_alignment/pipeline.py - Alignment pipeline → Ladder processing: processes ladders
src/detector_alignment/pipeline.py - Ladder processing → Point-cloud loading: loads clouds
src/detector_alignment/ladder.py - Ladder processing → Sensor segmentation: segments clouds
src/detector_alignment/segmentation.py - Alignment pipeline → Sensor plane analysis: fits sensor surfaces
README.md - Alignment pipeline → Metrology visualization: renders residuals
src/detector_alignment/pipeline.py - Alignment pipeline → Registration orchestration: runs optional stage
src/detector_alignment/pipeline.py - Registration orchestration → Point-cloud loading: loads ladder clouds
src/detector_alignment/registration_stage.py - Registration orchestration → ROOT geometry preparation: prepares geometry
src/detector_alignment/pipeline.py - ROOT geometry preparation → Nominal ladder geometry: builds nominal model
src/detector_alignment/root_geometry.py - Registration orchestration → Nominal ladder geometry: uses geometry
src/detector_alignment/registration_stage.py - Registration orchestration → Rigid ladder fit: fits rigid correction
src/detector_alignment/registration_stage.py - Registration orchestration → Registration overlays: renders overlays
src/detector_alignment/registration_stage.py - Registration orchestration → Optical metrology preparation: uses optical corrections
README.md - Alignment pipeline → Transforms and diagnostics: writes products
README.md - Registration orchestration → Transforms and diagnostics: exports diagnostics
src/detector_alignment/registration_stage.py