livecellx.core.SingleCellTrajectoryCollection
- class livecellx.core.SingleCellTrajectoryCollection[source]
Represents a collection of single-cell trajectories.
Attributes: - track_id_to_trajectory: A dictionary mapping track IDs to SingleCellTrajectory objects. - _iter_index: An index used for iterating over the track ID to trajectory mapping.
Methods
add_trajectory(trajectory)- rtype
- rtype
- rtype
get_trajectory(track_id)- rtype
histogram_traj_length([ax])load_from_json_dict(json_dict)load_from_json_file(path)pop_trajectory(track_id)subset(track_ids)to_json_dict([dataset_json_dir])write_json(path[, dataset_json_dir])