How biomedical-mr/resomapper works
Project type and purpose
• This is a Python-based command-line image-processing pipeline (a domain-specific “full-stack” CLI tool) called resomapper.
• Purpose: ingest raw Bruker MRI study folders, run preprocessing, compute parametric maps (T1, T2, T2*, DTI metrics), and write results back to the file system.
File structure
• Top-level:
• resomapper/ – core library
• tests/ – unit tests
• docs/ – Sphinx user documentation
• pyproject.toml – packaging & dependencies
• CLI entry‐point: resomapper/cli.py
• Inside resomapper/:
• file_system_functions.py – raw data ingestion & I/O
• preprocessing.py – data pre‐treatment routines
• processing.py – orchestration of all processing steps
• dwi/ – diffusion‐related algorithms (adcm.py)
• myrelax/ – relaxation mapping routines (getT1TR.py, getT2T2star.py)
• utils.py – shared utilities and math helpers
README
• Confirms CLI usage (resomapper_cli), Python 3.8+ support, outputs parametric maps.