cuBNM 0.0.6__tar.gz → 0.0.7__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.
- {cubnm-0.0.6/src/cubnm.egg-info → cubnm-0.0.7}/PKG-INFO +5 -2
- cubnm-0.0.7/include/cubnm/bnm.cuh +34 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/bnm.hpp +5 -5
- {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/defines.h +8 -22
- cubnm-0.0.7/include/cubnm/fc.cuh +35 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/models/base.hpp +44 -49
- {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/models/boilerplate.hpp +48 -48
- cubnm-0.0.7/include/cubnm/models/bw.cuh +10 -0
- cubnm-0.0.7/include/cubnm/models/bw.hpp +24 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/models/kuramoto.cuh +2 -2
- {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/models/kuramoto.hpp +5 -5
- {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/models/rww.cuh +2 -2
- {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/models/rww.hpp +42 -42
- {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/models/rwwex.cuh +2 -2
- {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/models/rwwex.hpp +13 -13
- {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/utils.cuh +0 -1
- {cubnm-0.0.6 → cubnm-0.0.7}/pyproject.toml +4 -3
- {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/_version.py +3 -3
- {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/cli.py +1 -2
- {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/cli_parser.py +1 -5
- cubnm-0.0.7/src/cubnm/data/hcp/bold/100206/REST1_LR/ctx_parc-schaefer-100_desc-bold.npz +0 -0
- cubnm-0.0.7/src/cubnm/data/hcp/bold/100206/REST2_LR/ctx_parc-schaefer-100_desc-bold.npz +0 -0
- cubnm-0.0.7/src/cubnm/data/hcp/bold/100307/REST1_LR/ctx_parc-schaefer-100_desc-bold.npz +0 -0
- cubnm-0.0.7/src/cubnm/data/hcp/bold/100307/REST2_LR/ctx_parc-schaefer-100_desc-bold.npz +0 -0
- cubnm-0.0.7/src/cubnm/data/hcp/fc/group-test303/REST/ctx_parc-schaefer-100_desc-fc.npz +0 -0
- cubnm-0.0.7/src/cubnm/data/hcp/fc/group-test303/REST/ctx_parc-schaefer-100_exc-inter_desc-fc.npz +0 -0
- cubnm-0.0.7/src/cubnm/data/hcp/fc/group-train706/REST/ctx_parc-schaefer-100_desc-fc.npz +0 -0
- cubnm-0.0.7/src/cubnm/data/hcp/fc/group-train706/REST/ctx_parc-schaefer-100_exc-inter_desc-fc.npz +0 -0
- cubnm-0.0.7/src/cubnm/data/hcp/fcd/group-test303/REST/ctx_parc-schaefer-100_exc-inter_window-30_step-5_desc-fcdtril.npz +0 -0
- cubnm-0.0.7/src/cubnm/data/hcp/fcd/group-test303/REST/ctx_parc-schaefer-100_window-30_step-5_desc-fcdtril.npz +0 -0
- cubnm-0.0.7/src/cubnm/data/hcp/fcd/group-train706/REST/ctx_parc-schaefer-100_exc-inter_window-30_step-5_desc-fcdtril.npz +0 -0
- cubnm-0.0.7/src/cubnm/data/hcp/fcd/group-train706/REST/ctx_parc-schaefer-100_window-30_step-5_desc-fcdtril.npz +0 -0
- cubnm-0.0.7/src/cubnm/data/hcp/sc/100206/ctx_parc-schaefer-100_desc-length.npz +0 -0
- cubnm-0.0.7/src/cubnm/data/hcp/sc/100206/ctx_parc-schaefer-100_desc-strength.npz +0 -0
- cubnm-0.0.7/src/cubnm/data/hcp/sc/100307/ctx_parc-schaefer-100_desc-length.npz +0 -0
- cubnm-0.0.7/src/cubnm/data/hcp/sc/100307/ctx_parc-schaefer-100_desc-strength.npz +0 -0
- cubnm-0.0.7/src/cubnm/data/hcp/sc/group-test303/ctx_parc-schaefer-100_desc-length.npz +0 -0
- cubnm-0.0.7/src/cubnm/data/hcp/sc/group-test303/ctx_parc-schaefer-100_desc-strength.npz +0 -0
- cubnm-0.0.7/src/cubnm/data/hcp/sc/group-train706/ctx_parc-schaefer-100_desc-length.npz +0 -0
- cubnm-0.0.7/src/cubnm/data/hcp/sc/group-train706/ctx_parc-schaefer-100_desc-strength.npz +0 -0
- cubnm-0.0.7/src/cubnm/datasets.py +346 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/optimize.py +645 -202
- {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/sim.py +302 -170
- {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/utils.py +32 -30
- {cubnm-0.0.6 → cubnm-0.0.7/src/cubnm.egg-info}/PKG-INFO +5 -2
- {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm.egg-info/SOURCES.txt +20 -49
- {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm.egg-info/requires.txt +4 -1
- {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/bnm.cpp +39 -43
- {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/bnm.cu +165 -516
- {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/core.cpp +31 -23
- {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/fc.cu +27 -27
- {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/models/base.cpp +2 -2
- {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/models/bw.cpp +4 -4
- {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/models/bw.cu +3 -3
- {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/models/kuramoto.cpp +9 -9
- {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/models/kuramoto.cu +8 -8
- {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/models/rww.cpp +22 -27
- {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/models/rww.cu +14 -19
- {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/models/rwwex.cpp +10 -14
- {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/models/rwwex.cu +8 -12
- {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/utils.cu +0 -6
- cubnm-0.0.6/include/cubnm/bnm.cuh +0 -34
- cubnm-0.0.6/include/cubnm/fc.cuh +0 -35
- cubnm-0.0.6/include/cubnm/models/bw.cuh +0 -10
- cubnm-0.0.6/include/cubnm/models/bw.hpp +0 -24
- cubnm-0.0.6/src/cubnm/data/micamics/bold/sub-HC001_ses-01_space-fsnative_atlas-aparc_desc-bold.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/bold/sub-HC001_ses-01_space-fsnative_atlas-glasser360_desc-bold.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/bold/sub-HC001_ses-01_space-fsnative_atlas-schaefer1000_desc-bold.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/bold/sub-HC001_ses-01_space-fsnative_atlas-schaefer100_desc-bold.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/bold/sub-HC001_ses-01_space-fsnative_atlas-schaefer200_desc-bold.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/bold/sub-HC001_ses-01_space-fsnative_atlas-schaefer300_desc-bold.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/bold/sub-HC001_ses-01_space-fsnative_atlas-schaefer400_desc-bold.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/bold/sub-HC001_ses-01_space-fsnative_atlas-schaefer500_desc-bold.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/bold/sub-HC001_ses-01_space-fsnative_atlas-schaefer600_desc-bold.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/bold/sub-HC001_ses-01_space-fsnative_atlas-schaefer700_desc-bold.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/bold/sub-HC001_ses-01_space-fsnative_atlas-schaefer800_desc-bold.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/bold/sub-HC001_ses-01_space-fsnative_atlas-schaefer900_desc-bold.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-aparc_desc-length.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-aparc_norm-mean001_desc-strength.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-glasser360_desc-length.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-glasser360_norm-mean001_desc-strength.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer1000_desc-length.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer1000_norm-mean001_desc-strength.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer100_desc-length.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer100_norm-mean001_desc-strength.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer200_desc-length.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer200_norm-mean001_desc-strength.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer300_desc-length.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer300_norm-mean001_desc-strength.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer400_desc-length.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer400_norm-mean001_desc-strength.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer500_desc-length.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer500_norm-mean001_desc-strength.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer600_desc-length.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer600_norm-mean001_desc-strength.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer700_desc-length.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer700_norm-mean001_desc-strength.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer800_desc-length.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer800_norm-mean001_desc-strength.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer900_desc-length.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/micamics/sc/sub-HC001_ses-01_space-dwinative_atlas-schaefer900_norm-mean001_desc-strength.npz +0 -0
- cubnm-0.0.6/src/cubnm/data/parcellations/lut/lut_aparc_mics.csv +0 -73
- cubnm-0.0.6/src/cubnm/data/parcellations/lut/lut_glasser-360_mics.csv +0 -363
- cubnm-0.0.6/src/cubnm/data/parcellations/lut/lut_schaefer-1000_mics.csv +0 -1003
- cubnm-0.0.6/src/cubnm/data/parcellations/lut/lut_schaefer-100_mics.csv +0 -103
- cubnm-0.0.6/src/cubnm/data/parcellations/lut/lut_schaefer-200_mics.csv +0 -203
- cubnm-0.0.6/src/cubnm/data/parcellations/lut/lut_schaefer-300_mics.csv +0 -303
- cubnm-0.0.6/src/cubnm/data/parcellations/lut/lut_schaefer-400_mics.csv +0 -403
- cubnm-0.0.6/src/cubnm/data/parcellations/lut/lut_schaefer-500_mics.csv +0 -503
- cubnm-0.0.6/src/cubnm/data/parcellations/lut/lut_schaefer-600_mics.csv +0 -603
- cubnm-0.0.6/src/cubnm/data/parcellations/lut/lut_schaefer-700_mics.csv +0 -703
- cubnm-0.0.6/src/cubnm/data/parcellations/lut/lut_schaefer-800_mics.csv +0 -803
- cubnm-0.0.6/src/cubnm/data/parcellations/lut/lut_schaefer-900_mics.csv +0 -903
- cubnm-0.0.6/src/cubnm/data/parcellations/lut/lut_subcortical-cerebellum_mics.csv +0 -49
- cubnm-0.0.6/src/cubnm/datasets.py +0 -338
- {cubnm-0.0.6 → cubnm-0.0.7}/LICENSE +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/MANIFEST.in +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/README.rst +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/cuda_to_hip.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/includes.cuh +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/models/base.cuh +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/models/rww_fic.hpp +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/cubnm/utils.hpp +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_blas.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_blas_types.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_char.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_complex_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_complex_float.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_complex_long_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_float.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_int.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_long.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_long_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_short.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_uchar.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_uint.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_ulong.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_block_ushort.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_bspline.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_bst.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_bst_avl.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_bst_rb.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_bst_types.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_cblas.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_cdf.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_chebyshev.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_check_range.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_combination.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_complex.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_complex_math.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_const.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_const_cgs.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_const_cgsm.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_const_mks.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_const_mksa.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_const_num.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_deriv.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_dft_complex.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_dft_complex_float.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_dht.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_diff.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_eigen.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_errno.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_fft.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_fft_complex.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_fft_complex_float.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_fft_halfcomplex.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_fft_halfcomplex_float.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_fft_real.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_fft_real_float.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_filter.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_fit.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_heapsort.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_histogram.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_histogram2d.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_ieee_utils.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_inline.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_integration.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_interp.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_interp2d.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_linalg.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_machine.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_math.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_char.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_complex_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_complex_float.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_complex_long_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_float.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_int.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_long.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_long_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_short.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_uchar.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_uint.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_ulong.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_matrix_ushort.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_message.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_min.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_minmax.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_mode.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_monte.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_monte_miser.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_monte_plain.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_monte_vegas.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_movstat.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_multifit.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_multifit_nlin.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_multifit_nlinear.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_multilarge.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_multilarge_nlinear.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_multimin.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_multiroots.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_multiset.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_nan.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_ntuple.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_odeiv.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_odeiv2.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permutation.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_char.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_complex_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_complex_float.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_complex_long_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_float.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_int.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_long.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_long_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_char.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_complex_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_complex_float.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_complex_long_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_float.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_int.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_long.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_long_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_short.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_uchar.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_uint.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_ulong.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_matrix_ushort.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_short.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_uchar.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_uint.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_ulong.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_ushort.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_char.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_complex_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_complex_float.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_complex_long_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_float.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_int.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_long.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_long_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_short.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_uchar.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_uint.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_ulong.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_permute_vector_ushort.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_poly.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_pow_int.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_precision.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_qrng.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_randist.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_rng.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_roots.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_rstat.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_airy.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_bessel.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_clausen.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_coulomb.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_coupling.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_dawson.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_debye.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_dilog.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_elementary.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_ellint.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_elljac.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_erf.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_exp.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_expint.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_fermi_dirac.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_gamma.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_gegenbauer.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_hermite.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_hyperg.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_laguerre.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_lambert.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_legendre.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_log.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_mathieu.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_pow_int.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_psi.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_result.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_sincos_pi.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_synchrotron.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_transport.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_trig.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sf_zeta.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_siman.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_char.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_float.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_int.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_long.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_long_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_short.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_uchar.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_uint.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_ulong.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_ushort.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_vector.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_vector_char.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_vector_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_vector_float.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_vector_int.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_vector_long.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_vector_long_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_vector_short.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_vector_uchar.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_vector_uint.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_vector_ulong.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sort_vector_ushort.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spblas.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_specfunc.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_splinalg.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spline.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spline2d.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_char.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_complex_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_complex_float.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_complex_long_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_float.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_int.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_long.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_long_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_short.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_uchar.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_uint.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_ulong.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_spmatrix_ushort.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_statistics.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_statistics_char.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_statistics_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_statistics_float.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_statistics_int.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_statistics_long.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_statistics_long_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_statistics_short.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_statistics_uchar.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_statistics_uint.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_statistics_ulong.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_statistics_ushort.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sum.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_sys.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_test.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_types.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_char.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_complex.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_complex_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_complex_float.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_complex_long_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_float.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_int.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_long.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_long_double.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_short.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_uchar.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_uint.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_ulong.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_vector_ushort.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_version.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_wavelet.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/gsl_wavelet2d.h +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/include/gsl/test_source.c +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/setup.cfg +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/setup.py +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/__init__.py +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/_core.py +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/_setup_opts.py +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/data/maps/ctx_parc-schaefer-100_desc-fcgradient01_zscore.txt +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/data/maps/ctx_parc-schaefer-100_desc-gabaa_zscore.txt +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/data/maps/ctx_parc-schaefer-100_desc-genepc1_zscore.txt +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/data/maps/ctx_parc-schaefer-100_desc-myelinmap_zscore.txt +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/data/maps/ctx_parc-schaefer-100_desc-nmda_zscore.txt +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/data/maps/ctx_parc-schaefer-100_desc-thickness_zscore.txt +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm/data/maps/ctx_parc-schaefer-100_desc-yeo7.txt +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm.egg-info/dependency_links.txt +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm.egg-info/entry_points.txt +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/src/cubnm.egg-info/top_level.txt +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/fc.cpp +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/models/rww_fic.cpp +0 -0
- {cubnm-0.0.6 → cubnm-0.0.7}/src/ext/utils.cpp +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cubnm
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.7
|
|
4
4
|
Summary: A toolbox for brain network modeling on GPUs
|
|
5
5
|
Author-email: Amin Saberi <amnsbr@gmail.com>
|
|
6
6
|
License: BSD 3-Clause License
|
|
@@ -50,12 +50,15 @@ Requires-Dist: numpy<2,>=1.20
|
|
|
50
50
|
Requires-Dist: scipy
|
|
51
51
|
Requires-Dist: pandas
|
|
52
52
|
Requires-Dist: pymoo==0.6
|
|
53
|
-
Requires-Dist: scikit-optimize==0.9
|
|
54
53
|
Requires-Dist: tabulate
|
|
54
|
+
Requires-Dist: matplotlib
|
|
55
|
+
Requires-Dist: seaborn
|
|
55
56
|
Provides-Extra: cupy-cuda11x
|
|
56
57
|
Requires-Dist: cupy-cuda11x; extra == "cupy-cuda11x"
|
|
58
|
+
Requires-Dist: numba; extra == "cupy-cuda11x"
|
|
57
59
|
Provides-Extra: cupy-cuda12x
|
|
58
60
|
Requires-Dist: cupy-cuda12x; extra == "cupy-cuda12x"
|
|
61
|
+
Requires-Dist: numba; extra == "cupy-cuda12x"
|
|
59
62
|
Dynamic: license-file
|
|
60
63
|
|
|
61
64
|
.. image:: https://raw.githubusercontent.com/amnsbr/cubnm/main/docs/_static/logo_text.png
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
#ifndef BNM_CUH
|
|
2
|
+
#define BNM_CUH
|
|
3
|
+
#include "bnm.hpp"
|
|
4
|
+
|
|
5
|
+
typedef void (*GlobalInputKernel)(
|
|
6
|
+
double&, int&,
|
|
7
|
+
const int&, const int&, const int&,
|
|
8
|
+
const int&, int&, int&, double**,
|
|
9
|
+
double**, const bool&, const int&,
|
|
10
|
+
int&, const double&,
|
|
11
|
+
double**, double*
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
__device__ void global_input_cond(
|
|
15
|
+
double& tmp_globalinput, int& k_buff_idx,
|
|
16
|
+
const int& nodes, const int& sim_idx, const int& SC_idx,
|
|
17
|
+
const int& j, int& k, int& buff_idx, double** SC,
|
|
18
|
+
double** SC_dist, const bool& has_delay, const int& max_delay,
|
|
19
|
+
int& curr_delay, const double& velocity,
|
|
20
|
+
double** conn_state_var_hist, double* conn_state_var_1
|
|
21
|
+
);
|
|
22
|
+
|
|
23
|
+
__device__ void global_input_osc(
|
|
24
|
+
double& tmp_globalinput, int& k_buff_idx,
|
|
25
|
+
const int& nodes, const int& sim_idx, const int& SC_idx,
|
|
26
|
+
const int& j, int& k, int& buff_idx, double** SC,
|
|
27
|
+
double** SC_dist, const bool& has_delay, const int& max_delay,
|
|
28
|
+
int& curr_delay, const double& velocity,
|
|
29
|
+
double** conn_state_var_hist, double* conn_state_var_1
|
|
30
|
+
);
|
|
31
|
+
|
|
32
|
+
cudaDeviceProp prop;
|
|
33
|
+
|
|
34
|
+
#endif
|
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
template <typename Model>
|
|
4
4
|
void _run_simulations_cpu(
|
|
5
5
|
double * BOLD_ex_out, double * fc_trils_out, double * fcd_trils_out,
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
double ** global_params, double ** regional_params, double * v_list,
|
|
7
|
+
double * SC, double * SC_dist, BaseModel* m
|
|
8
8
|
);
|
|
9
9
|
|
|
10
10
|
template <typename Model>
|
|
11
11
|
void _init_cpu(BaseModel *m, bool force_reinit);
|
|
12
12
|
|
|
13
13
|
typedef void (*HGlobalInputFunc)(
|
|
14
|
-
|
|
14
|
+
double&, int&,
|
|
15
15
|
const int&, const int&,
|
|
16
|
-
int&, int&,
|
|
16
|
+
int&, int&, double*,
|
|
17
17
|
int*, const bool&, const int&,
|
|
18
|
-
|
|
18
|
+
double*, double*
|
|
19
19
|
);
|
|
20
20
|
|
|
21
21
|
#endif
|
|
@@ -1,25 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
#
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
#define SIN sinf
|
|
10
|
-
#define FMOD fmodf
|
|
11
|
-
#define CUDA_MAX fmaxf
|
|
12
|
-
#define CUDA_MIN fminf
|
|
13
|
-
#else
|
|
14
|
-
typedef double u_real;
|
|
15
|
-
#define EXP exp
|
|
16
|
-
#define POW pow
|
|
17
|
-
#define SQRT sqrt
|
|
18
|
-
#define SIN sin
|
|
19
|
-
#define FMOD fmod
|
|
20
|
-
#define CUDA_MAX max
|
|
21
|
-
#define CUDA_MIN min
|
|
22
|
-
#endif
|
|
1
|
+
#define EXP exp
|
|
2
|
+
#define POW pow
|
|
3
|
+
#define SQRT sqrt
|
|
4
|
+
#define SIN sin
|
|
5
|
+
#define FMOD fmod
|
|
6
|
+
#define CUDA_MAX max
|
|
7
|
+
#define CUDA_MIN min
|
|
8
|
+
|
|
23
9
|
#define PI 3.14159265358979323846
|
|
24
10
|
|
|
25
11
|
#ifndef MAX_NODES_REG
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
__global__ void bold_stats(
|
|
2
|
+
double **mean_bold, double **ssd_bold,
|
|
3
|
+
double **BOLD, int N_SIMS, int nodes,
|
|
4
|
+
int bold_len, int corr_len, int n_vols_remove,
|
|
5
|
+
bool co_launch);
|
|
6
|
+
|
|
7
|
+
__global__ void window_bold_stats(
|
|
8
|
+
double **BOLD, int N_SIMS, int nodes,
|
|
9
|
+
int n_windows, int window_size_1, int *window_starts, int *window_ends,
|
|
10
|
+
double **windows_mean_bold, double **windows_ssd_bold);
|
|
11
|
+
|
|
12
|
+
__global__ void fc(double **fc_trils, double **windows_fc_trils,
|
|
13
|
+
double **BOLD, int N_SIMS, int nodes, int n_pairs, int *pairs_i,
|
|
14
|
+
int *pairs_j, int bold_len, int n_vols_remove,
|
|
15
|
+
int corr_len, double **mean_bold, double **ssd_bold,
|
|
16
|
+
int n_windows, int window_size_1, double **windows_mean_bold, double **windows_ssd_bold,
|
|
17
|
+
int *window_starts, int *window_ends,
|
|
18
|
+
int maxThreadsPerBlock);
|
|
19
|
+
|
|
20
|
+
__global__ void window_fc_stats(
|
|
21
|
+
double **windows_mean_fc, double **windows_ssd_fc,
|
|
22
|
+
double **L_windows_mean_fc, double **L_windows_ssd_fc,
|
|
23
|
+
double **R_windows_mean_fc, double **R_windows_ssd_fc,
|
|
24
|
+
double **windows_fc_trils, int N_SIMS, int n_windows, int n_pairs,
|
|
25
|
+
bool save_hemis, int n_pairs_hemi);
|
|
26
|
+
|
|
27
|
+
__global__ void fcd(
|
|
28
|
+
double **fcd_trils, double **L_fcd_trils, double **R_fcd_trils,
|
|
29
|
+
double **windows_fc_trils,
|
|
30
|
+
double **windows_mean_fc, double **windows_ssd_fc,
|
|
31
|
+
double **L_windows_mean_fc, double **L_windows_ssd_fc,
|
|
32
|
+
double **R_windows_mean_fc, double **R_windows_ssd_fc,
|
|
33
|
+
int N_SIMS, int n_pairs, int n_windows, int n_window_pairs,
|
|
34
|
+
int *window_pairs_i, int *window_pairs_j, int maxThreadsPerBlock,
|
|
35
|
+
bool save_hemis, int n_pairs_hemi);
|
|
@@ -7,8 +7,8 @@ class BaseModel {
|
|
|
7
7
|
public:
|
|
8
8
|
BaseModel(
|
|
9
9
|
int nodes, int N_SIMS, int N_SCs, int BOLD_TR, int states_sampling,
|
|
10
|
-
int time_steps, bool do_delay, int
|
|
11
|
-
|
|
10
|
+
int time_steps, bool do_delay, int sim_seed,
|
|
11
|
+
double dt, double bw_dt
|
|
12
12
|
) : nodes{nodes},
|
|
13
13
|
N_SIMS{N_SIMS},
|
|
14
14
|
N_SCs{N_SCs},
|
|
@@ -16,7 +16,7 @@ public:
|
|
|
16
16
|
states_sampling{states_sampling},
|
|
17
17
|
time_steps{time_steps},
|
|
18
18
|
do_delay{do_delay},
|
|
19
|
-
|
|
19
|
+
sim_seed{sim_seed},
|
|
20
20
|
dt{dt}, // in msec
|
|
21
21
|
bw_dt{bw_dt / 1000.0} // input is in msec, but bw_dt is in seconds in the code
|
|
22
22
|
{
|
|
@@ -31,8 +31,8 @@ public:
|
|
|
31
31
|
|
|
32
32
|
virtual void update(
|
|
33
33
|
int nodes, int N_SIMS, int N_SCs, int BOLD_TR, int states_sampling,
|
|
34
|
-
int time_steps, bool do_delay, int
|
|
35
|
-
|
|
34
|
+
int time_steps, bool do_delay, int sim_seed,
|
|
35
|
+
double dt, double bw_dt
|
|
36
36
|
) {
|
|
37
37
|
this->nodes = nodes;
|
|
38
38
|
this->N_SIMS = N_SIMS;
|
|
@@ -41,7 +41,7 @@ public:
|
|
|
41
41
|
this->states_sampling = states_sampling;
|
|
42
42
|
this->time_steps = time_steps;
|
|
43
43
|
this->do_delay = do_delay;
|
|
44
|
-
this->
|
|
44
|
+
this->sim_seed = sim_seed;
|
|
45
45
|
this->dt = dt; // msec
|
|
46
46
|
this->bw_dt = bw_dt / 1000.0; // input is in msec, but bw_dt is in seconds in the code
|
|
47
47
|
this->set_bold_states_len();
|
|
@@ -53,17 +53,17 @@ public:
|
|
|
53
53
|
// and total matrix size
|
|
54
54
|
bold_len = time_steps / BOLD_TR;
|
|
55
55
|
bold_size = bold_len * nodes;
|
|
56
|
-
BOLD_TR_iters = ((
|
|
56
|
+
BOLD_TR_iters = ((double)BOLD_TR / 1000.0) / bw_dt;
|
|
57
57
|
// states samples length and
|
|
58
58
|
// total matrix size
|
|
59
59
|
states_len = time_steps / states_sampling;
|
|
60
60
|
states_size = states_len * nodes;
|
|
61
|
-
states_sampling_iters = ((
|
|
61
|
+
states_sampling_iters = ((double)states_sampling / 1000.0) / bw_dt;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
virtual void set_loop_iters() {
|
|
65
65
|
// TODO: add checks in Python to make sure they are divisible
|
|
66
|
-
bw_it = ((
|
|
66
|
+
bw_it = ((double)time_steps / 1000.0) / bw_dt;
|
|
67
67
|
inner_it = (bw_dt * 1000) / dt;
|
|
68
68
|
}
|
|
69
69
|
|
|
@@ -71,11 +71,11 @@ public:
|
|
|
71
71
|
virtual void free_cpu_noise();
|
|
72
72
|
|
|
73
73
|
int nodes{0}, N_SIMS{0}, N_SCs{0}, BOLD_TR{0}, states_sampling{0}, time_steps{0},
|
|
74
|
-
|
|
74
|
+
sim_seed{0}, n_pairs{0}, n_windows{0},
|
|
75
75
|
n_window_pairs{0}, bold_len{0}, bold_size{0}, states_len{0}, states_size{0},
|
|
76
76
|
n_vols_remove{0}, n_states_samples_remove{0}, corr_len{0},
|
|
77
77
|
noise_size{0}, noise_repeats{0}, max_delay{0},
|
|
78
|
-
last_nodes{0}, last_time_steps{0},
|
|
78
|
+
last_nodes{0}, last_time_steps{0}, last_sim_seed{0},
|
|
79
79
|
last_noise_time_steps{0},
|
|
80
80
|
bw_it{0}, inner_it{0}, BOLD_TR_iters{0}, states_sampling_iters{0},
|
|
81
81
|
alloc_N_SCs{0}, alloc_N_SIMS{0};
|
|
@@ -84,7 +84,7 @@ public:
|
|
|
84
84
|
bool cpu_initialized{false}, cpu_noise_initialized{false}, modifies_params{false},
|
|
85
85
|
do_delay{false}, co_launch{false}, alloc_states_out{false}, alloc_fc{false},
|
|
86
86
|
alloc_fcd{false};
|
|
87
|
-
|
|
87
|
+
double dt{0.1}, bw_dt{0.001};
|
|
88
88
|
|
|
89
89
|
#ifdef _GPU_ENABLED
|
|
90
90
|
virtual void free_gpu();
|
|
@@ -92,8 +92,8 @@ public:
|
|
|
92
92
|
bool gpu_initialized{false}, gpu_noise_initialized{false};
|
|
93
93
|
#endif
|
|
94
94
|
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
double ***states_out;
|
|
96
|
+
double *noise;
|
|
97
97
|
int **global_out_int;
|
|
98
98
|
bool **global_out_bool;
|
|
99
99
|
int *window_starts, *window_ends;
|
|
@@ -102,10 +102,9 @@ public:
|
|
|
102
102
|
int noise_bw_it;
|
|
103
103
|
#endif
|
|
104
104
|
#ifdef _GPU_ENABLED
|
|
105
|
-
|
|
105
|
+
double **BOLD, **mean_bold, **ssd_bold, **fc_trils, **windows_mean_bold, **windows_ssd_bold,
|
|
106
106
|
**windows_fc_trils, **windows_mean_fc, **windows_ssd_fc, **fcd_trils,
|
|
107
107
|
**d_SC, **d_SC_dist, **d_global_params, **d_regional_params, *d_v_list;
|
|
108
|
-
double **d_fc_trils, **d_fcd_trils;
|
|
109
108
|
int *pairs_i, *pairs_j, *window_pairs_i, *window_pairs_j, *d_SC_indices;
|
|
110
109
|
#endif
|
|
111
110
|
|
|
@@ -122,7 +121,6 @@ public:
|
|
|
122
121
|
bool states_ts{false};
|
|
123
122
|
int noise_time_steps{30000}; // msec
|
|
124
123
|
int progress_interval{500}; // msec; real time interval for updating progress
|
|
125
|
-
bool serial{false};
|
|
126
124
|
};
|
|
127
125
|
|
|
128
126
|
Config base_conf;
|
|
@@ -135,7 +133,7 @@ public:
|
|
|
135
133
|
std::cout << "states_sampling: " << states_sampling << std::endl;
|
|
136
134
|
std::cout << "time_steps: " << time_steps << std::endl;
|
|
137
135
|
std::cout << "do_delay: " << do_delay << std::endl;
|
|
138
|
-
std::cout << "
|
|
136
|
+
std::cout << "sim_seed: " << sim_seed << std::endl;
|
|
139
137
|
std::cout << "exc_interhemispheric: " << base_conf.exc_interhemispheric << std::endl;
|
|
140
138
|
std::cout << "verbose: " << base_conf.verbose << std::endl;
|
|
141
139
|
std::cout << "progress_interval: " << base_conf.progress_interval << std::endl;
|
|
@@ -146,7 +144,6 @@ public:
|
|
|
146
144
|
std::cout << "do_fcd: " << base_conf.do_fcd << std::endl;
|
|
147
145
|
std::cout << "states_ts: " << base_conf.states_ts << std::endl;
|
|
148
146
|
std::cout << "noise_time_steps: " << base_conf.noise_time_steps << std::endl;
|
|
149
|
-
std::cout << "serial: " << base_conf.serial << std::endl;
|
|
150
147
|
}
|
|
151
148
|
|
|
152
149
|
virtual void set_conf(std::map<std::string, std::string> config_map) {
|
|
@@ -156,16 +153,16 @@ public:
|
|
|
156
153
|
virtual void init_gpu(BWConstants bwc, bool force_reinit) = 0;
|
|
157
154
|
virtual void run_simulations_gpu(
|
|
158
155
|
double * BOLD_ex_out, double * fc_trils_out, double * fcd_trils_out,
|
|
159
|
-
|
|
160
|
-
|
|
156
|
+
double ** global_params, double ** regional_params, double * v_list,
|
|
157
|
+
double ** SC, int * SC_indices, double * SC_dist) = 0;
|
|
161
158
|
#endif
|
|
162
159
|
virtual void init_cpu(bool force_reinit) = 0;
|
|
163
160
|
virtual void run_simulations_cpu(
|
|
164
161
|
double * BOLD_ex_out, double * fc_trils_out, double * fcd_trils_out,
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
virtual void prep_params(
|
|
168
|
-
|
|
162
|
+
double ** global_params, double ** regional_params, double * v_list,
|
|
163
|
+
double ** SC, int * SC_indices, double * SC_dist) = 0;
|
|
164
|
+
virtual void prep_params(double ** global_params, double ** regional_params, double * v_list,
|
|
165
|
+
double ** SC, int * SC_indices, double * SC_dist,
|
|
169
166
|
bool ** global_out_bool, int ** global_out_int) {};
|
|
170
167
|
// use if additional modification of parameters is needed (e.g. FIC in rWW)
|
|
171
168
|
// declare getters for some of static variables
|
|
@@ -187,31 +184,31 @@ public:
|
|
|
187
184
|
}
|
|
188
185
|
|
|
189
186
|
virtual void h_init(
|
|
190
|
-
|
|
191
|
-
|
|
187
|
+
double* _state_vars, double* _intermediate_vars,
|
|
188
|
+
double* _global_params, double* _regional_params,
|
|
192
189
|
int* _ext_int, bool* _ext_bool,
|
|
193
190
|
int* _ext_int_shared, bool* _ext_bool_shared
|
|
194
191
|
) = 0;
|
|
195
192
|
virtual void h_step(
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
193
|
+
double* _state_vars, double* _intermediate_vars,
|
|
194
|
+
double* _global_params, double* _regional_params,
|
|
195
|
+
double& tmp_globalinput,
|
|
196
|
+
double* noise, long& noise_idx
|
|
200
197
|
) = 0;
|
|
201
198
|
virtual void _j_post_bw_step(
|
|
202
|
-
|
|
199
|
+
double* _state_vars, double* _intermediate_vars,
|
|
203
200
|
int* _ext_int, bool* _ext_bool,
|
|
204
201
|
int* _ext_int_shared, bool* _ext_bool_shared,
|
|
205
202
|
bool& restart,
|
|
206
|
-
|
|
203
|
+
double* _global_params, double* _regional_params,
|
|
207
204
|
int& ts_bold
|
|
208
205
|
) {};
|
|
209
206
|
virtual void h_post_bw_step(
|
|
210
|
-
|
|
207
|
+
double** _state_vars, double** _intermediate_vars,
|
|
211
208
|
int** _ext_int, bool** _ext_bool,
|
|
212
209
|
int* _ext_int_shared, bool* _ext_bool_shared,
|
|
213
210
|
bool& restart,
|
|
214
|
-
|
|
211
|
+
double* _global_params, double** _regional_params,
|
|
215
212
|
int& ts_bold
|
|
216
213
|
) {
|
|
217
214
|
for (int j=0; j<this->nodes; j++) {
|
|
@@ -229,14 +226,14 @@ public:
|
|
|
229
226
|
}
|
|
230
227
|
};
|
|
231
228
|
virtual void _j_restart(
|
|
232
|
-
|
|
233
|
-
|
|
229
|
+
double* _state_vars, double* _intermediate_vars,
|
|
230
|
+
double* _global_params, double* _regional_params,
|
|
234
231
|
int* _ext_int, bool* _ext_bool,
|
|
235
232
|
int* _ext_int_shared, bool* _ext_bool_shared
|
|
236
233
|
) {};
|
|
237
234
|
virtual void h_restart(
|
|
238
|
-
|
|
239
|
-
|
|
235
|
+
double** _state_vars, double** _intermediate_vars,
|
|
236
|
+
double* _global_params, double** _regional_params,
|
|
240
237
|
int** _ext_int, bool** _ext_bool,
|
|
241
238
|
int* _ext_int_shared, bool* _ext_bool_shared
|
|
242
239
|
) {
|
|
@@ -250,13 +247,13 @@ public:
|
|
|
250
247
|
}
|
|
251
248
|
};
|
|
252
249
|
virtual void h_post_integration(
|
|
253
|
-
|
|
250
|
+
double ***state_vars_out,
|
|
254
251
|
int **global_out_int, bool **global_out_bool,
|
|
255
|
-
|
|
252
|
+
double* _state_vars, double* _intermediate_vars,
|
|
256
253
|
int* _ext_int, bool* _ext_bool,
|
|
257
254
|
int* _ext_int_shared, bool* _ext_bool_shared,
|
|
258
|
-
|
|
259
|
-
|
|
255
|
+
double** global_params, double** regional_params,
|
|
256
|
+
double* _global_params, double* _regional_params,
|
|
260
257
|
int& sim_idx, const int& nodes, int& j
|
|
261
258
|
) {};
|
|
262
259
|
|
|
@@ -295,8 +292,6 @@ protected:
|
|
|
295
292
|
this->base_conf.noise_time_steps = std::stoi(pair.second);
|
|
296
293
|
} else if (pair.first == "progress_interval") {
|
|
297
294
|
this->base_conf.progress_interval = std::stoi(pair.second);
|
|
298
|
-
} else if (pair.first == "serial") {
|
|
299
|
-
this->base_conf.serial = (bool)std::stoi(pair.second);
|
|
300
295
|
}
|
|
301
296
|
}
|
|
302
297
|
}
|
|
@@ -307,8 +302,8 @@ protected:
|
|
|
307
302
|
template<typename Model>
|
|
308
303
|
extern void _run_simulations_gpu(
|
|
309
304
|
double * BOLD_out, double * fc_trils_out, double * fcd_trils_out,
|
|
310
|
-
|
|
311
|
-
|
|
305
|
+
double ** global_params, double ** regional_params, double * v_list,
|
|
306
|
+
double ** SC, int * SC_indices, double * SC_dist, BaseModel *model
|
|
312
307
|
);
|
|
313
308
|
|
|
314
309
|
template<typename Model>
|
|
@@ -318,8 +313,8 @@ extern void _init_gpu(BaseModel *model, BWConstants bwc, bool force_reinit);
|
|
|
318
313
|
template <typename Model>
|
|
319
314
|
void _run_simulations_cpu(
|
|
320
315
|
double * BOLD_ex_out, double * fc_trils_out, double * fcd_trils_out,
|
|
321
|
-
|
|
322
|
-
|
|
316
|
+
double ** global_params, double ** regional_params, double * v_list,
|
|
317
|
+
double ** SC, int * SC_indices, double * SC_dist, BaseModel* m
|
|
323
318
|
);
|
|
324
319
|
|
|
325
320
|
template <typename Model>
|
|
@@ -39,8 +39,8 @@ In addition for GPU usage the following must be defined in
|
|
|
39
39
|
__constant__ derivedModel::Constants d_derivedc;
|
|
40
40
|
template void _run_simulations_gpu<derivedModel>(
|
|
41
41
|
double*, double*, double*,
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
double**, double**, double*,
|
|
43
|
+
double**, int*, double*,
|
|
44
44
|
BaseModel*
|
|
45
45
|
);
|
|
46
46
|
|
|
@@ -57,8 +57,8 @@ See rWWEx model as a simple example, and rWW as a more complex one.
|
|
|
57
57
|
GLOBAL_PARAMS, REGIONAL_PARAMS, CONN_STATE_VAR_IDX, \
|
|
58
58
|
BOLD_STATE_VAR_IDX, HAS_POST_BW, HAS_POST_INT, IS_OSC, \
|
|
59
59
|
EXT_INT, EXT_BOOL, EXT_INT_SHARED, EXT_BOOL_SHARED, \
|
|
60
|
-
GLOBAL_OUT_INT, GLOBAL_OUT_BOOL,
|
|
61
|
-
REGIONAL_OUT_INT, REGIONAL_OUT_BOOL,
|
|
60
|
+
GLOBAL_OUT_INT, GLOBAL_OUT_BOOL, GLOBAL_OUT_DOUBLE, \
|
|
61
|
+
REGIONAL_OUT_INT, REGIONAL_OUT_BOOL, REGIONAL_OUT_DOUBLE) \
|
|
62
62
|
using BaseModel::BaseModel; \
|
|
63
63
|
~CLASS_NAME() { \
|
|
64
64
|
if (cpu_initialized) { \
|
|
@@ -88,72 +88,72 @@ See rWWEx model as a simple example, and rWW as a more complex one.
|
|
|
88
88
|
static constexpr int n_ext_bool_shared = EXT_BOOL_SHARED; \
|
|
89
89
|
static constexpr int n_global_out_int = GLOBAL_OUT_INT; \
|
|
90
90
|
static constexpr int n_global_out_bool = GLOBAL_OUT_BOOL; \
|
|
91
|
-
static constexpr int
|
|
91
|
+
static constexpr int n_global_out_double = GLOBAL_OUT_DOUBLE; \
|
|
92
92
|
static constexpr int n_regional_out_int = REGIONAL_OUT_INT; \
|
|
93
93
|
static constexpr int n_regional_out_bool = REGIONAL_OUT_BOOL; \
|
|
94
|
-
static constexpr int
|
|
94
|
+
static constexpr int n_regional_out_double = REGIONAL_OUT_DOUBLE; \
|
|
95
95
|
static constexpr bool has_post_bw_step = HAS_POST_BW; \
|
|
96
96
|
static constexpr bool has_post_integration = HAS_POST_INT; \
|
|
97
97
|
static constexpr bool is_osc = IS_OSC; \
|
|
98
98
|
static Constants mc; \
|
|
99
99
|
Config conf; \
|
|
100
|
-
static void init_constants(
|
|
100
|
+
static void init_constants(double dt = 0.1); \
|
|
101
101
|
CUDA_CALLABLE_MEMBER void init( \
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
double* _state_vars, double* _intermediate_vars, \
|
|
103
|
+
double* _global_params, double* _regional_params, \
|
|
104
104
|
int* _ext_int, bool* _ext_bool, \
|
|
105
105
|
int* _ext_int_shared, bool* _ext_bool_shared); \
|
|
106
106
|
CUDA_CALLABLE_MEMBER void step( \
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
107
|
+
double* _state_vars, double* _intermediate_vars, \
|
|
108
|
+
double* _global_params, double* _regional_params, \
|
|
109
|
+
double& tmp_globalinput, \
|
|
110
|
+
double* noise, long& noise_idx); \
|
|
111
111
|
CUDA_CALLABLE_MEMBER void post_bw_step( \
|
|
112
|
-
|
|
112
|
+
double* _state_vars, double* _intermediate_vars, \
|
|
113
113
|
int* _ext_int, bool* _ext_bool, \
|
|
114
114
|
int* _ext_int_shared, bool* _ext_bool_shared, \
|
|
115
115
|
bool& restart, \
|
|
116
|
-
|
|
116
|
+
double* _global_params, double* _regional_params, \
|
|
117
117
|
int& ts_bold); \
|
|
118
118
|
CUDA_CALLABLE_MEMBER void restart( \
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
double* _state_vars, double* _intermediate_vars, \
|
|
120
|
+
double* _global_params, double* _regional_params, \
|
|
121
121
|
int* _ext_int, bool* _ext_bool, \
|
|
122
122
|
int* _ext_int_shared, bool* _ext_bool_shared); \
|
|
123
123
|
CUDA_CALLABLE_MEMBER void post_integration( \
|
|
124
|
-
|
|
124
|
+
double ***state_vars_out, \
|
|
125
125
|
int **global_out_int, bool **global_out_bool, \
|
|
126
|
-
|
|
126
|
+
double* _state_vars, double* _intermediate_vars, \
|
|
127
127
|
int* _ext_int, bool* _ext_bool, \
|
|
128
128
|
int* _ext_int_shared, bool* _ext_bool_shared, \
|
|
129
|
-
|
|
130
|
-
|
|
129
|
+
double** global_params, double** regional_params, \
|
|
130
|
+
double* _global_params, double* _regional_params, \
|
|
131
131
|
int& sim_idx, const int& nodes, int& j); \
|
|
132
132
|
void init_gpu(BWConstants bwc, bool force_reinit) override final { \
|
|
133
133
|
_init_gpu<CLASS_NAME>(this, bwc, force_reinit); \
|
|
134
134
|
} \
|
|
135
135
|
void run_simulations_gpu( \
|
|
136
136
|
double * BOLD_ex_out, double * fc_trils_out, double * fcd_trils_out, \
|
|
137
|
-
|
|
138
|
-
|
|
137
|
+
double ** global_params, double ** regional_params, double * v_list, \
|
|
138
|
+
double ** SC, int * SC_indices, double * SC_dist) override final { \
|
|
139
139
|
_run_simulations_gpu<CLASS_NAME>( \
|
|
140
140
|
BOLD_ex_out, fc_trils_out, fcd_trils_out, \
|
|
141
141
|
global_params, regional_params, v_list, \
|
|
142
142
|
SC, SC_indices, SC_dist, this); \
|
|
143
143
|
} \
|
|
144
144
|
void h_init( \
|
|
145
|
-
|
|
146
|
-
|
|
145
|
+
double* _state_vars, double* _intermediate_vars, \
|
|
146
|
+
double* _global_params, double* _regional_params, \
|
|
147
147
|
int* _ext_int, bool* _ext_bool, \
|
|
148
148
|
int* _ext_int_shared, bool* _ext_bool_shared) override final; \
|
|
149
149
|
void h_step( \
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
150
|
+
double* _state_vars, double* _intermediate_vars, \
|
|
151
|
+
double* _global_params, double* _regional_params, \
|
|
152
|
+
double& tmp_globalinput, \
|
|
153
|
+
double* noise, long& noise_idx) override final; \
|
|
154
154
|
void _j_restart( \
|
|
155
|
-
|
|
156
|
-
|
|
155
|
+
double* _state_vars, double* _intermediate_vars, \
|
|
156
|
+
double* _global_params, double* _regional_params, \
|
|
157
157
|
int* _ext_int, bool* _ext_bool, \
|
|
158
158
|
int* _ext_int_shared, bool* _ext_bool_shared) override final; \
|
|
159
159
|
void init_cpu(bool force_reinit) override final { \
|
|
@@ -161,8 +161,8 @@ See rWWEx model as a simple example, and rWW as a more complex one.
|
|
|
161
161
|
} \
|
|
162
162
|
void run_simulations_cpu( \
|
|
163
163
|
double * BOLD_ex_out, double * fc_trils_out, double * fcd_trils_out, \
|
|
164
|
-
|
|
165
|
-
|
|
164
|
+
double ** global_params, double ** regional_params, double * v_list, \
|
|
165
|
+
double ** SC, int * SC_indices, double * SC_dist) override final { \
|
|
166
166
|
_run_simulations_cpu<CLASS_NAME>( \
|
|
167
167
|
BOLD_ex_out, fc_trils_out, fcd_trils_out, \
|
|
168
168
|
global_params, regional_params, v_list, \
|
|
@@ -191,8 +191,8 @@ See rWWEx model as a simple example, and rWW as a more complex one.
|
|
|
191
191
|
GLOBAL_PARAMS, REGIONAL_PARAMS, CONN_STATE_VAR_IDX, \
|
|
192
192
|
BOLD_STATE_VAR_IDX, HAS_POST_BW, HAS_POST_INT, \
|
|
193
193
|
EXT_INT, EXT_BOOL, EXT_INT_SHARED, EXT_BOOL_SHARED, \
|
|
194
|
-
GLOBAL_OUT_INT, GLOBAL_OUT_BOOL,
|
|
195
|
-
REGIONAL_OUT_INT, REGIONAL_OUT_BOOL,
|
|
194
|
+
GLOBAL_OUT_INT, GLOBAL_OUT_BOOL, GLOBAL_OUT_DOUBLE, \
|
|
195
|
+
REGIONAL_OUT_INT, REGIONAL_OUT_BOOL, REGIONAL_OUT_DOUBLE) \
|
|
196
196
|
using BaseModel::BaseModel; \
|
|
197
197
|
~CLASS_NAME() { \
|
|
198
198
|
if (cpu_initialized) { \
|
|
@@ -216,28 +216,28 @@ See rWWEx model as a simple example, and rWW as a more complex one.
|
|
|
216
216
|
static constexpr int n_ext_bool_shared = EXT_BOOL_SHARED; \
|
|
217
217
|
static constexpr int n_global_out_int = GLOBAL_OUT_INT; \
|
|
218
218
|
static constexpr int n_global_out_bool = GLOBAL_OUT_BOOL; \
|
|
219
|
-
static constexpr int
|
|
219
|
+
static constexpr int n_global_out_double = GLOBAL_OUT_DOUBLE; \
|
|
220
220
|
static constexpr int n_regional_out_int = REGIONAL_OUT_INT; \
|
|
221
221
|
static constexpr int n_regional_out_bool = REGIONAL_OUT_BOOL; \
|
|
222
|
-
static constexpr int
|
|
222
|
+
static constexpr int n_regional_out_double = REGIONAL_OUT_DOUBLE; \
|
|
223
223
|
static constexpr bool has_post_bw_step = HAS_POST_BW; \
|
|
224
224
|
static constexpr bool has_post_integration = HAS_POST_INT; \
|
|
225
225
|
static Constants mc; \
|
|
226
226
|
Config conf; \
|
|
227
|
-
static void init_constants(
|
|
227
|
+
static void init_constants(double dt = 0.1); \
|
|
228
228
|
void h_init( \
|
|
229
|
-
|
|
230
|
-
|
|
229
|
+
double* _state_vars, double* _intermediate_vars, \
|
|
230
|
+
double* _global_params, double* _regional_params, \
|
|
231
231
|
int* _ext_int, bool* _ext_bool, \
|
|
232
232
|
int* _ext_int_shared, bool* _ext_bool_shared) override final; \
|
|
233
233
|
void h_step( \
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
234
|
+
double* _state_vars, double* _intermediate_vars, \
|
|
235
|
+
double* _global_params, double* _regional_params, \
|
|
236
|
+
double& tmp_globalinput, \
|
|
237
|
+
double* noise, long& noise_idx) override final; \
|
|
238
238
|
void _j_restart( \
|
|
239
|
-
|
|
240
|
-
|
|
239
|
+
double* _state_vars, double* _intermediate_vars, \
|
|
240
|
+
double* _global_params, double* _regional_params, \
|
|
241
241
|
int* _ext_int, bool* _ext_bool, \
|
|
242
242
|
int* _ext_int_shared, bool* _ext_bool_shared) override final; \
|
|
243
243
|
void init_cpu(bool force_reinit) override final { \
|
|
@@ -245,8 +245,8 @@ See rWWEx model as a simple example, and rWW as a more complex one.
|
|
|
245
245
|
} \
|
|
246
246
|
void run_simulations_cpu( \
|
|
247
247
|
double * BOLD_ex_out, double * fc_trils_out, double * fcd_trils_out, \
|
|
248
|
-
|
|
249
|
-
|
|
248
|
+
double ** global_params, double ** regional_params, double * v_list, \
|
|
249
|
+
double ** SC, int * SC_indices, double * SC_dist) override final { \
|
|
250
250
|
_run_simulations_cpu<CLASS_NAME>( \
|
|
251
251
|
BOLD_ex_out, fc_trils_out, fcd_trils_out, \
|
|
252
252
|
global_params, regional_params, v_list, \
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
#ifndef BW_HPP
|
|
2
|
+
#define BW_HPP
|
|
3
|
+
struct BWConstants {
|
|
4
|
+
double dt;
|
|
5
|
+
double rho;
|
|
6
|
+
double alpha;
|
|
7
|
+
double tau;
|
|
8
|
+
double y;
|
|
9
|
+
double kappa;
|
|
10
|
+
double V_0;
|
|
11
|
+
double k1;
|
|
12
|
+
double k2;
|
|
13
|
+
double k3;
|
|
14
|
+
double ialpha;
|
|
15
|
+
double itau;
|
|
16
|
+
double oneminrho;
|
|
17
|
+
double dt_itau;
|
|
18
|
+
double V_0_k1;
|
|
19
|
+
double V_0_k2;
|
|
20
|
+
double V_0_k3;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
void init_bw_constants(BWConstants* bwc, double dt = 0.001);
|
|
24
|
+
#endif
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
__constant__ KuramotoModel::Constants d_Kuramotoc;
|
|
5
5
|
template void _run_simulations_gpu<KuramotoModel>(
|
|
6
6
|
double*, double*, double*,
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
double**, double**, double*,
|
|
8
|
+
double**, int*, double*,
|
|
9
9
|
BaseModel*
|
|
10
10
|
);
|
|
11
11
|
|