organoid_tracker.core.global_data module

class organoid_tracker.core.global_data.GlobalData(start_value: Optional[Dict[str, Union[float, int, str, bool, List[float], List[int], List[str], List[bool]]]] = None)

Bases: object

Miscellaneous data that applies to the entire experiment, such

copy() GlobalData
get_all_data() Dict[str, Union[float, int, str, bool, List[float], List[int], List[str], List[bool]]]

Gets a copy of all stored data.

get_data(data_name: str) Optional[Union[float, int, str, bool, List[float], List[int], List[str], List[bool]]]

Gets the attribute with the given name (global data only). Returns None if not found.

has_global_data()
merge_data(other: GlobalData)
set_data(data_name: str, data_value: Optional[Union[float, int, str, bool, List[float], List[int], List[str], List[bool]]])

Sets global data.