# PyDDM - A drift-diffusion model simulator
[![Build Status](https://travis-ci.com/mwshinn/PyDDM.svg?branch=master)](https://travis-ci.com/mwshinn/PyDDM)
# Overview
PyDDM is a simulator and modeling framework for drift-diffusion models
(DDM), with a focus on cognitive neuroscience.
Key features include:
- Models solved numerically using Crank-Nicolson to solve the
Fokker-Planck equation (Backward Euler, analytical solutions, and
particle simulations also available)
- Arbitrary functions for drift rate, noise, bounds, and initial
position distribution
- Arbitrary loss function and fitting method for parameter fitting
- Optional multiprocessor support
- Optional GUI for debugging and gaining an intuition for different
models
- Convenient and extensible object oriented API allows building models
in a component-wise fashion
- Verified accuracy of simulations using novel program verification
techniques
See the [documentation](https://pyddm.readthedocs.io/en/latest/index.html),
[FAQs](https://pyddm.readthedocs.io/en/latest/faqs.html), or
[tutorial](https://pyddm.readthedocs.io/en/latest/quickstart.html) for more
information. See the [Github
Forums](https://github.com/mwshinn/PyDDM/discussions) for help from the PyDDM
community. You can also sign up for [release announcements by
email](https://www.freelists.org/list/pyddm-announce).
Please note that PyDDM is still beta software so you may experience
some glitches or uninformative error messages.
## Installation
Normally, you can install with:
$ pip install pyddm
If you are in a shared environment (e.g. a cluster), install with:
$ pip install pyddm --user
If installing from source, [download the source code](https://github.com/mwshinn/PyDDM), extract, and do:
$ python3 setup.py install
## System requirements
- Python 3.5 or above
- Numpy version 1.9.2 or higher
- Scipy version 0.15.1 or higher
- Matplotlib
- [Paranoid Scientist](<https://github.com/mwshinn/paranoidscientist>)
- Pathos (optional, for multiprocessing support)
## Contact
For help on using PyDDM, see the [Github
Forums](https://github.com/mwshinn/PyDDM/discussions).
Please report bugs to <https://github.com/mwshinn/pyddm/issues>. This
includes any problems with the documentation. Pull Requests for bugs are
greatly appreciated.
Feature requests are currently not being accepted due to limited
resources. If you implement a new feature in PyDDM, please do the
following before submitting a Pull Request on Github:
- Make sure your code is clean and well commented
- If appropriate, update the official documentation in the docs/
directory
- Ensure there are Paranoid Scientist verification conditions to your
code
- Write unit tests and optionally integration tests for your new
feature (runtests.sh)
- Ensure all existing tests pass
For all other questions or comments, contact maxwell.shinn@yale.edu.
## License
All code is available under the MIT license. See LICENSE.txt for more
information.
没有合适的资源?快使用搜索试试~ 我知道了~
欧拉公式求圆周率的matlab代码-PyDDM:适用于Python3的漂移扩散建模(DDM)框架
共79个文件
py:33个
rst:23个
png:6个
需积分: 50 1 下载量 62 浏览量
2021-05-23
13:55:44
上传
评论
收藏 1.65MB ZIP 举报
温馨提示
欧拉公式求长期率的matlab代码PyDDM-漂移扩散模型模拟器 概述 PyDDM是漂移扩散模型(DDM)的仿真器和建模框架,其重点是认知神经科学。 主要功能包括: 使用Crank-Nicolson数值求解模型以求解Fokker-Planck方程(也提供Backward Euler,解析解和粒子模拟) 漂移,噪声,边界和初始位置分布的任意函数 任意损失函数及参数拟合的拟合方法 可选的多处理器支持 可选的GUI,用于调试和了解不同型号的直觉 方便且可扩展的面向对象的API允许以组件方式构建模型 使用新颖的程序验证技术验证仿真的准确性 请参阅、、或了解更多信息。 请参阅,以获取PyDDM社区的帮助。 您也可以注册。 请注意,PyDDM仍然是Beta版软件,因此您可能会遇到一些故障或无用的错误消息。 安装 通常,您可以使用以下命令进行安装: $ pip install pyddm 如果您处于共享环境(例如集群)中,请使用以下命令进行安装: $ pip install pyddm --user 如果从源安装,请解压缩并执行以下操作: $ python3 setup.py install 系统要
资源详情
资源评论
资源推荐
收起资源包目录
PyDDM-master.zip (79个子文件)
PyDDM-master
.travis.yml 943B
CONTRIBUTORS.txt 255B
ddm
models
loss.py 11KB
paranoid_types.py 469B
ic.py 7KB
overlay.py 24KB
drift.py 7KB
__init__.py 1KB
bound.py 4KB
noise.py 7KB
base.py 6KB
functions.py 32KB
solution.py 15KB
sample.py 21KB
analytic.py 4KB
fitresult.py 3KB
__init__.py 821B
model.py 55KB
tridiag.py 10KB
parameters.py 501B
plot.py 28KB
_version.py 22B
DDM_quick_tests.py 14KB
submit-to-pypi.sh 92B
integration_tests.py 11KB
unit_tests.py 35KB
integration_test_models.py 239B
doc
downloads
simple.py 2KB
extract_roitman.py 2KB
roitman_shadlen.py 7KB
cookbook.py 15KB
shinn2020.py 17KB
roitman_rts.csv 130KB
degee2020.py 10KB
helloworld.py 164B
quickstart.rst 16KB
images
leak-collapse-fit.png 34KB
model-gui.png 60KB
model-gui-animation.gif 1.29MB
roitman-fit.png 36KB
simple-fit.png 34KB
jupyter-gui.png 28KB
helloworld.png 20KB
conf.py 6KB
installing.rst 2KB
apidoc
utils.rst 112B
fitting.rst 222B
dependences.rst 736B
model.rst 591B
plotting.rst 57B
index.rst 163B
cookbook
lapse.rst 1KB
loss.rst 3KB
nondecision.rst 2KB
paradigms.rst 5KB
bounds.rst 4KB
howto.rst 6KB
papers
degee2020.rst 2KB
shinn2020.rst 2KB
driftnoise.rst 8KB
index.rst 6KB
initialconditions.rst 4KB
make.bat 809B
_templates
customtoc.html 87B
contact.rst 789B
modelgui.rst 905B
Makefile 602B
notebooks
pyddm_gddm_short_tutorial.ipynb 14KB
pyddm_demo_leaky_collapse.ipynb 2KB
shinn2020.ipynb 4KB
index.rst 2KB
faqs.rst 11KB
_static
fixlinks.css 311B
setup.py 1KB
.gitignore 170B
runtests.sh 129B
CHANGELOG.md 6KB
README.md 3KB
LICENSE.txt 1KB
共 79 条
- 1
weixin_38738005
- 粉丝: 5
- 资源: 895
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Screenshot_20240427_031602.jpg
- 网页PDF_2024年04月26日 23-46-14_QQ浏览器网页保存_QQ浏览器转格式(6).docx
- 直接插入排序,冒泡排序,直接选择排序.zip
- 在排序2的基础上,再次对快排进行优化,其次增加快排非递归,归并排序,归并排序非递归版.zip
- 实现了7种排序算法.三种复杂度排序.三种nlogn复杂度排序(堆排序,归并排序,快速排序)一种线性复杂度的排序.zip
- 冒泡排序 直接选择排序 直接插入排序 随机快速排序 归并排序 堆排序.zip
- 课设-内部排序算法比较 包括冒泡排序、直接插入排序、简单选择排序、快速排序、希尔排序、归并排序和堆排序.zip
- Python排序算法.zip
- C语言实现直接插入排序、希尔排序、选择排序、冒泡排序、堆排序、快速排序、归并排序、计数排序,并带图详解.zip
- 常用工具集参考用于图像等数据处理
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0