API Overview¶
The octopi Python API gives you full programmatic control over the particle picking pipeline — useful for scripting large-scale workflows, integrating into notebooks, or customizing training beyond what the CLI exposes.
Core Workflow¶
-
Quick Start
End-to-end pipeline in one script — target creation, training, segmentation, localization, and evaluation.
-
Training
Set up data generators, configure model architectures, choose loss functions, and run model exploration.
-
Inference
Segment tomograms, localize particle coordinates, and evaluate against ground truth.
-
Adding New Models
Implement a custom architecture and register it with the octopi model registry.