Expand description
rustpix-tpx: TPX3 packet parser, hit types, and file processor.
This crate provides TPX3-specific data structures and parsing logic for Timepix3 pixel detector data.
§Key Components
Tpx3Packet- Low-level packet parser with bit field extractionTpx3Processor- Section-aware file processor
§Processing Pipeline
- Phase 1 (Sequential): Discover sections, propagate TDC state
- Phase 2 (Parallel): Process sections into hits
Modules§
- ordering
- Efficient time-ordering of hits using a K-way merge strategy.
- section
- Section-aware TPX3 file processing.
Structs§
- Chip
Transform - Affine transformation for chip coordinate mapping.
- Detector
Config - Detector configuration for TPX3 processing.
- Tpx3
Packet - TPX3 packet wrapper providing efficient field extraction.
Functions§
- calculate_
tof - Calculate TOF with TDC correction.
- correct_
timestamp_ rollover - Timestamp rollover correction.