TrajectoryResult¶
TrajectoryResult ¶
Contains the complete tracking trajectory for a single particle.
Attributes:
| Name | Type | Description |
|---|---|---|
particle_id |
int
|
The |
final_status |
str
|
Short string tag for the terminal state, e.g.
|
termination_reason |
str
|
Human-readable description of why tracking stopped. |
to_records ¶
Convert the trajectory to a list of per-step record dicts.
Each record contains the keys t, x, y, z,
cell_id, and dt. The list can be passed directly to
pandas.DataFrame(result.to_records()).
Returns:
| Type | Description |
|---|---|
List[Dict[str, Any]]
|
A list of dicts, one per recorded trajectory step. |