Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/simpl/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,11 @@ def accumulate_spikes(Y: np.ndarray, window: int) -> np.ndarray:
field *shapes* are unaffected, but their *amplitudes* should not be
interpreted as physical firing rates.

Also, spatial information and mutual information will be inflated
roughly by a factor of ``window``. To calculate the corrected
information, divide F by ``window`` before calling
``calculate_spatial_information`` or ``calculate_mutual_information``.

Parameters
----------
Y : np.ndarray, shape (T, N_neurons)
Expand Down
Loading