organoid_tracker.linking_analysis.particle_age_finder module
Small wrapper method to get the age of a position. The age is the time since appearance or (only for cells) the last division..
- organoid_tracker.linking_analysis.particle_age_finder.get_age(links: Links, position: Position) Optional[int]
Gets how many time steps ago this cell was born
- organoid_tracker.linking_analysis.particle_age_finder.get_age_at_end_of_track(track: LinkingTrack) Optional[int]
Gets the length of the cell cycle in time points.
- organoid_tracker.linking_analysis.particle_age_finder.get_age_at_end_of_track_h(timings: ImageTimings, track: LinkingTrack) Optional[float]
Gets the age of the cell at the end of the track in hours. The cell needs to have divided beforehand, as otherwise we don’t know how old it was at the start of the track.
At the first time point the cell appeared, it is assumed to be 1 time point old (instead of 0). So essentially, we assume the division to have happened moments after the last time point of the mother track.