How tlobnow/ec_pipeline works
ec_pipeline is a microscopy image-analysis toolkit for processing ND2 time-lapse experiments and examining cell behavior and GFP phenotypes. Its principal workflow converts acquisition data into per-channel movies, segments cells, tracks them across frames, then supports inspection, lineage-following, and GFP structure analysis. Separate utilities split ND2 acquisitions, check timing metadata, export cells for manual labeling, and train phenotype classifiers. The README contains no capability overview; component roles come from script names and available docstrings. Some downstream handoffs are not shown in the excerpts, so those relationships are omitted.
Main entry points: common.py Shared helpers · 01_load_nd2.py Load channels · 04_inspect.py Inspect tracks · split_nd2.py Split fields of view
Components 16
Acquisition
- Experiment settings
configs/btrack_config.json - Split fields of view
scripts/split_nd2.py - Load channels
scripts/01_load_nd2.py - Inspect timing
scripts/check_nd2_timing.py
Cell Analysis
- Segment cells
scripts/02_segment.py - Track lineages
scripts/03_track.py - Inspect tracks
scripts/04_inspect.py - Follow cell lineage
scripts/05_single_cell.py
Phenotype Tools
- Detect GFP structures
scripts/06_gfp_structures.py - Tune GFP calls
scripts/tune_gfp.py - Export cell images
scripts/export_cells_tif.py - Classify phenotypes
scripts/classify_cells.py - Train ConvPaint
scripts/train_convpaint.py
Shared Runtime
- Shared helpers
scripts/common.py
Other components
- Microscopy analyst
- ND2 experiment
Connections 30
- Microscopy analyst → Experiment settings: configures
- Microscopy analyst → ND2 experiment: selects input
- Split fields of view → ND2 experiment: splits fields
scripts/split_nd2.py - Load channels → ND2 experiment: reads images
scripts/01_load_nd2.py - Inspect timing → ND2 experiment: reads metadata
scripts/check_nd2_timing.py - Segment cells → Load channels: reads channel TIFF
scripts/02_segment.py - Inspect tracks → Load channels: reads channel TIFFs
scripts/04_inspect.py - Inspect tracks → Track lineages: reads tracked masks
scripts/04_inspect.py - Microscopy analyst → Split fields of view: runs
- Microscopy analyst → Load channels: runs
- Microscopy analyst → Segment cells: runs
- Microscopy analyst → Track lineages: runs
- Microscopy analyst → Inspect tracks: reviews
- Microscopy analyst → Follow cell lineage: selects cell
- Microscopy analyst → Detect GFP structures: analyzes
- Microscopy analyst → Tune GFP calls: tunes calls
- Microscopy analyst → Export cell images: exports cells
- Microscopy analyst → Classify phenotypes: trains or applies
- Microscopy analyst → Train ConvPaint: trains
- Load channels → Shared helpers: uses helpers
scripts/01_load_nd2.py - Segment cells → Shared helpers: uses helpers
scripts/02_segment.py - Track lineages → Shared helpers: uses helpers
scripts/03_track.py - Inspect tracks → Shared helpers: uses helpers
scripts/04_inspect.py - Follow cell lineage → Shared helpers: uses helpers
scripts/05_single_cell.py - Detect GFP structures → Shared helpers: uses helpers
scripts/06_gfp_structures.py - Inspect timing → Shared helpers: uses helpers
scripts/check_nd2_timing.py - Classify phenotypes → Shared helpers: uses helpers
scripts/classify_cells.py - Export cell images → Shared helpers: uses helpers
scripts/export_cells_tif.py - Split fields of view → Shared helpers: uses helpers
scripts/split_nd2.py - Tune GFP calls → Shared helpers: uses helpers
scripts/tune_gfp.py