organoid_tracker.image_loading.timestamped_folder_image_loader module
Image loader for a folder with images with timestamps in the file names.
Right now, the only format supported is “XdYhZm”, where X is the number of days, Y is the number of hours and Z is the number of minutes. For example, “01d02h30m” means 1 day, 2 hours and 30 minutes. The time points are sorted by the timestamps in the file names.
- organoid_tracker.image_loading.timestamped_folder_image_loader.is_timestamped_pattern(file_name_format: str) bool
Returns True if the file name format contains a timestamp pattern, False otherwise.
- organoid_tracker.image_loading.timestamped_folder_image_loader.load_images_from_folder(experiment: Experiment, container: str, pattern: str, min_time_point: int | None = None, max_time_point: int | None = None)
Loads images from a folder with timestamped file names. The pattern must contain the timestamp placeholder _DATE_PATTERN_WRITTEN.