vbi 0.2.2__tar.gz → 0.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (274) hide show
  1. vbi-0.3/PKG-INFO +223 -0
  2. vbi-0.3/README.md +148 -0
  3. vbi-0.3/docs/API.rst +250 -0
  4. vbi-0.3/docs/Examples.rst +39 -0
  5. {vbi-0.2.2 → vbi-0.3}/docs/conf.py +33 -0
  6. vbi-0.2.2/docs/examples/do_cpp.ipynb → vbi-0.3/docs/examples/.ipynb_checkpoints/do_cpp-checkpoint.ipynb +28 -7
  7. vbi-0.3/docs/examples/__pycache__/helpers.cpython-310.pyc +0 -0
  8. vbi-0.3/docs/examples/_e/script.py +82 -0
  9. vbi-0.3/docs/examples/_e/ww_sde_cupy.ipynb +713 -0
  10. vbi-0.3/docs/examples/_e/ww_sde_cupy.py +280 -0
  11. vbi-0.3/docs/examples/damp_oscillator.ipynb +405 -0
  12. vbi-0.3/docs/examples/damp_oscillator_cde.ipynb +616 -0
  13. vbi-0.3/docs/examples/distributions.ipynb +292 -0
  14. vbi-0.3/docs/examples/executed_notebooks/__jax/wilson_cowan.py +0 -0
  15. vbi-0.3/docs/examples/executed_notebooks/__jax/ww.py +0 -0
  16. vbi-0.3/docs/examples/executed_notebooks/damp_oscillator_cde_executed.ipynb +7758 -0
  17. vbi-0.3/docs/examples/executed_notebooks/damp_oscillator_executed.ipynb +2349 -0
  18. vbi-0.3/docs/examples/executed_notebooks/distributions_executed.ipynb +340 -0
  19. vbi-0.3/docs/examples/executed_notebooks/ghb_sde_cupy_executed.ipynb +1826 -0
  20. vbi-0.3/docs/examples/executed_notebooks/intro_executed.ipynb +3508 -0
  21. vbi-0.3/docs/examples/executed_notebooks/intro_feature_executed.ipynb +529 -0
  22. vbi-0.3/docs/examples/executed_notebooks/jansen_rit_sde_cpp_executed.ipynb +3305 -0
  23. vbi-0.3/docs/examples/executed_notebooks/jansen_rit_sde_cupy_executed.ipynb +2720 -0
  24. vbi-0.3/docs/examples/executed_notebooks/jansen_rit_sde_numba_executed.ipynb +6702 -0
  25. vbi-0.3/docs/examples/executed_notebooks/mpr_multi_gpu.py +631 -0
  26. vbi-0.3/docs/examples/executed_notebooks/mpr_sde_cpp_executed.ipynb +283 -0
  27. vbi-0.3/docs/examples/executed_notebooks/mpr_sde_cupy_executed.ipynb +244971 -0
  28. vbi-0.3/docs/examples/executed_notebooks/mpr_tvbk_executed.ipynb +273 -0
  29. vbi-0.3/docs/examples/executed_notebooks/vep_sde_cde_84_executed.ipynb +13045 -0
  30. vbi-0.3/docs/examples/executed_notebooks/vep_sde_executed.ipynb +2478 -0
  31. vbi-0.3/docs/examples/executed_notebooks/vep_sde_numba_cde_executed.ipynb +7185 -0
  32. vbi-0.3/docs/examples/executed_notebooks/vep_sde_numba_executed.ipynb +2489 -0
  33. vbi-0.3/docs/examples/executed_notebooks/wilson_cowan_cupy_executed.ipynb +1340 -0
  34. vbi-0.3/docs/examples/executed_notebooks/wilson_cowan_sde_numba_executed.ipynb +3388 -0
  35. vbi-0.3/docs/examples/executed_notebooks/ww_full_sde_cupy_executed.ipynb +29129 -0
  36. vbi-0.3/docs/examples/executed_notebooks/ww_full_sde_numba_executed.ipynb +2444 -0
  37. vbi-0.3/docs/examples/executed_notebooks/ww_sde_torch_kong_executed.ipynb +2867 -0
  38. {vbi-0.2.2 → vbi-0.3}/docs/examples/intro_feature.ipynb +6 -27
  39. {vbi-0.2.2 → vbi-0.3}/docs/examples/jansen_rit_sde_cpp.ipynb +36 -3468
  40. {vbi-0.2.2 → vbi-0.3}/docs/examples/jansen_rit_sde_cupy.ipynb +6 -2219
  41. {vbi-0.2.2 → vbi-0.3}/docs/examples/jansen_rit_sde_numba.ipynb +85 -6835
  42. vbi-0.3/docs/examples/jansen_rit_sde_numba_cde.ipynb +773 -0
  43. {vbi-0.2.2 → vbi-0.3}/docs/examples/mpr_sde_cpp.ipynb +0 -2
  44. {vbi-0.2.2 → vbi-0.3}/docs/examples/mpr_sde_cupy.ipynb +9 -8
  45. {vbi-0.2.2 → vbi-0.3}/docs/examples/mpr_sde_numba.ipynb +6 -27
  46. vbi-0.3/docs/examples/mpr_sde_numba_cde.ipynb +1093 -0
  47. vbi-0.3/docs/examples/output/damp_oscillator_ts.jpeg +0 -0
  48. vbi-0.3/docs/examples/output/vep_sde_numba_cde_84_/auc.npz +0 -0
  49. vbi-0.3/docs/examples/output/vep_sde_numba_cde_84_/auc_observed_vs_predicted.png +0 -0
  50. vbi-0.3/docs/examples/output/vep_sde_numba_cde_84_/data.npz +0 -0
  51. vbi-0.3/docs/examples/output/vep_sde_numba_cde_84_/data_ppc.npz +0 -0
  52. vbi-0.3/docs/examples/output/vep_sde_numba_cde_84_/data_xo.npz +0 -0
  53. vbi-0.3/docs/examples/output/vep_sde_numba_cde_84_/observed_vs_predicted.png +0 -0
  54. vbi-0.3/docs/examples/output/vep_sde_numba_cde_84_/posterior.pkl +0 -0
  55. vbi-0.3/docs/examples/output/vep_sde_numba_cde_84_/shrinkage_zscore.npz +0 -0
  56. vbi-0.3/docs/examples/output/vep_sde_numba_cde_84_/triangleplot.jpeg +0 -0
  57. vbi-0.3/docs/examples/output/wilson_cowan_sde_numba_cde_/simulated_data.npz +0 -0
  58. vbi-0.3/docs/examples/output/ww_full_numba_cde_/G_exc_posterior.png +0 -0
  59. vbi-0.3/docs/examples/output/ww_full_numba_cde_/data_obs.npz +0 -0
  60. vbi-0.3/docs/examples/output/ww_full_numba_cde_/dataframe_X.pkl +0 -0
  61. vbi-0.3/docs/examples/output/ww_full_numba_cde_/df_obs.csv +2 -0
  62. vbi-0.3/docs/examples/output/ww_full_numba_cde_/remained_columns.csv +28 -0
  63. vbi-0.3/docs/examples/output/ww_full_numba_cde_/samples.npz +0 -0
  64. vbi-0.3/docs/examples/output/ww_full_numba_cde_/training_data.npz +0 -0
  65. vbi-0.3/docs/examples/run_notebooks.sh +125 -0
  66. {vbi-0.2.2 → vbi-0.3}/docs/examples/vep_sde.ipynb +1 -1
  67. {vbi-0.2.2 → vbi-0.3}/docs/examples/vep_sde_numba.ipynb +1 -1
  68. vbi-0.3/docs/examples/vep_sde_numba_cde.ipynb +510 -0
  69. vbi-0.3/docs/examples/vep_sde_numba_cde_84.ipynb +780 -0
  70. {vbi-0.2.2 → vbi-0.3}/docs/examples/wilson_cowan_cupy.ipynb +90 -987
  71. {vbi-0.2.2 → vbi-0.3}/docs/examples/wilson_cowan_sde_numba.ipynb +6 -1768
  72. vbi-0.3/docs/examples/wilson_cowan_sde_numba_cde.ipynb +1120 -0
  73. vbi-0.3/docs/examples/ww_full_sde_cupy.ipynb +420 -0
  74. {vbi-0.2.2 → vbi-0.3}/docs/examples/ww_full_sde_numba.ipynb +6 -1488
  75. vbi-0.3/docs/examples/ww_full_sde_numba_cde.ipynb +861 -0
  76. vbi-0.3/docs/examples/ww_sde_torch_kong.ipynb +139 -0
  77. vbi-0.3/docs/examples_overview.rst +119 -0
  78. vbi-0.3/docs/index.rst +147 -0
  79. vbi-0.3/docs/inference_cde_maf_basic.rst +98 -0
  80. vbi-0.3/docs/inference_cde_mdn_basic.rst +72 -0
  81. vbi-0.3/docs/inference_examples.rst +150 -0
  82. vbi-0.3/docs/installation.rst +194 -0
  83. {vbi-0.2.2 → vbi-0.3}/docs/models.rst +125 -1
  84. vbi-0.3/docs/publication.rst +144 -0
  85. vbi-0.3/docs/references.txt +265 -0
  86. {vbi-0.2.2 → vbi-0.3}/pyproject.toml +18 -3
  87. vbi-0.3/setup.py +225 -0
  88. {vbi-0.2.2 → vbi-0.3}/vbi/__init__.py +37 -29
  89. vbi-0.3/vbi/_version.py +1 -0
  90. vbi-0.3/vbi/cde.py +1135 -0
  91. vbi-0.3/vbi/dataset/__init__.py +0 -0
  92. vbi-0.3/vbi/dataset/__pycache__/__init__.cpython-310.pyc +0 -0
  93. {vbi-0.2.2 → vbi-0.3}/vbi/feature_extraction/features.py +181 -60
  94. {vbi-0.2.2 → vbi-0.3}/vbi/feature_extraction/features_settings.py +175 -31
  95. {vbi-0.2.2 → vbi-0.3}/vbi/feature_extraction/features_utils.py +230 -56
  96. vbi-0.3/vbi/inference.py +30 -0
  97. vbi-0.3/vbi/models/__init__.py +0 -0
  98. vbi-0.3/vbi/models/cpp/__init__.py +0 -0
  99. vbi-0.3/vbi/models/cpp/_src/__init__.py +0 -0
  100. vbi-0.3/vbi/models/cpp/_src/__pycache__/__init__.cpython-310.pyc +0 -0
  101. vbi-0.3/vbi/models/cpp/_src/__pycache__/do.cpython-310.pyc +0 -0
  102. vbi-0.3/vbi/models/cpp/_src/__pycache__/jr_sdde.cpython-310.pyc +0 -0
  103. vbi-0.3/vbi/models/cpp/_src/__pycache__/jr_sde.cpython-310.pyc +0 -0
  104. vbi-0.3/vbi/models/cpp/_src/__pycache__/km_sde.cpython-310.pyc +0 -0
  105. vbi-0.3/vbi/models/cpp/_src/__pycache__/mpr_sde.cpython-310.pyc +0 -0
  106. vbi-0.3/vbi/models/cpp/_src/__pycache__/vep.cpython-310.pyc +0 -0
  107. vbi-0.3/vbi/models/cpp/_src/__pycache__/wc_ode.cpython-310.pyc +0 -0
  108. vbi-0.3/vbi/models/cpp/_src/_do.cpython-310-x86_64-linux-gnu.so +0 -0
  109. vbi-0.3/vbi/models/cpp/_src/_jr_sdde.cpython-310-x86_64-linux-gnu.so +0 -0
  110. vbi-0.3/vbi/models/cpp/_src/_jr_sde.cpython-310-x86_64-linux-gnu.so +0 -0
  111. vbi-0.3/vbi/models/cpp/_src/_km_sde.cpython-310-x86_64-linux-gnu.so +0 -0
  112. vbi-0.3/vbi/models/cpp/_src/_mpr_sde.cpython-310-x86_64-linux-gnu.so +0 -0
  113. vbi-0.3/vbi/models/cpp/_src/_vep.cpython-310-x86_64-linux-gnu.so +0 -0
  114. vbi-0.3/vbi/models/cpp/_src/_wc_ode.cpython-310-x86_64-linux-gnu.so +0 -0
  115. {vbi-0.2.2 → vbi-0.3}/vbi/models/cpp/_src/do.hpp +0 -2
  116. vbi-0.3/vbi/models/cpp/_src/do.py +467 -0
  117. vbi-0.3/vbi/models/cpp/_src/do_wrap.cxx +12811 -0
  118. vbi-0.3/vbi/models/cpp/_src/jr_sdde.py +688 -0
  119. vbi-0.3/vbi/models/cpp/_src/jr_sdde_wrap.cxx +18718 -0
  120. {vbi-0.2.2 → vbi-0.3}/vbi/models/cpp/_src/jr_sde.hpp +0 -2
  121. vbi-0.3/vbi/models/cpp/_src/jr_sde.py +470 -0
  122. vbi-0.3/vbi/models/cpp/_src/jr_sde_wrap.cxx +13406 -0
  123. vbi-0.3/vbi/models/cpp/_src/km_sde.py +671 -0
  124. vbi-0.3/vbi/models/cpp/_src/km_sde_wrap.cxx +17367 -0
  125. vbi-0.3/vbi/models/cpp/_src/makefile +158 -0
  126. {vbi-0.2.2 → vbi-0.3}/vbi/models/cpp/_src/mpr_sde.hpp +15 -12
  127. vbi-0.3/vbi/models/cpp/_src/mpr_sde.py +711 -0
  128. vbi-0.3/vbi/models/cpp/_src/mpr_sde_wrap.cxx +18618 -0
  129. {vbi-0.2.2 → vbi-0.3}/vbi/models/cpp/_src/utility.hpp +46 -13
  130. {vbi-0.2.2 → vbi-0.3}/vbi/models/cpp/_src/vep.hpp +4 -3
  131. vbi-0.3/vbi/models/cpp/_src/vep.py +464 -0
  132. vbi-0.3/vbi/models/cpp/_src/vep_wrap.cxx +12968 -0
  133. {vbi-0.2.2 → vbi-0.3}/vbi/models/cpp/_src/wc_ode.hpp +11 -9
  134. vbi-0.3/vbi/models/cpp/_src/wc_ode.py +686 -0
  135. vbi-0.3/vbi/models/cpp/_src/wc_ode_wrap.cxx +24263 -0
  136. {vbi-0.2.2 → vbi-0.3}/vbi/models/cpp/damp_oscillator.py +61 -15
  137. vbi-0.3/vbi/models/cupy/__init__.py +0 -0
  138. {vbi-0.2.2 → vbi-0.3}/vbi/models/cupy/wilson_cowan.py +7 -0
  139. {vbi-0.2.2 → vbi-0.3}/vbi/models/cupy/ww.py +122 -6
  140. vbi-0.3/vbi/models/numba/damp_oscillator.py +477 -0
  141. vbi-0.3/vbi/models/numba/ghb.py +449 -0
  142. {vbi-0.2.2 → vbi-0.3}/vbi/models/numba/jansen_rit.py +113 -3
  143. vbi-0.3/vbi/models/numba/mpr.py +747 -0
  144. vbi-0.3/vbi/models/numba/vep.py +545 -0
  145. vbi-0.3/vbi/models/numba/wilson_cowan.py +817 -0
  146. vbi-0.3/vbi/models/numba/ww.py +1009 -0
  147. vbi-0.3/vbi/models/pytorch/__init__.py +0 -0
  148. {vbi-0.2.2 → vbi-0.3}/vbi/models/pytorch/ww_sde_kong.py +17 -11
  149. {vbi-0.2.2 → vbi-0.3}/vbi/optional_deps.py +5 -4
  150. vbi-0.3/vbi/papers/__init__.py +0 -0
  151. vbi-0.3/vbi/plot.py +553 -0
  152. vbi-0.2.2/vbi/inference.py → vbi-0.3/vbi/sbi_inference.py +41 -17
  153. vbi-0.3/vbi/tests/COVERAGE_README.md +198 -0
  154. vbi-0.3/vbi/tests/__init__.py +0 -0
  155. vbi-0.3/vbi/tests/coverage_checker.py +375 -0
  156. vbi-0.3/vbi/tests/quick_coverage.py +226 -0
  157. {vbi-0.2.2 → vbi-0.3}/vbi/tests/run_tests.py +30 -0
  158. vbi-0.3/vbi/tests/test___init__.py +299 -0
  159. vbi-0.3/vbi/tests/test_boxuniform.py +509 -0
  160. vbi-0.3/vbi/tests/test_cde.py +364 -0
  161. vbi-0.3/vbi/tests/test_cde_estimation.py +429 -0
  162. vbi-0.3/vbi/tests/test_requirements.txt +7 -0
  163. vbi-0.3/vbi/tests/test_utils.py +494 -0
  164. vbi-0.3/vbi/utils.py +1165 -0
  165. vbi-0.3/vbi.egg-info/PKG-INFO +223 -0
  166. vbi-0.3/vbi.egg-info/SOURCES.txt +253 -0
  167. vbi-0.3/vbi.egg-info/not-zip-safe +1 -0
  168. {vbi-0.2.2 → vbi-0.3}/vbi.egg-info/requires.txt +13 -1
  169. vbi-0.2.2/PKG-INFO +0 -231
  170. vbi-0.2.2/README.md +0 -167
  171. vbi-0.2.2/docs/API.rst +0 -71
  172. vbi-0.2.2/docs/examples/do_nb.ipynb +0 -437
  173. vbi-0.2.2/docs/examples/ww_full_sde_cupy.ipynb +0 -30830
  174. vbi-0.2.2/docs/examples/ww_sde_torch_kong.ipynb +0 -2892
  175. vbi-0.2.2/docs/index.rst +0 -300
  176. vbi-0.2.2/setup.py +0 -80
  177. vbi-0.2.2/vbi/_version.py +0 -1
  178. vbi-0.2.2/vbi/models/cpp/_src/makefile +0 -52
  179. vbi-0.2.2/vbi/models/numba/damp_oscillator.py +0 -162
  180. vbi-0.2.2/vbi/models/numba/ghb.py +0 -208
  181. vbi-0.2.2/vbi/models/numba/mpr.py +0 -391
  182. vbi-0.2.2/vbi/models/numba/vep.py +0 -327
  183. vbi-0.2.2/vbi/models/numba/wilson_cowan.py +0 -443
  184. vbi-0.2.2/vbi/models/numba/ww.py +0 -564
  185. vbi-0.2.2/vbi/utils.py +0 -408
  186. vbi-0.2.2/vbi.egg-info/PKG-INFO +0 -231
  187. vbi-0.2.2/vbi.egg-info/SOURCES.txt +0 -139
  188. {vbi-0.2.2 → vbi-0.3}/LICENSE +0 -0
  189. {vbi-0.2.2 → vbi-0.3}/MANIFEST.in +0 -0
  190. {vbi-0.2.2 → vbi-0.3}/docs/Makefile +0 -0
  191. {vbi-0.2.2 → vbi-0.3}/docs/_static/Fig1.png +0 -0
  192. {vbi-0.2.2 → vbi-0.3}/docs/_static/custom.css +0 -0
  193. {vbi-0.2.2 → vbi-0.3}/docs/_static/vbi_flowchart.png +0 -0
  194. {vbi-0.2.2 → vbi-0.3}/docs/_static/vbi_log.png +0 -0
  195. {vbi-0.2.2 → vbi-0.3}/docs/docker_build.rst +0 -0
  196. {vbi-0.2.2 → vbi-0.3}/docs/docker_quickstart.rst +0 -0
  197. {vbi-0.2.2 → vbi-0.3}/docs/examples/.gitattributes +0 -0
  198. {vbi-0.2.2 → vbi-0.3}/docs/examples/data/centers.txt +0 -0
  199. {vbi-0.2.2 → vbi-0.3}/docs/examples/data/centres.txt +0 -0
  200. {vbi-0.2.2 → vbi-0.3}/docs/examples/data/cortical.txt +0 -0
  201. {vbi-0.2.2 → vbi-0.3}/docs/examples/data/tract_lengths.txt +0 -0
  202. {vbi-0.2.2 → vbi-0.3}/docs/examples/data/weights.txt +0 -0
  203. {vbi-0.2.2 → vbi-0.3}/docs/examples/data/weights1.txt +0 -0
  204. {vbi-0.2.2 → vbi-0.3}/docs/examples/data/weights_68.txt +0 -0
  205. {vbi-0.2.2/vbi/dataset → vbi-0.3/docs/examples/executed_notebooks/__jax}/__init__.py +0 -0
  206. /vbi-0.2.2/vbi/models/__init__.py → /vbi-0.3/docs/examples/executed_notebooks/__jax/damp_oscillator.py +0 -0
  207. /vbi-0.2.2/vbi/models/cpp/__init__.py → /vbi-0.3/docs/examples/executed_notebooks/__jax/ghb.py +0 -0
  208. /vbi-0.2.2/vbi/models/cpp/_src/__init__.py → /vbi-0.3/docs/examples/executed_notebooks/__jax/jansen_rit.py +0 -0
  209. /vbi-0.2.2/vbi/models/cupy/__init__.py → /vbi-0.3/docs/examples/executed_notebooks/__jax/kuramoto.py +0 -0
  210. /vbi-0.2.2/vbi/models/pytorch/__init__.py → /vbi-0.3/docs/examples/executed_notebooks/__jax/mpr.py +0 -0
  211. /vbi-0.2.2/vbi/papers/__init__.py → /vbi-0.3/docs/examples/executed_notebooks/__jax/sl.py +0 -0
  212. /vbi-0.2.2/vbi/tests/__init__.py → /vbi-0.3/docs/examples/executed_notebooks/__jax/vep.py +0 -0
  213. {vbi-0.2.2 → vbi-0.3}/docs/examples/ghb_sde_cupy.ipynb +0 -0
  214. {vbi-0.2.2 → vbi-0.3}/docs/examples/helpers.py +0 -0
  215. {vbi-0.2.2 → vbi-0.3}/docs/examples/intro.ipynb +0 -0
  216. {vbi-0.2.2 → vbi-0.3}/docs/examples/mpr_tvbk.ipynb +0 -0
  217. {vbi-0.2.2 → vbi-0.3}/docs/examples/my_features.json +0 -0
  218. {vbi-0.2.2 → vbi-0.3}/docs/examples/my_features.py +0 -0
  219. {vbi-0.2.2 → vbi-0.3}/docs/requirements.txt +0 -0
  220. {vbi-0.2.2 → vbi-0.3}/setup.cfg +0 -0
  221. {vbi-0.2.2 → vbi-0.3}/vbi/dataset/connectivity_84/centers.txt +0 -0
  222. {vbi-0.2.2 → vbi-0.3}/vbi/dataset/connectivity_84/centres.txt +0 -0
  223. {vbi-0.2.2 → vbi-0.3}/vbi/dataset/connectivity_84/cortical.txt +0 -0
  224. {vbi-0.2.2 → vbi-0.3}/vbi/dataset/connectivity_84/tract_lengths.txt +0 -0
  225. {vbi-0.2.2 → vbi-0.3}/vbi/dataset/connectivity_84/weights.txt +0 -0
  226. {vbi-0.2.2 → vbi-0.3}/vbi/dataset/connectivity_88/Aud_88.txt +0 -0
  227. {vbi-0.2.2 → vbi-0.3}/vbi/dataset/connectivity_88/Bold.npz +0 -0
  228. {vbi-0.2.2 → vbi-0.3}/vbi/dataset/connectivity_88/Labels.txt +0 -0
  229. {vbi-0.2.2 → vbi-0.3}/vbi/dataset/connectivity_88/Region_labels.txt +0 -0
  230. {vbi-0.2.2 → vbi-0.3}/vbi/dataset/connectivity_88/tract_lengths.txt +0 -0
  231. {vbi-0.2.2 → vbi-0.3}/vbi/dataset/connectivity_88/weights.txt +0 -0
  232. {vbi-0.2.2 → vbi-0.3}/vbi/feature_extraction/__init__.py +0 -0
  233. {vbi-0.2.2 → vbi-0.3}/vbi/feature_extraction/calc_features.py +0 -0
  234. {vbi-0.2.2 → vbi-0.3}/vbi/feature_extraction/features.json +0 -0
  235. {vbi-0.2.2 → vbi-0.3}/vbi/feature_extraction/infodynamics.jar +0 -0
  236. {vbi-0.2.2 → vbi-0.3}/vbi/feature_extraction/utility.py +0 -0
  237. {vbi-0.2.2 → vbi-0.3}/vbi/models/cpp/_src/bold.hpp +0 -0
  238. {vbi-0.2.2 → vbi-0.3}/vbi/models/cpp/_src/do.i +0 -0
  239. {vbi-0.2.2 → vbi-0.3}/vbi/models/cpp/_src/jr_sdde.hpp +0 -0
  240. {vbi-0.2.2 → vbi-0.3}/vbi/models/cpp/_src/jr_sdde.i +0 -0
  241. {vbi-0.2.2 → vbi-0.3}/vbi/models/cpp/_src/jr_sde.i +0 -0
  242. {vbi-0.2.2 → vbi-0.3}/vbi/models/cpp/_src/km_sde.hpp +0 -0
  243. {vbi-0.2.2 → vbi-0.3}/vbi/models/cpp/_src/km_sde.i +0 -0
  244. {vbi-0.2.2 → vbi-0.3}/vbi/models/cpp/_src/mpr_sde.i +0 -0
  245. {vbi-0.2.2 → vbi-0.3}/vbi/models/cpp/_src/vep.i +0 -0
  246. {vbi-0.2.2 → vbi-0.3}/vbi/models/cpp/_src/wc_ode.i +0 -0
  247. {vbi-0.2.2 → vbi-0.3}/vbi/models/cpp/jansen_rit.py +0 -0
  248. {vbi-0.2.2 → vbi-0.3}/vbi/models/cpp/km.py +0 -0
  249. {vbi-0.2.2 → vbi-0.3}/vbi/models/cpp/mpr.py +0 -0
  250. {vbi-0.2.2 → vbi-0.3}/vbi/models/cpp/vep.py +0 -0
  251. {vbi-0.2.2 → vbi-0.3}/vbi/models/cpp/wc.py +0 -0
  252. {vbi-0.2.2 → vbi-0.3}/vbi/models/cupy/bold.py +0 -0
  253. {vbi-0.2.2 → vbi-0.3}/vbi/models/cupy/ghb.py +0 -0
  254. {vbi-0.2.2 → vbi-0.3}/vbi/models/cupy/jansen_rit.py +0 -0
  255. {vbi-0.2.2 → vbi-0.3}/vbi/models/cupy/km.py +0 -0
  256. {vbi-0.2.2 → vbi-0.3}/vbi/models/cupy/mpr.py +0 -0
  257. {vbi-0.2.2 → vbi-0.3}/vbi/models/cupy/mpr_modified_bold.py +0 -0
  258. {vbi-0.2.2 → vbi-0.3}/vbi/models/cupy/utils.py +0 -0
  259. {vbi-0.2.2 → vbi-0.3}/vbi/models/numba/__init__.py +0 -0
  260. {vbi-0.2.2 → vbi-0.3}/vbi/models/pytorch/data/default_parameters.npz +0 -0
  261. {vbi-0.2.2 → vbi-0.3}/vbi/models/pytorch/data/obs_kong0.npz +0 -0
  262. {vbi-0.2.2 → vbi-0.3}/vbi/models/tvbk/__init__.py +0 -0
  263. {vbi-0.2.2 → vbi-0.3}/vbi/models/tvbk/tvbk_wrapper.py +0 -0
  264. {vbi-0.2.2 → vbi-0.3}/vbi/models/tvbk/utils.py +0 -0
  265. {vbi-0.2.2 → vbi-0.3}/vbi/tests/README.md +0 -0
  266. {vbi-0.2.2 → vbi-0.3}/vbi/tests/_test_mpr_nb.py +0 -0
  267. {vbi-0.2.2 → vbi-0.3}/vbi/tests/pytest.ini +0 -0
  268. {vbi-0.2.2 → vbi-0.3}/vbi/tests/test_features.py +0 -0
  269. {vbi-0.2.2 → vbi-0.3}/vbi/tests/test_ghb_cupy.py +0 -0
  270. {vbi-0.2.2 → vbi-0.3}/vbi/tests/test_mpr_cupy.py +0 -0
  271. {vbi-0.2.2 → vbi-0.3}/vbi/tests/test_mpr_numba.py +0 -0
  272. {vbi-0.2.2 → vbi-0.3}/vbi/tests/test_suite.py +0 -0
  273. {vbi-0.2.2 → vbi-0.3}/vbi.egg-info/dependency_links.txt +0 -0
  274. {vbi-0.2.2 → vbi-0.3}/vbi.egg-info/top_level.txt +0 -0
