organoid_tracker.image_loading.nd2file_image_loader module

class organoid_tracker.image_loading.nd2file_image_loader.Nd2File(file_name: str)

Bases: object

A ND2 file with searchable image series. Use load_image_series to load the actual images.

get_location_counts() int

Gets all available loctions, from 1 to the returned count.

organoid_tracker.image_loading.nd2file_image_loader.load_image_series(experiment: Experiment, file: Nd2File, field_of_view: int, min_time_point: Optional[int] = None, max_time_point: Optional[int] = None)

Gets the image loader for the given series inside the given file. Raises ValueError if that series doesn’t exist. Note: to prevent thread-safety issues, you are not allowed to use the file argument afterwards.

organoid_tracker.image_loading.nd2file_image_loader.load_image_series_from_config(experiment: Experiment, file_name: str, pattern: str, min_time_point: int, max_time_point: int)

Loads the image seriers into the images object using the file_name and pattern settings.