vbi 0.2.1__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.
- {vbi-0.2.1/vbi.egg-info → vbi-0.3}/PKG-INFO +100 -62
- {vbi-0.2.1 → vbi-0.3}/README.md +70 -53
- vbi-0.3/docs/API.rst +250 -0
- vbi-0.3/docs/Examples.rst +39 -0
- {vbi-0.2.1 → vbi-0.3}/docs/conf.py +34 -1
- vbi-0.3/docs/docker_build.rst +968 -0
- vbi-0.3/docs/docker_quickstart.rst +169 -0
- vbi-0.2.1/docs/examples/do_cpp.ipynb → vbi-0.3/docs/examples/.ipynb_checkpoints/do_cpp-checkpoint.ipynb +21 -7
- {vbi-0.2.1 → vbi-0.3}/docs/examples/__pycache__/helpers.cpython-310.pyc +0 -0
- vbi-0.3/docs/examples/_e/script.py +82 -0
- vbi-0.3/docs/examples/_e/ww_sde_cupy.ipynb +713 -0
- vbi-0.3/docs/examples/_e/ww_sde_cupy.py +280 -0
- vbi-0.3/docs/examples/damp_oscillator.ipynb +405 -0
- vbi-0.3/docs/examples/damp_oscillator_cde.ipynb +616 -0
- vbi-0.3/docs/examples/distributions.ipynb +292 -0
- vbi-0.3/docs/examples/executed_notebooks/__jax/wilson_cowan.py +0 -0
- vbi-0.3/docs/examples/executed_notebooks/__jax/ww.py +0 -0
- vbi-0.3/docs/examples/executed_notebooks/damp_oscillator_cde_executed.ipynb +7758 -0
- vbi-0.3/docs/examples/executed_notebooks/damp_oscillator_executed.ipynb +2349 -0
- vbi-0.3/docs/examples/executed_notebooks/distributions_executed.ipynb +340 -0
- vbi-0.3/docs/examples/executed_notebooks/ghb_sde_cupy_executed.ipynb +1826 -0
- vbi-0.3/docs/examples/executed_notebooks/intro_executed.ipynb +3508 -0
- vbi-0.3/docs/examples/executed_notebooks/intro_feature_executed.ipynb +529 -0
- vbi-0.3/docs/examples/executed_notebooks/jansen_rit_sde_cpp_executed.ipynb +3305 -0
- vbi-0.3/docs/examples/executed_notebooks/jansen_rit_sde_cupy_executed.ipynb +2720 -0
- vbi-0.3/docs/examples/executed_notebooks/jansen_rit_sde_numba_executed.ipynb +6702 -0
- vbi-0.3/docs/examples/executed_notebooks/mpr_multi_gpu.py +631 -0
- vbi-0.3/docs/examples/executed_notebooks/mpr_sde_cpp_executed.ipynb +283 -0
- vbi-0.3/docs/examples/executed_notebooks/mpr_sde_cupy_executed.ipynb +244971 -0
- vbi-0.3/docs/examples/executed_notebooks/mpr_tvbk_executed.ipynb +273 -0
- vbi-0.3/docs/examples/executed_notebooks/vep_sde_cde_84_executed.ipynb +13045 -0
- vbi-0.3/docs/examples/executed_notebooks/vep_sde_executed.ipynb +2478 -0
- vbi-0.3/docs/examples/executed_notebooks/vep_sde_numba_cde_executed.ipynb +7185 -0
- vbi-0.3/docs/examples/executed_notebooks/vep_sde_numba_executed.ipynb +2489 -0
- vbi-0.3/docs/examples/executed_notebooks/wilson_cowan_cupy_executed.ipynb +1340 -0
- vbi-0.3/docs/examples/executed_notebooks/wilson_cowan_sde_numba_executed.ipynb +3388 -0
- vbi-0.3/docs/examples/executed_notebooks/ww_full_sde_cupy_executed.ipynb +29129 -0
- vbi-0.3/docs/examples/executed_notebooks/ww_full_sde_numba_executed.ipynb +2444 -0
- vbi-0.3/docs/examples/executed_notebooks/ww_sde_torch_kong_executed.ipynb +2867 -0
- vbi-0.3/docs/examples/ghb_sde_cupy.ipynb +184 -0
- {vbi-0.2.1 → vbi-0.3}/docs/examples/intro.ipynb +15 -8
- {vbi-0.2.1 → vbi-0.3}/docs/examples/intro_feature.ipynb +72 -49
- vbi-0.3/docs/examples/jansen_rit_sde_cpp.ipynb +444 -0
- {vbi-0.2.1 → vbi-0.3}/docs/examples/jansen_rit_sde_cupy.ipynb +23 -63
- vbi-0.3/docs/examples/jansen_rit_sde_numba.ipynb +564 -0
- vbi-0.3/docs/examples/jansen_rit_sde_numba_cde.ipynb +773 -0
- vbi-0.3/docs/examples/mpr_sde_cpp.ipynb +213 -0
- vbi-0.3/docs/examples/mpr_sde_cupy.ipynb +391 -0
- vbi-0.3/docs/examples/mpr_sde_numba.ipynb +936 -0
- vbi-0.3/docs/examples/mpr_sde_numba_cde.ipynb +1093 -0
- {vbi-0.2.1 → vbi-0.3}/docs/examples/mpr_tvbk.ipynb +1 -1
- vbi-0.3/docs/examples/output/damp_oscillator_ts.jpeg +0 -0
- vbi-0.3/docs/examples/output/vep_sde_numba_cde_84_/auc.npz +0 -0
- vbi-0.3/docs/examples/output/vep_sde_numba_cde_84_/auc_observed_vs_predicted.png +0 -0
- vbi-0.3/docs/examples/output/vep_sde_numba_cde_84_/data.npz +0 -0
- vbi-0.3/docs/examples/output/vep_sde_numba_cde_84_/data_ppc.npz +0 -0
- vbi-0.3/docs/examples/output/vep_sde_numba_cde_84_/data_xo.npz +0 -0
- vbi-0.3/docs/examples/output/vep_sde_numba_cde_84_/observed_vs_predicted.png +0 -0
- vbi-0.3/docs/examples/output/vep_sde_numba_cde_84_/posterior.pkl +0 -0
- vbi-0.3/docs/examples/output/vep_sde_numba_cde_84_/shrinkage_zscore.npz +0 -0
- vbi-0.3/docs/examples/output/vep_sde_numba_cde_84_/triangleplot.jpeg +0 -0
- vbi-0.3/docs/examples/output/wilson_cowan_sde_numba_cde_/simulated_data.npz +0 -0
- vbi-0.3/docs/examples/output/ww_full_numba_cde_/G_exc_posterior.png +0 -0
- vbi-0.3/docs/examples/output/ww_full_numba_cde_/data_obs.npz +0 -0
- vbi-0.3/docs/examples/output/ww_full_numba_cde_/dataframe_X.pkl +0 -0
- vbi-0.3/docs/examples/output/ww_full_numba_cde_/df_obs.csv +2 -0
- vbi-0.3/docs/examples/output/ww_full_numba_cde_/remained_columns.csv +28 -0
- vbi-0.3/docs/examples/output/ww_full_numba_cde_/samples.npz +0 -0
- vbi-0.3/docs/examples/output/ww_full_numba_cde_/training_data.npz +0 -0
- vbi-0.3/docs/examples/run_notebooks.sh +125 -0
- vbi-0.3/docs/examples/vep_sde.ipynb +562 -0
- {vbi-0.2.1 → vbi-0.3}/docs/examples/vep_sde_numba.ipynb +42 -49
- vbi-0.3/docs/examples/vep_sde_numba_cde.ipynb +510 -0
- vbi-0.3/docs/examples/vep_sde_numba_cde_84.ipynb +780 -0
- vbi-0.3/docs/examples/wilson_cowan_cupy.ipynb +409 -0
- {vbi-0.2.1 → vbi-0.3}/docs/examples/wilson_cowan_sde_numba.ipynb +28 -155
- vbi-0.3/docs/examples/wilson_cowan_sde_numba_cde.ipynb +1120 -0
- {vbi-0.2.1 → vbi-0.3}/docs/examples/ww_full_sde_cupy.ipynb +19 -71
- {vbi-0.2.1 → vbi-0.3}/docs/examples/ww_full_sde_numba.ipynb +6 -22
- vbi-0.3/docs/examples/ww_full_sde_numba_cde.ipynb +861 -0
- vbi-0.3/docs/examples/ww_sde_torch_kong.ipynb +139 -0
- vbi-0.3/docs/examples_overview.rst +119 -0
- vbi-0.3/docs/index.rst +147 -0
- vbi-0.3/docs/inference_cde_maf_basic.rst +98 -0
- vbi-0.3/docs/inference_cde_mdn_basic.rst +72 -0
- vbi-0.3/docs/inference_examples.rst +150 -0
- vbi-0.3/docs/installation.rst +194 -0
- {vbi-0.2.1 → vbi-0.3}/docs/models.rst +125 -1
- vbi-0.3/docs/publication.rst +144 -0
- vbi-0.3/docs/references.txt +265 -0
- {vbi-0.2.1 → vbi-0.3}/pyproject.toml +60 -42
- vbi-0.3/setup.py +225 -0
- vbi-0.3/vbi/__init__.py +99 -0
- vbi-0.3/vbi/_version.py +1 -0
- vbi-0.3/vbi/cde.py +1135 -0
- vbi-0.3/vbi/dataset/__init__.py +0 -0
- vbi-0.3/vbi/dataset/__pycache__/__init__.cpython-310.pyc +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/feature_extraction/features.py +192 -63
- {vbi-0.2.1 → vbi-0.3}/vbi/feature_extraction/features_settings.py +175 -31
- {vbi-0.2.1 → vbi-0.3}/vbi/feature_extraction/features_utils.py +239 -57
- {vbi-0.2.1 → vbi-0.3}/vbi/feature_extraction/utility.py +10 -2
- vbi-0.3/vbi/inference.py +30 -0
- vbi-0.3/vbi/models/__init__.py +0 -0
- vbi-0.3/vbi/models/cpp/__init__.py +0 -0
- vbi-0.3/vbi/models/cpp/_src/__init__.py +0 -0
- vbi-0.3/vbi/models/cpp/_src/__pycache__/__init__.cpython-310.pyc +0 -0
- vbi-0.3/vbi/models/cpp/_src/__pycache__/do.cpython-310.pyc +0 -0
- vbi-0.3/vbi/models/cpp/_src/__pycache__/jr_sdde.cpython-310.pyc +0 -0
- vbi-0.3/vbi/models/cpp/_src/__pycache__/jr_sde.cpython-310.pyc +0 -0
- vbi-0.3/vbi/models/cpp/_src/__pycache__/km_sde.cpython-310.pyc +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/__pycache__/mpr_sde.cpython-310.pyc +0 -0
- vbi-0.3/vbi/models/cpp/_src/__pycache__/vep.cpython-310.pyc +0 -0
- vbi-0.3/vbi/models/cpp/_src/__pycache__/wc_ode.cpython-310.pyc +0 -0
- vbi-0.3/vbi/models/cpp/_src/_do.cpython-310-x86_64-linux-gnu.so +0 -0
- vbi-0.3/vbi/models/cpp/_src/_jr_sdde.cpython-310-x86_64-linux-gnu.so +0 -0
- vbi-0.3/vbi/models/cpp/_src/_jr_sde.cpython-310-x86_64-linux-gnu.so +0 -0
- vbi-0.3/vbi/models/cpp/_src/_km_sde.cpython-310-x86_64-linux-gnu.so +0 -0
- vbi-0.3/vbi/models/cpp/_src/_mpr_sde.cpython-310-x86_64-linux-gnu.so +0 -0
- vbi-0.3/vbi/models/cpp/_src/_vep.cpython-310-x86_64-linux-gnu.so +0 -0
- vbi-0.3/vbi/models/cpp/_src/_wc_ode.cpython-310-x86_64-linux-gnu.so +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/do.hpp +0 -2
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/jr_sde.hpp +0 -2
- vbi-0.3/vbi/models/cpp/_src/makefile +158 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/mpr_sde.hpp +15 -12
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/utility.hpp +46 -13
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/vep.hpp +4 -3
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/wc_ode.hpp +11 -9
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/damp_oscillator.py +61 -15
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/vep.py +2 -2
- vbi-0.3/vbi/models/cupy/__init__.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cupy/wilson_cowan.py +7 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cupy/ww.py +122 -6
- vbi-0.3/vbi/models/numba/damp_oscillator.py +477 -0
- vbi-0.3/vbi/models/numba/ghb.py +449 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/numba/jansen_rit.py +113 -3
- vbi-0.3/vbi/models/numba/mpr.py +747 -0
- vbi-0.3/vbi/models/numba/vep.py +545 -0
- vbi-0.3/vbi/models/numba/wilson_cowan.py +817 -0
- vbi-0.3/vbi/models/numba/ww.py +1009 -0
- vbi-0.3/vbi/models/pytorch/__init__.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/pytorch/ww_sde_kong.py +17 -11
- vbi-0.3/vbi/optional_deps.py +131 -0
- vbi-0.3/vbi/papers/__init__.py +0 -0
- vbi-0.3/vbi/plot.py +553 -0
- vbi-0.3/vbi/sbi_inference.py +171 -0
- vbi-0.3/vbi/tests/COVERAGE_README.md +198 -0
- vbi-0.3/vbi/tests/README.md +105 -0
- vbi-0.3/vbi/tests/__init__.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/tests/_test_mpr_nb.py +9 -2
- vbi-0.3/vbi/tests/coverage_checker.py +375 -0
- vbi-0.3/vbi/tests/pytest.ini +6 -0
- vbi-0.3/vbi/tests/quick_coverage.py +226 -0
- vbi-0.3/vbi/tests/run_tests.py +130 -0
- vbi-0.3/vbi/tests/test___init__.py +299 -0
- vbi-0.3/vbi/tests/test_boxuniform.py +509 -0
- vbi-0.3/vbi/tests/test_cde.py +364 -0
- vbi-0.3/vbi/tests/test_cde_estimation.py +429 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/tests/test_features.py +39 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/tests/test_ghb_cupy.py +12 -2
- {vbi-0.2.1 → vbi-0.3}/vbi/tests/test_mpr_cupy.py +12 -2
- {vbi-0.2.1 → vbi-0.3}/vbi/tests/test_mpr_numba.py +3 -0
- vbi-0.3/vbi/tests/test_requirements.txt +7 -0
- vbi-0.3/vbi/tests/test_suite.py +94 -0
- vbi-0.3/vbi/tests/test_utils.py +494 -0
- vbi-0.3/vbi/utils.py +1165 -0
- {vbi-0.2.1 → vbi-0.3/vbi.egg-info}/PKG-INFO +100 -62
- {vbi-0.2.1 → vbi-0.3}/vbi.egg-info/SOURCES.txt +99 -33
- vbi-0.3/vbi.egg-info/not-zip-safe +1 -0
- {vbi-0.2.1 → vbi-0.3}/vbi.egg-info/requires.txt +30 -5
- vbi-0.2.1/.github/workflows/docker-image.yml +0 -51
- vbi-0.2.1/.github/workflows/tests.yml +0 -24
- vbi-0.2.1/.gitignore +0 -45
- vbi-0.2.1/.readthedocs.yaml +0 -19
- vbi-0.2.1/CHANGELOG.md +0 -112
- vbi-0.2.1/CONTRIBUTING.md +0 -64
- vbi-0.2.1/Dockerfile +0 -51
- vbi-0.2.1/docs/API.rst +0 -71
- vbi-0.2.1/docs/examples/.ipynb_checkpoints/intro-checkpoint.ipynb +0 -56
- vbi-0.2.1/docs/examples/do_nb.ipynb +0 -451
- vbi-0.2.1/docs/examples/ghb_sde_cupy.ipynb +0 -206
- vbi-0.2.1/docs/examples/jansen_rit_sde_cpp.ipynb +0 -460
- vbi-0.2.1/docs/examples/jansen_rit_sde_numba.ipynb +0 -587
- vbi-0.2.1/docs/examples/mpr_sde_cpp.ipynb +0 -174
- vbi-0.2.1/docs/examples/mpr_sde_cupy.ipynb +0 -605
- vbi-0.2.1/docs/examples/mpr_sde_numba.ipynb +0 -1020
- vbi-0.2.1/docs/examples/output/damp_oscillator_ts.jpeg +0 -0
- vbi-0.2.1/docs/examples/output/stat_vec.pt +0 -0
- vbi-0.2.1/docs/examples/output/theta.pt +0 -0
- vbi-0.2.1/docs/examples/output/vep/posterior.pkl +0 -0
- vbi-0.2.1/docs/examples/output/vep84/posterior.pkl +0 -0
- vbi-0.2.1/docs/examples/sbi-logs/NPE_C/2025-03-24T17_33_52.754987/events.out.tfevents.1742834032.ziaee.319710.0 +0 -0
- vbi-0.2.1/docs/examples/vep_sde.ipynb +0 -563
- vbi-0.2.1/docs/examples/wilson_cowan_cupy.ipynb +0 -457
- vbi-0.2.1/docs/examples/ww_sde_torch_kong.ipynb +0 -179
- vbi-0.2.1/docs/index.rst +0 -156
- vbi-0.2.1/setup.py +0 -80
- vbi-0.2.1/vbi/__init__.py +0 -37
- vbi-0.2.1/vbi/_version.py +0 -17
- vbi-0.2.1/vbi/inference.py +0 -126
- vbi-0.2.1/vbi/models/cpp/_src/_do.cpython-310-x86_64-linux-gnu.so +0 -0
- vbi-0.2.1/vbi/models/cpp/_src/_jr_sdde.cpython-310-x86_64-linux-gnu.so +0 -0
- vbi-0.2.1/vbi/models/cpp/_src/_jr_sde.cpython-310-x86_64-linux-gnu.so +0 -0
- vbi-0.2.1/vbi/models/cpp/_src/_km_sde.cpython-310-x86_64-linux-gnu.so +0 -0
- vbi-0.2.1/vbi/models/cpp/_src/_mpr_sde.cpython-310-x86_64-linux-gnu.so +0 -0
- vbi-0.2.1/vbi/models/cpp/_src/_vep.cpython-310-x86_64-linux-gnu.so +0 -0
- vbi-0.2.1/vbi/models/cpp/_src/_wc_ode.cpython-310-x86_64-linux-gnu.so +0 -0
- vbi-0.2.1/vbi/models/cpp/_src/makefile +0 -52
- vbi-0.2.1/vbi/models/numba/damp_oscillator.py +0 -162
- vbi-0.2.1/vbi/models/numba/ghb.py +0 -208
- vbi-0.2.1/vbi/models/numba/mpr.py +0 -391
- vbi-0.2.1/vbi/models/numba/vep.py +0 -327
- vbi-0.2.1/vbi/models/numba/wilson_cowan.py +0 -443
- vbi-0.2.1/vbi/models/numba/ww.py +0 -564
- vbi-0.2.1/vbi/models/pytorch/data/input/ROI_sim.mat +0 -0
- vbi-0.2.1/vbi/models/pytorch/data/input/fc_test.csv +0 -68
- vbi-0.2.1/vbi/models/pytorch/data/input/fc_train.csv +0 -68
- vbi-0.2.1/vbi/models/pytorch/data/input/fc_vali.csv +0 -68
- vbi-0.2.1/vbi/models/pytorch/data/input/fcd_test.mat +0 -0
- vbi-0.2.1/vbi/models/pytorch/data/input/fcd_test_high_window.mat +0 -0
- vbi-0.2.1/vbi/models/pytorch/data/input/fcd_test_low_window.mat +0 -0
- vbi-0.2.1/vbi/models/pytorch/data/input/fcd_train.mat +0 -0
- vbi-0.2.1/vbi/models/pytorch/data/input/fcd_vali.mat +0 -0
- vbi-0.2.1/vbi/models/pytorch/data/input/myelin.csv +0 -68
- vbi-0.2.1/vbi/models/pytorch/data/input/rsfc_gradient.csv +0 -68
- vbi-0.2.1/vbi/models/pytorch/data/input/run_label_testset.mat +0 -0
- vbi-0.2.1/vbi/models/pytorch/data/input/sc_test.csv +0 -68
- vbi-0.2.1/vbi/models/pytorch/data/input/sc_train.csv +0 -68
- vbi-0.2.1/vbi/models/pytorch/data/input/sc_vali.csv +0 -68
- vbi-0.2.1/vbi/papers/pavlides_pcb_2015/pavlides.py +0 -211
- vbi-0.2.1/vbi/tests/test_suite.py +0 -19
- vbi-0.2.1/vbi/utils.py +0 -402
- vbi-0.2.1/vbi_log.png +0 -0
- {vbi-0.2.1 → vbi-0.3}/LICENSE +0 -0
- {vbi-0.2.1 → vbi-0.3}/MANIFEST.in +0 -0
- {vbi-0.2.1 → vbi-0.3}/docs/Makefile +0 -0
- {vbi-0.2.1 → vbi-0.3}/docs/_static/Fig1.png +0 -0
- {vbi-0.2.1 → vbi-0.3}/docs/_static/custom.css +0 -0
- {vbi-0.2.1 → vbi-0.3}/docs/_static/vbi_flowchart.png +0 -0
- {vbi-0.2.1 → vbi-0.3}/docs/_static/vbi_log.png +0 -0
- {vbi-0.2.1 → vbi-0.3}/docs/examples/.gitattributes +0 -0
- {vbi-0.2.1 → vbi-0.3}/docs/examples/data/centers.txt +0 -0
- {vbi-0.2.1 → vbi-0.3}/docs/examples/data/centres.txt +0 -0
- {vbi-0.2.1 → vbi-0.3}/docs/examples/data/cortical.txt +0 -0
- {vbi-0.2.1 → vbi-0.3}/docs/examples/data/tract_lengths.txt +0 -0
- {vbi-0.2.1 → vbi-0.3}/docs/examples/data/weights.txt +0 -0
- {vbi-0.2.1 → vbi-0.3}/docs/examples/data/weights1.txt +0 -0
- {vbi-0.2.1 → vbi-0.3}/docs/examples/data/weights_68.txt +0 -0
- {vbi-0.2.1/vbi/dataset → vbi-0.3/docs/examples/executed_notebooks/__jax}/__init__.py +0 -0
- /vbi-0.2.1/vbi/models/__init__.py → /vbi-0.3/docs/examples/executed_notebooks/__jax/damp_oscillator.py +0 -0
- /vbi-0.2.1/vbi/models/cpp/__init__.py → /vbi-0.3/docs/examples/executed_notebooks/__jax/ghb.py +0 -0
- /vbi-0.2.1/vbi/models/cpp/_src/__init__.py → /vbi-0.3/docs/examples/executed_notebooks/__jax/jansen_rit.py +0 -0
- /vbi-0.2.1/vbi/models/cupy/__init__.py → /vbi-0.3/docs/examples/executed_notebooks/__jax/kuramoto.py +0 -0
- /vbi-0.2.1/vbi/models/pytorch/__init__.py → /vbi-0.3/docs/examples/executed_notebooks/__jax/mpr.py +0 -0
- /vbi-0.2.1/vbi/papers/__init__.py → /vbi-0.3/docs/examples/executed_notebooks/__jax/sl.py +0 -0
- /vbi-0.2.1/vbi/tests/__init__.py → /vbi-0.3/docs/examples/executed_notebooks/__jax/vep.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/docs/examples/helpers.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/docs/examples/my_features.json +0 -0
- {vbi-0.2.1 → vbi-0.3}/docs/examples/my_features.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/docs/requirements.txt +0 -0
- {vbi-0.2.1 → vbi-0.3}/setup.cfg +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/dataset/connectivity_84/centers.txt +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/dataset/connectivity_84/centres.txt +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/dataset/connectivity_84/cortical.txt +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/dataset/connectivity_84/tract_lengths.txt +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/dataset/connectivity_84/weights.txt +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/dataset/connectivity_88/Aud_88.txt +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/dataset/connectivity_88/Bold.npz +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/dataset/connectivity_88/Labels.txt +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/dataset/connectivity_88/Region_labels.txt +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/dataset/connectivity_88/tract_lengths.txt +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/dataset/connectivity_88/weights.txt +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/feature_extraction/__init__.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/feature_extraction/calc_features.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/feature_extraction/features.json +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/feature_extraction/infodynamics.jar +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/bold.hpp +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/do.i +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/do.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/do_wrap.cxx +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/jr_sdde.hpp +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/jr_sdde.i +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/jr_sdde.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/jr_sdde_wrap.cxx +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/jr_sde.i +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/jr_sde.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/jr_sde_wrap.cxx +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/km_sde.hpp +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/km_sde.i +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/km_sde.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/km_sde_wrap.cxx +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/mpr_sde.i +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/mpr_sde.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/mpr_sde_wrap.cxx +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/vep.i +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/vep.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/vep_wrap.cxx +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/wc_ode.i +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/wc_ode.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/_src/wc_ode_wrap.cxx +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/jansen_rit.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/km.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/mpr.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cpp/wc.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cupy/bold.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cupy/ghb.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cupy/jansen_rit.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cupy/km.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cupy/mpr.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cupy/mpr_modified_bold.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/cupy/utils.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/numba/__init__.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/pytorch/data/default_parameters.npz +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/pytorch/data/obs_kong0.npz +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/tvbk/__init__.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/tvbk/tvbk_wrapper.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi/models/tvbk/utils.py +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi.egg-info/dependency_links.txt +0 -0
- {vbi-0.2.1 → vbi-0.3}/vbi.egg-info/top_level.txt +0 -0
@@ -1,13 +1,14 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: vbi
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.3
|
4
4
|
Summary: Virtual brain inference.
|
5
5
|
Author-email: Abolfazl Ziaeemehr <a.ziaeemehr@gmail.com>, Meysam Hashemi <meysam.hashemi@gmail.com>, Marmaduke Woodman <marmaduke.woodman@gmail.com>
|
6
|
-
License
|
6
|
+
License: MIT
|
7
7
|
Project-URL: homepage, https://ziaeemehr.github.io/vbi_paper/
|
8
8
|
Project-URL: repository, https://github.com/Ziaeemehr/vbi_paper
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
10
10
|
Classifier: Topic :: Scientific/Engineering :: Information Analysis
|
11
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
11
12
|
Classifier: Operating System :: OS Independent
|
12
13
|
Requires-Python: >=3.8
|
13
14
|
Description-Content-Type: text/markdown
|
@@ -23,14 +24,23 @@ Requires-Dist: nbconvert
|
|
23
24
|
Requires-Dist: matplotlib
|
24
25
|
Requires-Dist: setuptools-scm
|
25
26
|
Requires-Dist: tqdm
|
26
|
-
Requires-Dist:
|
27
|
-
Requires-Dist: torch
|
27
|
+
Requires-Dist: autograd
|
28
28
|
Requires-Dist: parameterized
|
29
29
|
Requires-Dist: scikit-learn
|
30
|
-
Requires-Dist: pycatch22
|
31
30
|
Requires-Dist: pytest
|
32
31
|
Requires-Dist: swig
|
33
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"
|
34
44
|
Provides-Extra: dev
|
35
45
|
Provides-Extra: docs
|
36
46
|
Requires-Dist: sphinx; extra == "docs"
|
@@ -39,17 +49,28 @@ Requires-Dist: nbformat; extra == "docs"
|
|
39
49
|
Requires-Dist: nbsphinx; extra == "docs"
|
40
50
|
Requires-Dist: cloud_sptheme; extra == "docs"
|
41
51
|
Requires-Dist: sphinx_bootstrap_theme; extra == "docs"
|
42
|
-
Provides-Extra: cu
|
43
|
-
Requires-Dist: cupy; extra == "cu"
|
44
52
|
Provides-Extra: all
|
45
|
-
Requires-Dist:
|
53
|
+
Requires-Dist: sbi; extra == "all"
|
54
|
+
Requires-Dist: torch; extra == "all"
|
55
|
+
Requires-Dist: cupy; extra == "all"
|
56
|
+
Requires-Dist: pycatch22; extra == "all"
|
46
57
|
Requires-Dist: sphinx; extra == "all"
|
47
58
|
Requires-Dist: numpydoc; extra == "all"
|
48
59
|
Requires-Dist: nbformat; extra == "all"
|
49
60
|
Requires-Dist: nbsphinx; extra == "all"
|
50
61
|
Requires-Dist: cloud_sptheme; extra == "all"
|
51
62
|
Requires-Dist: sphinx_bootstrap_theme; extra == "all"
|
52
|
-
|
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"
|
53
74
|
Dynamic: license-file
|
54
75
|
|
55
76
|
[](https://github.com/ins-amu/vbi/actions/workflows/tests.yml)
|
@@ -69,75 +90,84 @@ Dynamic: license-file
|
|
69
90
|
</p>
|
70
91
|
|
71
92
|
|
72
|
-
##
|
93
|
+
## Installation
|
94
|
+
|
95
|
+
### Quick Start
|
73
96
|
|
74
97
|
```bash
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
# To skip C++ compilation, use the following environment variable and install from source:
|
87
|
-
SKIP_CPP=1 pip install -e .
|
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
|
88
108
|
```
|
89
109
|
|
90
|
-
|
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
|
91
115
|
|
92
|
-
|
116
|
+
### Using Docker
|
93
117
|
|
94
118
|
```bash
|
95
|
-
|
96
|
-
|
97
|
-
docker run --rm -it -p 8888:8888 ghcr.io/ins-amu/vbi:main
|
119
|
+
# Quick start with pre-built image
|
120
|
+
docker run --rm -it -p 8888:8888 ghcr.io/ins-amu/vbi:main
|
98
121
|
|
99
|
-
|
100
|
-
|
122
|
+
# With GPU support
|
123
|
+
docker run --gpus all --rm -it -p 8888:8888 ghcr.io/ins-amu/vbi:main
|
124
|
+
```
|
101
125
|
|
126
|
+
### Other Installation Methods
|
102
127
|
|
103
|
-
|
104
|
-
|
105
|
-
|
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**
|
106
134
|
|
107
|
-
|
135
|
+
See our comprehensive [Installation Guide](https://vbi.readthedocs.io/latest/installation.html) in the documentation.
|
108
136
|
|
109
|
-
|
137
|
+
### Quick Verification
|
110
138
|
|
111
139
|
```python
|
140
|
+
import vbi
|
141
|
+
vbi.tests()
|
142
|
+
vbi.test_imports()
|
143
|
+
```
|
112
144
|
|
113
|
-
|
114
|
-
vbi.tests()
|
115
|
-
vbi.test_imports()
|
116
|
-
|
117
|
-
|
118
|
-
# Dependency Check
|
119
|
-
#
|
120
|
-
# Package Version Status
|
121
|
-
#━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
122
|
-
# vbi v0.1.3 ✅ Available
|
123
|
-
# numpy 1.24.4 ✅ Available
|
124
|
-
# scipy 1.10.1 ✅ Available
|
125
|
-
# matplotlib 3.7.5 ✅ Available
|
126
|
-
# sbi 0.22.0 ✅ Available
|
127
|
-
# torch 2.4.1+cu121 ✅ Available
|
128
|
-
# cupy 12.3.0 ✅ Available
|
129
|
-
#
|
130
|
-
# Torch GPU available: True
|
131
|
-
# Torch device count: 1
|
132
|
-
# Torch CUDA version: 12.1
|
133
|
-
# CuPy GPU available: True
|
134
|
-
# CuPy device count: 1
|
135
|
-
# CUDA Version: 11.8
|
136
|
-
# Device Name: NVIDIA RTX A5000
|
137
|
-
# Total Memory: 23.68 GB
|
138
|
-
# Compute Capability: 8.6
|
139
|
-
|
145
|
+
**Example output:**
|
140
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
|
141
171
|
|
142
172
|
|
143
173
|
## Feedback and Contributions
|
@@ -145,6 +175,14 @@ To use the Docker image, you can pull it from the GitHub Container Registry and
|
|
145
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!
|
146
176
|
|
147
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
|
+
|
148
186
|
## Citation
|
149
187
|
|
150
188
|
```bibtex
|
{vbi-0.2.1 → vbi-0.3}/README.md
RENAMED
@@ -15,75 +15,84 @@
|
|
15
15
|
</p>
|
16
16
|
|
17
17
|
|
18
|
-
##
|
18
|
+
## Installation
|
19
|
+
|
20
|
+
### Quick Start
|
19
21
|
|
20
22
|
```bash
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
# To skip C++ compilation, use the following environment variable and install from source:
|
33
|
-
SKIP_CPP=1 pip install -e .
|
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
|
34
33
|
```
|
35
34
|
|
36
|
-
|
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
|
37
40
|
|
38
|
-
|
41
|
+
### Using Docker
|
39
42
|
|
40
43
|
```bash
|
41
|
-
|
42
|
-
|
43
|
-
docker run --rm -it -p 8888:8888 ghcr.io/ins-amu/vbi:main
|
44
|
+
# Quick start with pre-built image
|
45
|
+
docker run --rm -it -p 8888:8888 ghcr.io/ins-amu/vbi:main
|
44
46
|
|
45
|
-
|
46
|
-
|
47
|
+
# With GPU support
|
48
|
+
docker run --gpus all --rm -it -p 8888:8888 ghcr.io/ins-amu/vbi:main
|
49
|
+
```
|
47
50
|
|
51
|
+
### Other Installation Methods
|
48
52
|
|
49
|
-
|
50
|
-
|
51
|
-
|
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**
|
52
59
|
|
53
|
-
|
60
|
+
See our comprehensive [Installation Guide](https://vbi.readthedocs.io/latest/installation.html) in the documentation.
|
54
61
|
|
55
|
-
|
62
|
+
### Quick Verification
|
56
63
|
|
57
64
|
```python
|
65
|
+
import vbi
|
66
|
+
vbi.tests()
|
67
|
+
vbi.test_imports()
|
68
|
+
```
|
58
69
|
|
59
|
-
|
60
|
-
vbi.tests()
|
61
|
-
vbi.test_imports()
|
62
|
-
|
63
|
-
|
64
|
-
# Dependency Check
|
65
|
-
#
|
66
|
-
# Package Version Status
|
67
|
-
#━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
68
|
-
# vbi v0.1.3 ✅ Available
|
69
|
-
# numpy 1.24.4 ✅ Available
|
70
|
-
# scipy 1.10.1 ✅ Available
|
71
|
-
# matplotlib 3.7.5 ✅ Available
|
72
|
-
# sbi 0.22.0 ✅ Available
|
73
|
-
# torch 2.4.1+cu121 ✅ Available
|
74
|
-
# cupy 12.3.0 ✅ Available
|
75
|
-
#
|
76
|
-
# Torch GPU available: True
|
77
|
-
# Torch device count: 1
|
78
|
-
# Torch CUDA version: 12.1
|
79
|
-
# CuPy GPU available: True
|
80
|
-
# CuPy device count: 1
|
81
|
-
# CUDA Version: 11.8
|
82
|
-
# Device Name: NVIDIA RTX A5000
|
83
|
-
# Total Memory: 23.68 GB
|
84
|
-
# Compute Capability: 8.6
|
85
|
-
|
70
|
+
**Example output:**
|
86
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
|
87
96
|
|
88
97
|
|
89
98
|
## Feedback and Contributions
|
@@ -91,6 +100,14 @@ To use the Docker image, you can pull it from the GitHub Container Registry and
|
|
91
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!
|
92
101
|
|
93
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
|
+
|
94
111
|
## Citation
|
95
112
|
|
96
113
|
```bibtex
|
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
|