replay_trajectory_classification.core#
Core algorithms for decoding.
Functions
Appends a dimension at the end if x is one dimensional |
|
We have converged if the slope of the log-likelihood function falls below 'tolerance', |
|
Given a set of bin edges, return the center of the bin. |
|
Set bins that are not part of the track to NaN. |
|
Ensure the distribution integrates to 1 so that it is a probability distribution. |
|
Scale the likelihood so the maximum value is 1. |