stnmf.preprocessing.spiketriggered.profiles
- stnmf.preprocessing.spiketriggered.profiles(sta, crop=None)
Obtain temporal and spatial profiles of the STA for multiple cells
- Parameters:
- Returns:
sta_space (
(num_cells,) numpy.ndarray) – Object array containing the spatial filter for all cells. Each element is a (crop_x[cell],crop_y[cell],tau) numpy.ndarray, if crop is provided, otherwise a (x,y,tau) numpy.ndarraysta_temp (
(num_cells,tau) numpy.ndarray) – Array containing the normalized temporal filters for all cells