Reconstructed Background#
Returned by cnmf.get_rcb()
extension.
- class mesmerize_core.arrays.LazyArrayRCB(spatial, temporal, frame_dims)#
Lazy array for reconstructed background, i.e. b ⊗ f
- Parameters:
spatial (np.ndarray) – spatial components
temporal (np.ndarray) – temporal components
frame_dims (Tuple[int, int]) – frame dimensions
- as_numpy()#
NOT RECOMMENDED, THIS COULD BE EXTREMELY LARGE. Converts to a standard numpy array in RAM.
- Return type:
np.ndarray
- property dtype: str#
str data type
- property max: float#
float max value of the array if it were fully computed
- property min: float#
int min value of the array if it were fully computed
- property n_frames: int#
int number of frames
- 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
- property shape: Tuple[int, int, int]#
Tuple[int] (n_frames, dims_x, dims_y)