Reconstructed Movie#

Returned by cnmf.get_rcm() extension.

class mesmerize_core.arrays.LazyArrayRCM(spatial, temporal, frame_dims)#

LazyArray for reconstructed movie, i.e. A ⊗ C

Parameters:
  • spatial (np.ndarray) – spatial components

  • temporal (np.ndarray) – temporal components

  • frame_dims (Tuple[int, int]) – frame dimensions

property n_frames: int#

int number of frames

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

Tuple[int] (n_frames, dims_x, dims_y)

property dtype: str#

str data type

property min: float#

float min value of the array if it were fully computed

property max: float#

float max value of the array if it were fully computed

property mean_image: ndarray#

mean projection image

property max_image: ndarray#

max projection image

property min_image: ndarray#

min projection image

property std_image: ndarray#

standard deviation projection image

as_numpy()#

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

Return type:

np.ndarray

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

property ndim: int#

int Number of dimensions