Skip to content

Fix wrong randomness in ou process input #715

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

Merged
merged 8 commits into from
Apr 20, 2025
Merged

Conversation

Routhleck
Copy link
Member

This pull request includes an important change to the ou_process function in the brainpy/_src/inputs/currents.py file. The change involves modifying the random number generation method used in the function.

Closes #713

  • brainpy/_src/inputs/currents.py: Changed the random number generation method from rng.rand to rng.randn in the ou_process function to ensure the generated noise follows a normal distribution.

@chaoming0625 chaoming0625 merged commit d24ee76 into master Apr 20, 2025
47 of 50 checks passed
@chaoming0625 chaoming0625 deleted the fix-ou-process branch April 20, 2025 02:58
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

Successfully merging this pull request may close these issues.

wrong randomness in ou process input
2 participants