Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with compute_1d_mutual_info #378

Open
apeyrache opened this issue Dec 16, 2024 · 0 comments
Open

Issue with compute_1d_mutual_info #378

apeyrache opened this issue Dec 16, 2024 · 0 comments

Comments

@apeyrache
Copy link
Contributor

in compute_1d_mutual_info, the average firing rate is computed as
fr = np.sum(fx * occupancy, 0)

but this is not the right definition and could lead to erroneous information values.
This should be the firing rate over the epoch, which is not the same as recomputed it from the tuning curves and the occupancy since the tuning curves are not necessarily computed on the same epoch.

We will work on solving this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant