Base LazyArray#

class mesmerize_core.arrays._base.LazyArray#

Base class for arrays that exhibit lazy computation upon indexing

abstract property dtype: str#

str data type

abstract property shape: Tuple[int, int, int]#

Tuple[int] (n_frames, dims_x, dims_y)

abstract property n_frames: int#

int number of frames

abstract property min: float#

float min value of the array if it were fully computed

abstract property max: float#

float max value of the array if it were fully computed

property ndim: int#

int Number of dimensions

property nbytes: int#

int number of bytes for the array if it were fully computed

property nbytes_gb: float#

float number of gigabytes for the array if it were fully computed

as_numpy()#

NOT RECOMMENDED, THIS COULD BE EXTREMELY LARGE. Converts to a standard numpy array in RAM.

Return type:

np.ndarray