neuralib.decoding.position.place_bayes
- neuralib.decoding.position.place_bayes(fr, rate_map, temporal_bin_size)[source]
Position decoding using population neuronal activity
Dimension parameters:
N = number of neurons
T = number of temporal bins
X = number of spatial bins
- Parameters:
fr (ndarray) – firing rate 2D array. Array[float, [T, N]]
rate_map (ndarray) – firing rate template. Array[float, [X, N]]
temporal_bin_size (float) – duration of the temporal bins in
fr, in sec (buzcodebinLength)
- Returns:
matrix of posterior probabilities. Array[float, [T, X]]
- Return type:
ndarray