organoid_tracker.core.global_data module

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

Bases: object

Miscellaneous data that applies to the entire experiment, such

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

Gets a copy of all stored data.

get_data(data_name: str) float | int | str | bool | List[float] | List[int] | List[str] | List[bool] | None

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: float | int | str | bool | List[float] | List[int] | List[str] | List[bool] | None)

Sets global data.