vbi-0.3/PKG-INFO ADDED
@@ -0,0 +1,223 @@
1
+ Metadata-Version: 2.4
2
+ Name: vbi
3
+ Version: 0.3
4
+ Summary: Virtual brain inference.
5
+ Author-email: Abolfazl Ziaeemehr <a.ziaeemehr@gmail.com>, Meysam Hashemi <meysam.hashemi@gmail.com>, Marmaduke Woodman <marmaduke.woodman@gmail.com>
6
+ License: MIT
7
+ Project-URL: homepage, https://ziaeemehr.github.io/vbi_paper/
8
+ Project-URL: repository, https://github.com/Ziaeemehr/vbi_paper
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Topic :: Scientific/Engineering :: Information Analysis
11
+ Classifier: License :: OSI Approved :: Apache Software License
12
+ Classifier: Operating System :: OS Independent
13
+ Requires-Python: >=3.8
14
+ Description-Content-Type: text/markdown
15
+ License-File: LICENSE
16
+ Requires-Dist: wheel
17
+ Requires-Dist: numpy
18
+ Requires-Dist: scipy
19
+ Requires-Dist: numba
20
+ Requires-Dist: h5py
21
+ Requires-Dist: pandas
22
+ Requires-Dist: networkx
23
+ Requires-Dist: nbconvert
24
+ Requires-Dist: matplotlib
25
+ Requires-Dist: setuptools-scm
26
+ Requires-Dist: tqdm
27
+ Requires-Dist: autograd
28
+ Requires-Dist: parameterized
29
+ Requires-Dist: scikit-learn
30
+ Requires-Dist: pytest
31
+ Requires-Dist: swig
32
+ Requires-Dist: rich
33
+ Requires-Dist: corner
34
+ Provides-Extra: light
35
+ Provides-Extra: light-gpu
36
+ Requires-Dist: cupy; extra == "light-gpu"
37
+ Provides-Extra: inference
38
+ Requires-Dist: sbi; extra == "inference"
39
+ Requires-Dist: torch; extra == "inference"
40
+ Provides-Extra: inference-gpu
41
+ Requires-Dist: sbi; extra == "inference-gpu"
42
+ Requires-Dist: torch; extra == "inference-gpu"
43
+ Requires-Dist: cupy; extra == "inference-gpu"
44
+ Provides-Extra: dev
45
+ Provides-Extra: docs
46
+ Requires-Dist: sphinx; extra == "docs"
47
+ Requires-Dist: numpydoc; extra == "docs"
48
+ Requires-Dist: nbformat; extra == "docs"
49
+ Requires-Dist: nbsphinx; extra == "docs"
50
+ Requires-Dist: cloud_sptheme; extra == "docs"
51
+ Requires-Dist: sphinx_bootstrap_theme; extra == "docs"
52
+ Provides-Extra: all
53
+ Requires-Dist: sbi; extra == "all"
54
+ Requires-Dist: torch; extra == "all"
55
+ Requires-Dist: cupy; extra == "all"
56
+ Requires-Dist: pycatch22; extra == "all"
57
+ Requires-Dist: sphinx; extra == "all"
58
+ Requires-Dist: numpydoc; extra == "all"
59
+ Requires-Dist: nbformat; extra == "all"
60
+ Requires-Dist: nbsphinx; extra == "all"
61
+ Requires-Dist: cloud_sptheme; extra == "all"
62
+ Requires-Dist: sphinx_bootstrap_theme; extra == "all"
63
+ Provides-Extra: all-docker
64
+ Requires-Dist: sbi; extra == "all-docker"
65
+ Requires-Dist: torch; extra == "all-docker"
66
+ Requires-Dist: sphinx; extra == "all-docker"
67
+ Requires-Dist: numpydoc; extra == "all-docker"
68
+ Requires-Dist: nbformat; extra == "all-docker"
69
+ Requires-Dist: nbsphinx; extra == "all-docker"
70
+ Requires-Dist: cloud_sptheme; extra == "all-docker"
71
+ Requires-Dist: sphinx_bootstrap_theme; extra == "all-docker"
72
+ Provides-Extra: cu
73
+ Requires-Dist: cupy; extra == "cu"
74
+ Dynamic: license-file
75
+
76
+ [![Test](https://github.com/ins-amu/vbi/actions/workflows/tests.yml/badge.svg)](https://github.com/ins-amu/vbi/actions/workflows/tests.yml)
77
+ [![Documentation Status](https://readthedocs.org/projects/vbi/badge/?version=latest)](https://vbi.readthedocs.io/latest/)
78
+ [![DOI](https://zenodo.org/badge/681090816.svg)](https://doi.org/10.5281/zenodo.14795543)
79
+ [![Docker Build](https://github.com/ins-amu/vbi/actions/workflows/docker-image.yml/badge.svg)](https://github.com/ins-amu/vbi/actions/workflows/docker-image.yml)
80
+ <!-- [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/ins-amu/vbi/main?labpath=docs/examples/intro.ipynb) -->
81
+
82
+
83
+ # VBI: Virtual Brain Inference
84
+ ---
85
+ [Getting Started](https://github.com/ins-amu/vbi/tree/main/docs/examples) |
86
+ [Documentation](https://vbi.readthedocs.io/latest/) |
87
+
88
+ <p align="center">
89
+ <img src="https://github.com/Ziaeemehr/vbi_paper/blob/main/vbi_log.png" width="250">
90
+ </p>
91
+
92
+
93
+ ## Installation
94
+
95
+ ### Quick Start
96
+
97
+ ```bash
98
+ # Create conda environment (recommended)
99
+ conda create --name vbi python=3.10
100
+ conda activate vbi
101
+
102
+
103
+ # Install VBI
104
+ export SKIP_CPP=1 # To skip C++ compilation
105
+ pip install vbi # Light version (CPU only)
106
+ pip install vbi[inference] # With parameter inference
107
+ pip install vbi[inference-gpu] # Full functionality with GPU support
108
+ ```
109
+
110
+ ### Installation Options
111
+
112
+ - **`pip install vbi`** - Light version with CPU simulation only
113
+ - **`pip install vbi[inference]`** - Adds parameter inference capabilities
114
+ - **`pip install vbi[inference-gpu]`** - Full functionality with GPU acceleration
115
+
116
+ ### Using Docker
117
+
118
+ ```bash
119
+ # Quick start with pre-built image
120
+ docker run --rm -it -p 8888:8888 ghcr.io/ins-amu/vbi:main
121
+
122
+ # With GPU support
123
+ docker run --gpus all --rm -it -p 8888:8888 ghcr.io/ins-amu/vbi:main
124
+ ```
125
+
126
+ ### Other Installation Methods
127
+
128
+ For detailed installation instructions including:
129
+ - **Installing from source**
130
+ - **Windows-specific installation**
131
+ - **Building Docker locally**
132
+ - **Platform-specific guides** (Google Colab, EBRAINS)
133
+ - **Troubleshooting**
134
+
135
+ See our comprehensive [Installation Guide](https://vbi.readthedocs.io/latest/installation.html) in the documentation.
136
+
137
+ ### Quick Verification
138
+
139
+ ```python
140
+ import vbi
141
+ vbi.tests()
142
+ vbi.test_imports()
143
+ ```
144
+
145
+ **Example output:**
146
+ ```
147
+ Dependency Check
148
+
149
+ Package Version Status
150
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
151
+ vbi v0.2.1 ✅ Available
152
+ numpy 1.24.4 ✅ Available
153
+ scipy 1.10.1 ✅ Available
154
+ matplotlib 3.7.5 ✅ Available
155
+ sbi 0.22.0 ✅ Available
156
+ torch 2.4.1+cu121 ✅ Available
157
+ cupy 12.3.0 ✅ Available
158
+
159
+ Torch GPU available: True
160
+ Torch device count: 1
161
+ Torch CUDA version: 12.1
162
+ CuPy GPU available: True
163
+ CuPy device count: 1
164
+ ```
165
+
166
+ ## Getting Started
167
+
168
+ - **📚 [Documentation](https://vbi.readthedocs.io/latest/)** - Complete guides and API reference
169
+ - **🎯 [Examples](https://github.com/ins-amu/vbi/tree/main/docs/examples)** - Jupyter notebooks with tutorials
170
+ - **🚀 [Quick Start](https://vbi.readthedocs.io/latest/examples_overview.html)** - Choose your computational backend
171
+
172
+
173
+ ## Feedback and Contributions
174
+
175
+ We welcome contributions to the VBI project! If you have suggestions, bug reports, or feature requests, please open an issue on our [GitHub repository](https://github.com/ins-amu/vbi/issues). To contribute code, fork the repository, create a new branch for your feature or bugfix, and submit a pull request. Make sure to follow our coding standards and include tests for your changes. For detailed guidelines, please refer to our [CONTRIBUTING.md](https://github.com/ins-amu/vbi/blob/main/CONTRIBUTING.md) file. Thank you for helping us improve VBI!
176
+
177
+
178
+ ## GDPR Compliance
179
+
180
+ VBI itself does not collect, store, or transmit personal data.
181
+ Users may provide their own datasets locally; in such cases, the responsibility for GDPR compliance lies with the user and their execution environment.
182
+
183
+ For details, see [GDPR_COMPLIANCE.md](GDPR_COMPLIANCE.md).
184
+
185
+
186
+ ## Citation
187
+
188
+ ```bibtex
189
+ @article{VBI,
190
+ title={Virtual Brain Inference (VBI): A flexible and integrative toolkit for efficient probabilistic inference on virtual brain models},
191
+ author={Ziaeemehr, Abolfazl and Woodman, Marmaduke and Domide, Lia and Petkoski, Spase and Jirsa, Viktor and Hashemi, Meysam},
192
+ DOI={10.7554/elife.106194.1},
193
+ url={http://dx.doi.org/10.7554/eLife.106194.1},
194
+ publisher={eLife Sciences Publications, Ltd},
195
+ year={2025},
196
+ abstract = {Network neuroscience has proven essential for understanding the principles and mechanisms
197
+ underlying complex brain (dys)function and cognition. In this context, whole-brain network modeling–
198
+ also known as virtual brain modeling–combines computational models of brain dynamics (placed at each network node)
199
+ with individual brain imaging data (to coordinate and connect the nodes), advancing our understanding of
200
+ the complex dynamics of the brain and its neurobiological underpinnings. However, there remains a critical
201
+ need for automated model inversion tools to estimate control (bifurcation) parameters at large scales
202
+ associated with neuroimaging modalities, given their varying spatio-temporal resolutions.
203
+ This study aims to address this gap by introducing a flexible and integrative toolkit for efficient Bayesian inference
204
+ on virtual brain models, called Virtual Brain Inference (VBI). This open-source toolkit provides fast simulations,
205
+ taxonomy of feature extraction, efficient data storage and loading, and probabilistic machine learning algorithms,
206
+ enabling biophysically interpretable inference from non-invasive and invasive recordings.
207
+ Through in-silico testing, we demonstrate the accuracy and reliability of inference for commonly used
208
+ whole-brain network models and their associated neuroimaging data. VBI shows potential to improve hypothesis
209
+ evaluation in network neuroscience through uncertainty quantification, and contribute to advances in precision
210
+ medicine by enhancing the predictive power of virtual brain models.}
211
+ }
212
+ ```
213
+
214
+ This research has received funding from:
215
+
216
+ - EU's Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreements:
217
+ - No. 101147319 (EBRAINS 2.0 Project)
218
+ - No. 101137289 (Virtual Brain Twin Project)
219
+ - No. 101057429 (project environMENTAL)
220
+ - Government grant managed by the Agence Nationale de la Recherche:
221
+ - Reference ANR-22-PESN-0012 (France 2030 program)
222
+
223
+ The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
vbi-0.3/README.md ADDED
@@ -0,0 +1,148 @@
1
+ [![Test](https://github.com/ins-amu/vbi/actions/workflows/tests.yml/badge.svg)](https://github.com/ins-amu/vbi/actions/workflows/tests.yml)
2
+ [![Documentation Status](https://readthedocs.org/projects/vbi/badge/?version=latest)](https://vbi.readthedocs.io/latest/)
3
+ [![DOI](https://zenodo.org/badge/681090816.svg)](https://doi.org/10.5281/zenodo.14795543)
4
+ [![Docker Build](https://github.com/ins-amu/vbi/actions/workflows/docker-image.yml/badge.svg)](https://github.com/ins-amu/vbi/actions/workflows/docker-image.yml)
5
+ <!-- [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/ins-amu/vbi/main?labpath=docs/examples/intro.ipynb) -->
6
+
7
+
8
+ # VBI: Virtual Brain Inference
9
+ ---
10
+ [Getting Started](https://github.com/ins-amu/vbi/tree/main/docs/examples) |
11
+ [Documentation](https://vbi.readthedocs.io/latest/) |
12
+
13
+ <p align="center">
14
+ <img src="https://github.com/Ziaeemehr/vbi_paper/blob/main/vbi_log.png" width="250">
15
+ </p>
16
+
17
+
18
+ ## Installation
19
+
20
+ ### Quick Start
21
+
22
+ ```bash
23
+ # Create conda environment (recommended)
24
+ conda create --name vbi python=3.10
25
+ conda activate vbi
26
+
27
+
28
+ # Install VBI
29
+ export SKIP_CPP=1 # To skip C++ compilation
30
+ pip install vbi # Light version (CPU only)
31
+ pip install vbi[inference] # With parameter inference
32
+ pip install vbi[inference-gpu] # Full functionality with GPU support
33
+ ```
34
+
35
+ ### Installation Options
36
+
37
+ - **`pip install vbi`** - Light version with CPU simulation only
38
+ - **`pip install vbi[inference]`** - Adds parameter inference capabilities
39
+ - **`pip install vbi[inference-gpu]`** - Full functionality with GPU acceleration
40
+
41
+ ### Using Docker
42
+
43
+ ```bash
44
+ # Quick start with pre-built image
45
+ docker run --rm -it -p 8888:8888 ghcr.io/ins-amu/vbi:main
46
+
47
+ # With GPU support
48
+ docker run --gpus all --rm -it -p 8888:8888 ghcr.io/ins-amu/vbi:main
49
+ ```
50
+
51
+ ### Other Installation Methods
52
+
53
+ For detailed installation instructions including:
54
+ - **Installing from source**
55
+ - **Windows-specific installation**
56
+ - **Building Docker locally**
57
+ - **Platform-specific guides** (Google Colab, EBRAINS)
58
+ - **Troubleshooting**
59
+
60
+ See our comprehensive [Installation Guide](https://vbi.readthedocs.io/latest/installation.html) in the documentation.
61
+
62
+ ### Quick Verification
63
+
64
+ ```python
65
+ import vbi
66
+ vbi.tests()
67
+ vbi.test_imports()
68
+ ```
69
+
70
+ **Example output:**
71
+ ```
72
+ Dependency Check
73
+
74
+ Package Version Status
75
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
76
+ vbi v0.2.1 ✅ Available
77
+ numpy 1.24.4 ✅ Available
78
+ scipy 1.10.1 ✅ Available
79
+ matplotlib 3.7.5 ✅ Available
80
+ sbi 0.22.0 ✅ Available
81
+ torch 2.4.1+cu121 ✅ Available
82
+ cupy 12.3.0 ✅ Available
83
+
84
+ Torch GPU available: True
85
+ Torch device count: 1
86
+ Torch CUDA version: 12.1
87
+ CuPy GPU available: True
88
+ CuPy device count: 1
89
+ ```
90
+
91
+ ## Getting Started
92
+
93
+ - **📚 [Documentation](https://vbi.readthedocs.io/latest/)** - Complete guides and API reference
94
+ - **🎯 [Examples](https://github.com/ins-amu/vbi/tree/main/docs/examples)** - Jupyter notebooks with tutorials
95
+ - **🚀 [Quick Start](https://vbi.readthedocs.io/latest/examples_overview.html)** - Choose your computational backend
96
+
97
+
98
+ ## Feedback and Contributions
99
+
100
+ We welcome contributions to the VBI project! If you have suggestions, bug reports, or feature requests, please open an issue on our [GitHub repository](https://github.com/ins-amu/vbi/issues). To contribute code, fork the repository, create a new branch for your feature or bugfix, and submit a pull request. Make sure to follow our coding standards and include tests for your changes. For detailed guidelines, please refer to our [CONTRIBUTING.md](https://github.com/ins-amu/vbi/blob/main/CONTRIBUTING.md) file. Thank you for helping us improve VBI!
101
+
102
+
103
+ ## GDPR Compliance
104
+
105
+ VBI itself does not collect, store, or transmit personal data.
106
+ Users may provide their own datasets locally; in such cases, the responsibility for GDPR compliance lies with the user and their execution environment.
107
+
108
+ For details, see [GDPR_COMPLIANCE.md](GDPR_COMPLIANCE.md).
109
+
110
+
111
+ ## Citation
112
+
113
+ ```bibtex
114
+ @article{VBI,
115
+ title={Virtual Brain Inference (VBI): A flexible and integrative toolkit for efficient probabilistic inference on virtual brain models},
116
+ author={Ziaeemehr, Abolfazl and Woodman, Marmaduke and Domide, Lia and Petkoski, Spase and Jirsa, Viktor and Hashemi, Meysam},
117
+ DOI={10.7554/elife.106194.1},
118
+ url={http://dx.doi.org/10.7554/eLife.106194.1},
119
+ publisher={eLife Sciences Publications, Ltd},
120
+ year={2025},
121
+ abstract = {Network neuroscience has proven essential for understanding the principles and mechanisms
122
+ underlying complex brain (dys)function and cognition. In this context, whole-brain network modeling–
123
+ also known as virtual brain modeling–combines computational models of brain dynamics (placed at each network node)
124
+ with individual brain imaging data (to coordinate and connect the nodes), advancing our understanding of
125
+ the complex dynamics of the brain and its neurobiological underpinnings. However, there remains a critical
126
+ need for automated model inversion tools to estimate control (bifurcation) parameters at large scales
127
+ associated with neuroimaging modalities, given their varying spatio-temporal resolutions.
128
+ This study aims to address this gap by introducing a flexible and integrative toolkit for efficient Bayesian inference
129
+ on virtual brain models, called Virtual Brain Inference (VBI). This open-source toolkit provides fast simulations,
130
+ taxonomy of feature extraction, efficient data storage and loading, and probabilistic machine learning algorithms,
131
+ enabling biophysically interpretable inference from non-invasive and invasive recordings.
132
+ Through in-silico testing, we demonstrate the accuracy and reliability of inference for commonly used
133
+ whole-brain network models and their associated neuroimaging data. VBI shows potential to improve hypothesis
134
+ evaluation in network neuroscience through uncertainty quantification, and contribute to advances in precision
135
+ medicine by enhancing the predictive power of virtual brain models.}
136
+ }
137
+ ```
138
+
139
+ This research has received funding from:
140
+
141
+ - EU's Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreements:
142
+ - No. 101147319 (EBRAINS 2.0 Project)
143
+ - No. 101137289 (Virtual Brain Twin Project)
144
+ - No. 101057429 (project environMENTAL)
145
+ - Government grant managed by the Agence Nationale de la Recherche:
146
+ - Reference ANR-22-PESN-0012 (France 2030 program)
147
+
148
+ The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
vbi-0.3/docs/API.rst ADDED
@@ -0,0 +1,250 @@
1
+ .. raw:: html
2
+
3
+ <link rel="stylesheet" type="text/css" href="_static/custom.css">
4
+
5
+
6
+ API and documentation
7
+ =====================
8
+
9
+
10
+ C++ models
11
+ -------------------------
12
+
13
+
14
+ vbi.models.cpp.jansen_rit
15
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
16
+ .. automodule:: vbi.models.cpp.jansen_rit
17
+ :members:
18
+ :undoc-members:
19
+
20
+ vbi.models.cpp.km
21
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
22
+ .. automodule:: vbi.models.cpp.km
23
+ :members:
24
+ :undoc-members:
25
+
26
+ vbi.models.cpp.mpr
27
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
28
+ .. automodule:: vbi.models.cpp.mpr
29
+ :members:
30
+ :undoc-members:
31
+
32
+ vbi.models.cpp.vep
33
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
34
+ .. automodule:: vbi.models.cpp.vep
35
+ :members:
36
+ :undoc-members:
37
+
38
+ vbi.models.cpp.wc
39
+ ~~~~~~~~~~~~~~~~~
40
+ .. automodule:: vbi.models.cpp.wc
41
+ :members:
42
+ :undoc-members:
43
+
44
+ vbi.models.cpp.damp_oscillator
45
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
46
+ .. automodule:: vbi.models.cpp.damp_oscillator
47
+ :members:
48
+ :undoc-members:
49
+
50
+
51
+ Cupy models
52
+ -----------
53
+
54
+ vbi.models.cupy.mpr
55
+ ~~~~~~~~~~~~~~~~~~~
56
+ .. automodule:: vbi.models.cupy.mpr
57
+ :members:
58
+ :undoc-members:
59
+
60
+ vbi.models.cupy.ghb
61
+ ~~~~~~~~~~~~~~~~~~~
62
+ .. automodule:: vbi.models.cupy.ghb
63
+ :members:
64
+ :undoc-members:
65
+
66
+ vbi.models.cupy.jansen_rit
67
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
68
+ .. automodule:: vbi.models.cupy.jansen_rit
69
+ :members:
70
+ :undoc-members:
71
+
72
+ vbi.models.cupy.utils
73
+ ~~~~~~~~~~~~~~~~~~~~~
74
+ .. automodule:: vbi.models.cupy.utils
75
+ :members:
76
+ :undoc-members:
77
+
78
+ vbi.models.cupy.bold
79
+ ~~~~~~~~~~~~~~~~~~~~
80
+ .. automodule:: vbi.models.cupy.bold
81
+ :members:
82
+ :undoc-members:
83
+
84
+ vbi.models.cupy.km
85
+ ~~~~~~~~~~~~~~~~~~
86
+ .. automodule:: vbi.models.cupy.km
87
+ :members:
88
+ :undoc-members:
89
+
90
+ vbi.models.cupy.mpr_modified_bold
91
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
92
+ .. automodule:: vbi.models.cupy.mpr_modified_bold
93
+ :members:
94
+ :undoc-members:
95
+
96
+ .. vbi.models.cupy.mpr_multi_gpu
97
+ .. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
98
+ .. .. automodule:: vbi.models.cupy.mpr_multi_gpu
99
+ .. :members:
100
+ .. :undoc-members:
101
+
102
+ vbi.models.cupy.wilson_cowan
103
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
104
+ .. automodule:: vbi.models.cupy.wilson_cowan
105
+ :members:
106
+ :undoc-members:
107
+
108
+ vbi.models.cupy.ww
109
+ ~~~~~~~~~~~~~~~~~~
110
+ .. automodule:: vbi.models.cupy.ww
111
+ :members:
112
+ :undoc-members:
113
+
114
+
115
+ Numba models
116
+ ------------
117
+
118
+ vbi.models.numba.damp_oscillator
119
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
120
+ .. automodule:: vbi.models.numba.damp_oscillator
121
+ :members:
122
+ :undoc-members:
123
+
124
+ vbi.models.numba.ghb
125
+ ~~~~~~~~~~~~~~~~~~~~
126
+ .. automodule:: vbi.models.numba.ghb
127
+ :members:
128
+ :undoc-members:
129
+
130
+ vbi.models.numba.jansen_rit
131
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
132
+ .. automodule:: vbi.models.numba.jansen_rit
133
+ :members:
134
+ :undoc-members:
135
+
136
+ vbi.models.numba.mpr
137
+ ~~~~~~~~~~~~~~~~~~~~
138
+ .. automodule:: vbi.models.numba.mpr
139
+ :members:
140
+ :undoc-members:
141
+
142
+ vbi.models.numba.vep
143
+ ~~~~~~~~~~~~~~~~~~~~
144
+ .. automodule:: vbi.models.numba.vep
145
+ :members:
146
+ :undoc-members:
147
+
148
+ vbi.models.numba.wilson_cowan
149
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
150
+ .. automodule:: vbi.models.numba.wilson_cowan
151
+ :members:
152
+ :undoc-members:
153
+
154
+ vbi.models.numba.ww
155
+ ~~~~~~~~~~~~~~~~~~~
156
+ .. automodule:: vbi.models.numba.ww
157
+ :members:
158
+ :undoc-members:
159
+
160
+
161
+ PyTorch models
162
+ --------------
163
+
164
+ vbi.models.pytorch.ww_sde_kong
165
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
166
+ .. automodule:: vbi.models.pytorch.ww_sde_kong
167
+ :members:
168
+ :undoc-members:
169
+
170
+
171
+ TVB-K models
172
+ ------------
173
+
174
+ vbi.models.tvbk.tvbk_wrapper
175
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
176
+ .. automodule:: vbi.models.tvbk.tvbk_wrapper
177
+ :members:
178
+ :undoc-members:
179
+
180
+ vbi.models.tvbk.utils
181
+ ~~~~~~~~~~~~~~~~~~~~~
182
+ .. automodule:: vbi.models.tvbk.utils
183
+ :members:
184
+ :undoc-members:
185
+
186
+
187
+ Core VBI modules
188
+ ----------------
189
+
190
+ vbi.inference
191
+ ~~~~~~~~~~~~~
192
+ .. automodule:: vbi.inference
193
+ :members:
194
+ :undoc-members:
195
+
196
+ vbi.utils
197
+ ~~~~~~~~~
198
+ .. automodule:: vbi.utils
199
+ :members:
200
+ :undoc-members:
201
+
202
+ vbi.optional_deps
203
+ ~~~~~~~~~~~~~~~~~
204
+ .. automodule:: vbi.optional_deps
205
+ :members:
206
+ :undoc-members:
207
+
208
+
209
+ Feature extraction
210
+ ------------------
211
+
212
+ vbi.feature_extraction.calc_features
213
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
214
+ .. automodule:: vbi.feature_extraction.calc_features
215
+ :members:
216
+ :undoc-members:
217
+
218
+ vbi.feature_extraction.features
219
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
220
+ .. automodule:: vbi.feature_extraction.features
221
+ :members:
222
+ :undoc-members:
223
+
224
+ vbi.feature_extraction.features_settings
225
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
226
+ .. automodule:: vbi.feature_extraction.features_settings
227
+ :members:
228
+ :undoc-members:
229
+
230
+ vbi.feature_extraction.features_utils
231
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
232
+ .. automodule:: vbi.feature_extraction.features_utils
233
+ :members:
234
+ :undoc-members:
235
+
236
+ vbi.feature_extraction.utility
237
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
238
+ .. automodule:: vbi.feature_extraction.utility
239
+ :members:
240
+ :undoc-members:
241
+
242
+
243
+ Dataset
244
+ -------------------------
245
+
246
+ vbi.dataset
247
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
248
+ .. automodule:: vbi.dataset
249
+ :members:
250
+ :undoc-members:
@@ -0,0 +1,39 @@
1
+ .. raw:: html
2
+
3
+ <link rel="stylesheet" type="text/css" href="_static/custom.css">
4
+
5
+ Examples (Legacy)
6
+ =================
7
+
8
+ .. note::
9
+ This page contains the complete list of examples. For better organization, see:
10
+
11
+ - :doc:`examples_overview` - Simulation examples organized by backend
12
+ - :doc:`inference_examples` - Inference methods and tutorials
13
+
14
+ Complete Example List
15
+ ---------------------
16
+
17
+ .. toctree::
18
+ :maxdepth: 2
19
+
20
+ examples/intro
21
+ examples/intro_feature
22
+ examples/distributions
23
+ examples/do_cpp
24
+ examples/do_nb
25
+ examples/vep_sde
26
+ examples/vep_sde_numba
27
+ examples/mpr_sde_cupy
28
+ examples/mpr_sde_numba
29
+ examples/mpr_sde_cpp
30
+ examples/mpr_tvbk
31
+ examples/jansen_rit_sde_cpp
32
+ examples/jansen_rit_sde_cupy
33
+ examples/jansen_rit_sde_numba
34
+ examples/ww_sde_torch_kong
35
+ examples/ghb_sde_cupy
36
+ examples/wilson_cowan_cupy
37
+ examples/wilson_cowan_sde_numba
38
+ examples/ww_full_sde_cupy
39
+ examples/ww_full_sde_numba