This Page
@@ -956,7 +956,7 @@
Navigation
modules |
- previous |
vbjax v0.0.10 documentation »
neural_mass
diff --git a/docs/objects.inv b/docs/objects.inv
index d6e1284..218fa2e 100644
Binary files a/docs/objects.inv and b/docs/objects.inv differ
diff --git a/docs/py-modindex.html b/docs/py-modindex.html
index 91623fe..d8aa38d 100644
--- a/docs/py-modindex.html
+++ b/docs/py-modindex.html
@@ -59,6 +59,11 @@
Python Module Index
examples.00_intro |
|
+
+ |
+
+ examples.01_sweep |
+ |
| | |
|
v | |
diff --git a/docs/searchindex.js b/docs/searchindex.js
index a420dee..059f2af 100644
--- a/docs/searchindex.js
+++ b/docs/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"docnames": ["index", "modules", "tutorial"], "filenames": ["index.rst", "modules.rst", "tutorial.rst"], "titles": ["Welcome to vbjax\u2019s documentation!", "neural_mass", "Examples"], "terms": {"i": [0, 1, 2], "jax": [0, 1, 2], "base": [0, 1], "packag": [0, 1], "work": 0, "virtual": 0, "brain": 0, "style": 0, "model": [0, 2], "pip": 0, "can": [0, 1], "us": [0, 1, 2], "sourc": [0, 1], "git": 0, "clone": 0, "http": 0, "github": 0, "com": 0, "ins": 0, "amu": 0, "cd": 0, "dev": 0, "The": [0, 1, 2], "primari": 0, "addit": [0, 1], "depend": 0, "googl": 0, "which": [0, 2], "itself": 0, "onli": 0, "numpi": [0, 1, 2], "scipi": [0, 1], "opt": [0, 1], "einsum": 0, "so": [0, 1], "should": 0, "safe": 0, "add": [0, 1], "your": 0, "exist": 0, "project": 0, "cuda": 0, "If": [0, 1], "have": 0, "enabl": 0, "gpu": 0, "requisit": 0, "like": 0, "upgrad": 0, "cuda11_pip": 0, "f": 0, "storag": 0, "googleapi": 0, "releas": 0, "jax_cuda_releas": 0, "html": 0, "m1": 0, "m2": 0, "On": 0, "newer": 0, "appl": 0, "machin": 0, "w": [0, 1], "support": [0, 1], "experiment": 0, "just": 0, "two": 0, "extra": [0, 1], "ml": 0, "dtype": [0, 1], "0": [0, 1, 2], "2": [0, 1, 2], "metal": 0, "about": 0, "third": 0, "test": 0, "fail": 0, "due": 0, "absenc": 0, "certain": 0, "oper": [0, 1], "n": [0, 1], "dim": 0, "scatter": [0, 1], "gather": [0, 1], "fft": 0, "mai": 0, "faster": 0, "becaus": 0, "cpu": 0, "alreadi": 0, "excel": 0, "memori": [0, 1], "bandwidth": 0, "latenc": 0, "hide": 0, "BUT": 0, "softwar": 0, "stack": 0, "version": 0, "make": [0, 1], "align": 0, "star": 0, "look": 0, "child": 0, "plai": 0, "contain": [0, 1], "imag": [0, 2], "ar": [0, 2], "avail": 0, "auto": 0, "built": 0, "action": 0, "workflow": 0, "docker": 0, "yml": 0, "run": 0, "rm": 0, "ghcr": 0, "io": 0, "main": 0, "python3": [0, 1], "c": [0, 1, 2], "import": [0, 1, 2], "print": 0, "__version__": 0, "nvidia": 0, "runtim": 0, "all": [0, 1], "enough": 0, "discov": 0, "index": [0, 1], "search": 0, "page": 0, "neural_mass": 0, "boldtheta": [0, 1], "bveptheta": [0, 1], "jrstate": [0, 1], "jrtheta": [0, 1], "mprstate": [0, 1], "mprtheta": [0, 1], "bold_dfun": [0, 1], "bvep_dfun": [0, 1], "compute_bold_theta": [0, 1], "jr_dfun": [0, 1], "mpr_dfun": [0, 1, 2], "monitor": 0, "compute_sarvas_gain": [0, 1], "make_bold": [0, 1], "make_cov": [0, 1], "make_fc": [0, 1], "make_fft": [0, 1], "make_gain": [0, 1], "make_offlin": [0, 1], "make_timeavg": [0, 1], "loop": [0, 2], "heun_step": [0, 1], "make_dd": [0, 1], "make_od": [0, 1], "make_sdd": [0, 1], "make_sd": [0, 1, 2], "connectom": 0, "make_conn_latent_mvnorm": [0, 1], "layer": 0, "make_dense_lay": [0, 1], "spars": 0, "csr_to_jax_bcoo": [0, 1], "make_sg_spmv": [0, 1], "make_spmv": [0, 1], "util": 0, "to_jax": [0, 1], "to_np": [0, 1], "shtlc": 0, "grid_pairwise_dist": [0, 1], "kernel_conv_prep": [0, 1], "kernel_diff": [0, 1], "kernel_dist_origin": [0, 1], "kernel_estimate_shtn": [0, 1], "kernel_gaussian": [0, 1], "kernel_laplac": [0, 1], "kernel_mexican_hat": [0, 1], "kernel_sh_norm": [0, 1], "make_grid": [0, 1], "make_grid_shtn": [0, 1], "make_lm": [0, 1], "make_shtdiff": [0, 1], "make_shtdiff_np": [0, 1], "randn_relax": [0, 1], "class": 1, "vbjax": [1, 2], "tau_": 1, "tau_f": 1, "tau_o": 1, "alpha": 1, "te": 1, "v0": 1, "e0": 1, "epsilon": 1, "nu_0": 1, "r_0": 1, "recip_tau_": 1, "recip_tau_f": 1, "recip_tau_o": 1, "recip_alpha": 1, "recip_e0": 1, "k1": 1, "k2": 1, "k3": 1, "tupl": 1, "alia": 1, "field": 1, "number": 1, "3": 1, "6": 1, "7": 1, "15": 1, "16": 1, "17": 1, "8": 1, "9": 1, "13": 1, "14": 1, "11": 1, "12": 1, "10": 1, "1": [1, 2], "4": 1, "5": 1, "tau0": 1, "i1": 1, "x0": 1, "y0": 1, "y1": 1, "y2": 1, "y3": 1, "y4": 1, "y5": 1, "A": [1, 2], "b": 1, "nu_max": 1, "r": 1, "j": 1, "a_1": 1, "a_2": 1, "a_3": 1, "a_4": 1, "mu": 1, "v": 1, "tau": 1, "delta": 1, "eta": 1, "cr": 1, "cv": 1, "sfvq": 1, "x": [1, 2], "p": [1, 2], "y": 1, "65": 1, "41": 1, "98": 1, "32": [1, 2], "04": 1, "40": 1, "25": 1, "q": 1, "o": [1, 2], "att": 1, "d": 1, "dc": 1, "arrai": 1, "shape": 1, "dt": [1, 2], "bold": 1, "fmri": 1, "period": 1, "gain": 1, "none": 1, "matrix": 1, "suitabl": 1, "seeg": 1, "eeg": 1, "meg": 1, "step_fn": 1, "sample_fn": 1, "arg": 1, "comput": 1, "sampl": [1, 2], "an": 1, "offlin": 1, "batch": 1, "fashion": 1, "time": [1, 2], "averag": 1, "function": [1, 2], "build": 1, "step": [1, 2], "dfun": [1, 2], "heun": 1, "scheme": 1, "state": [1, 2], "right": 1, "hand": 1, "side": 1, "forc": 1, "term": [1, 2], "nh": 1, "unrol": 1, "invok": 1, "gfun": [1, 2], "integr": 1, "autonom": 1, "ordinari": 1, "differenti": [1, 2], "equat": [1, 2], "od": 1, "paramet": [1, 2], "float": 1, "form": 1, "deriv": [1, 2], "return": [1, 2], "t": 1, "take": [1, 2], "one": 1, "accord": 1, "iter": 1, "call": 1, "note": 1, "In": 1, "both": 1, "case": 1, "compat": 1, "set": [1, 2], "provid": 1, "either": 1, "some": 1, "pytre": 1, "structur": 1, "vb": [1, 2], "np": [1, 2], "_": [1, 2], "lambda": 1, "r_": 1, "125": 1, "0625": 1, "float32": 1, "weak_typ": 1, "true": [1, 2], "zero_delai": 1, "fals": [1, 2], "stochast": [1, 2], "delai": 1, "sde": 1, "int": 1, "maximum": 1, "xt": 1, "drift": 1, "coeffici": 1, "diffus": 1, "numer": 1, "valu": 1, "thi": [1, 2], "constant": 1, "linear": 1, "x_t": 1, "z_t": 1, "each": [1, 2], "start": [1, 2], "doe": 1, "normal": 1, "distribut": 1, "nois": [1, 2], "must": 1, "user": 1, "histori": 1, "buffer": 1, "pass": 1, "corrector": 1, "stage": 1, "method": 1, "predictor": 1, "perform": 1, "reason": 1, "unless": 1, "good": 1, "compromis": 1, "zero": 1, "sdde": 1, "ones": 1, "22": 1, "z": [1, 2], "randn": [1, 2], "5093468": 1, "30794007": 1, "07600437": 1, "03876263": 1, "sc": 1, "nc": 1, "return_ful": 1, "latent": 1, "multivari": 1, "over": 1, "nconn": 1, "given": [1, 2], "parcel": 1, "option": 1, "compon": 1, "space": 1, "bool": 1, "whether": 1, "inform": 1, "svd": 1, "u_mean": 1, "array_lik": 1, "mean": 1, "u_cov": 1, "covari": 1, "xfm": 1, "map": 1, "vector": [1, 2], "full": 1, "u": 1, "left": 1, "singular": 1, "correspond": 1, "embed": 1, "": 1, "vt": 1, "nconf": 1, "confus": 1, "induc": 1, "dimension": 1, "reduct": 1, "in_dim": 1, "latent_dim": 1, "out_dim": 1, "init_scl": 1, "extra_in": 1, "act_fn": 1, "pjitfunct": 1, "leaky_relu": 1, "kei": 1, "42": 1, "uint32": 1, "dens": 1, "neural": 1, "network": [1, 2], "size": 1, "csr_matrix": 1, "convert": 1, "csr": 1, "format": [1, 2], "coo": 1, "use_pmap": 1, "shard": 1, "positionalshard": 1, "spmv": 1, "kernel": 1, "gener": [1, 2], "is_symmetr": 1, "use_scipi": 1, "closur": 1, "multipl": 1, "default": 1, "symmetr": 1, "implement": 1, "spase": 1, "multipli": 1, "gradient": 1, "type": 1, "ndarrai": 1, "move": 1, "via": 1, "dlpack": 1, "sht": 1, "local": 1, "coupl": [1, 2], "theta": 1, "phi": 1, "pairwis": 1, "distanc": 1, "grid": 1, "intens": 1, "larg": 1, "k": 1, "prepar": 1, "evalu": 1, "convolut": 1, "l": 1, "shtn": 1, "order": 1, "origin": 1, "estim": 1, "effect": 1, "object": 1, "spatial": 1, "spectral": 1, "gaussian": 1, "laplacian": 1, "mexican": 1, "hat": 1, "nlat": 1, "nlon": 1, "creat": [1, 2], "latitud": 1, "longitud": 1, "lmax": 1, "0004": 1, "return_l": 1, "construct": 1, "diff": 1, "modul": 1, "from": 1, "tng": 1, "anaconda3": 1, "env": 1, "lib": 1, "site": 1, "__init__": 1, "py": [1, 2], "plain": 1, "For": 1, "random": 1, "captur": 1, "exampl": 0, "simpl": 2, "montbrio": 2, "node": 2, "few": 2, "00_intro": 2, "makedir": 2, "exist_ok": 2, "show": 2, "how": 2, "librari": 2, "simul": 2, "defin": 2, "argument": 2, "def": 2, "03": 2, "sum": 2, "axi": 2, "interv": 2, "initi": 2, "condit": 2, "01": 2, "dimes": 2, "first": 2, "remain": 2, "500": 2, "mpr_default_theta": 2, "plot_stat": 2, "plot": 2, "name": 2, "output": 2, "file": 2, "rv": 2, "jpg": 2, "example1": 2}, "objects": {"examples": [[2, 0, 0, "-", "00_intro"]], "vbjax": [[1, 0, 0, "-", "connectome"], [1, 0, 0, "-", "layers"], [1, 0, 0, "-", "loops"], [1, 0, 0, "-", "monitor"], [1, 0, 0, "-", "neural_mass"], [1, 0, 0, "-", "shtlc"], [1, 0, 0, "-", "sparse"], [1, 0, 0, "-", "util"]], "vbjax.connectome": [[1, 1, 1, "", "make_conn_latent_mvnorm"]], "vbjax.layers": [[1, 1, 1, "", "make_dense_layers"]], "vbjax.loops": [[1, 1, 1, "", "heun_step"], [1, 1, 1, "", "make_dde"], [1, 1, 1, "", "make_ode"], [1, 1, 1, "", "make_sdde"], [1, 1, 1, "", "make_sde"]], "vbjax.monitor": [[1, 1, 1, "", "compute_sarvas_gain"], [1, 1, 1, "", "make_bold"], [1, 1, 1, "", "make_cov"], [1, 1, 1, "", "make_fc"], [1, 1, 1, "", "make_fft"], [1, 1, 1, "", "make_gain"], [1, 1, 1, "", "make_offline"], [1, 1, 1, "", "make_timeavg"]], "vbjax.neural_mass": [[1, 2, 1, "", "BOLDTheta"], [1, 2, 1, "", "BVEPTheta"], [1, 2, 1, "", "JRState"], [1, 2, 1, "", "JRTheta"], [1, 2, 1, "", "MPRState"], [1, 2, 1, "", "MPRTheta"], [1, 1, 1, "", "bold_dfun"], [1, 1, 1, "", "bvep_dfun"], [1, 1, 1, "", "compute_bold_theta"], [1, 1, 1, "", "jr_dfun"], [1, 1, 1, "", "mpr_dfun"]], "vbjax.neural_mass.BOLDTheta": [[1, 3, 1, "", "alpha"], [1, 3, 1, "", "e0"], [1, 3, 1, "", "epsilon"], [1, 3, 1, "", "k1"], [1, 3, 1, "", "k2"], [1, 3, 1, "", "k3"], [1, 3, 1, "", "nu_0"], [1, 3, 1, "", "r_0"], [1, 3, 1, "", "recip_alpha"], [1, 3, 1, "", "recip_e0"], [1, 3, 1, "", "recip_tau_f"], [1, 3, 1, "", "recip_tau_o"], [1, 3, 1, "", "recip_tau_s"], [1, 3, 1, "", "tau_f"], [1, 3, 1, "", "tau_o"], [1, 3, 1, "", "tau_s"], [1, 3, 1, "", "te"], [1, 3, 1, "", "v0"]], "vbjax.neural_mass.BVEPTheta": [[1, 3, 1, "", "I1"], [1, 3, 1, "", "tau0"], [1, 3, 1, "", "x0"]], "vbjax.neural_mass.JRState": [[1, 3, 1, "", "y0"], [1, 3, 1, "", "y1"], [1, 3, 1, "", "y2"], [1, 3, 1, "", "y3"], [1, 3, 1, "", "y4"], [1, 3, 1, "", "y5"]], "vbjax.neural_mass.JRTheta": [[1, 3, 1, "", "A"], [1, 3, 1, "", "B"], [1, 3, 1, "", "I"], [1, 3, 1, "", "J"], [1, 3, 1, "", "a"], [1, 3, 1, "", "a_1"], [1, 3, 1, "", "a_2"], [1, 3, 1, "", "a_3"], [1, 3, 1, "", "a_4"], [1, 3, 1, "", "b"], [1, 3, 1, "", "mu"], [1, 3, 1, "", "nu_max"], [1, 3, 1, "", "r"], [1, 3, 1, "", "v0"]], "vbjax.neural_mass.MPRState": [[1, 3, 1, "", "V"], [1, 3, 1, "", "r"]], "vbjax.neural_mass.MPRTheta": [[1, 3, 1, "", "Delta"], [1, 3, 1, "", "I"], [1, 3, 1, "", "J"], [1, 3, 1, "", "cr"], [1, 3, 1, "", "cv"], [1, 3, 1, "", "eta"], [1, 3, 1, "", "tau"]], "vbjax.shtlc": [[1, 1, 1, "", "grid_pairwise_distance"], [1, 1, 1, "", "kernel_conv_prep"], [1, 1, 1, "", "kernel_diff"], [1, 1, 1, "", "kernel_dist_origin"], [1, 1, 1, "", "kernel_estimate_shtns"], [1, 1, 1, "", "kernel_gaussian"], [1, 1, 1, "", "kernel_laplace"], [1, 1, 1, "", "kernel_mexican_hat"], [1, 1, 1, "", "kernel_sh_normalized"], [1, 1, 1, "", "make_grid"], [1, 1, 1, "", "make_grid_shtns"], [1, 1, 1, "", "make_lm"], [1, 1, 1, "", "make_shtdiff"], [1, 1, 1, "", "make_shtdiff_np"], [1, 1, 1, "", "randn_relaxed"]], "vbjax.sparse": [[1, 1, 1, "", "csr_to_jax_bcoo"], [1, 1, 1, "", "make_sg_spmv"], [1, 1, 1, "", "make_spmv"]], "vbjax.util": [[1, 1, 1, "", "to_jax"], [1, 1, 1, "", "to_np"]]}, "objtypes": {"0": "py:module", "1": "py:function", "2": "py:class", "3": "py:attribute"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "function", "Python function"], "2": ["py", "class", "Python class"], "3": ["py", "attribute", "Python attribute"]}, "titleterms": {"welcom": 0, "vbjax": 0, "": 0, "document": 0, "introduct": 0, "instal": 0, "gee": 0, "pee": 0, "you": 0, "tutori": 0, "content": 0, "modul": 0, "neural_mass": 1, "monitor": 1, "loop": 1, "connectom": 1, "layer": 1, "spars": 1, "util": 1, "shtlc": 1, "exampl": 2}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.todo": 2, "sphinx.ext.viewcode": 1, "sphinx": 60}, "alltitles": {"neural_mass": [[1, "module-vbjax.neural_mass"]], "monitor": [[1, "module-vbjax.monitor"]], "loops": [[1, "module-vbjax.loops"]], "connectome": [[1, "module-vbjax.connectome"]], "layers": [[1, "module-vbjax.layers"]], "sparse": [[1, "module-vbjax.sparse"]], "util": [[1, "module-vbjax.util"]], "shtlc": [[1, "module-vbjax.shtlc"]], "Welcome to vbjax\u2019s documentation!": [[0, "welcome-to-vbjax-s-documentation"]], "Introduction": [[0, "introduction"]], "Installation": [[0, "installation"]], "gee pee you": [[0, "gee-pee-you"]], "Tutorial": [[0, "tutorial"]], "Contents:": [[0, null], [0, null]], "Modules": [[0, "modules"]], "Examples": [[2, "module-examples.00_intro"]]}, "indexentries": {"examples.00_intro": [[2, "module-examples.00_intro"]], "module": [[2, "module-examples.00_intro"]]}})
\ No newline at end of file
+Search.setIndex({"docnames": ["index", "modules", "tutorial"], "filenames": ["index.rst", "modules.rst", "tutorial.rst"], "titles": ["Welcome to vbjax\u2019s documentation!", "neural_mass", "Examples"], "terms": {"i": [0, 1, 2], "jax": [0, 1, 2], "base": [0, 1], "packag": [0, 1], "work": 0, "virtual": 0, "brain": 0, "style": 0, "model": [0, 2], "pip": 0, "can": [0, 1], "us": [0, 1, 2], "sourc": [0, 1], "git": 0, "clone": 0, "http": 0, "github": 0, "com": 0, "ins": 0, "amu": 0, "cd": 0, "dev": 0, "The": [0, 1, 2], "primari": 0, "addit": [0, 1], "depend": 0, "googl": 0, "which": [0, 2], "itself": 0, "onli": 0, "numpi": [0, 1, 2], "scipi": [0, 1], "opt": [0, 1], "einsum": 0, "so": [0, 1], "should": 0, "safe": 0, "add": [0, 1], "your": 0, "exist": 0, "project": 0, "cuda": 0, "If": [0, 1, 2], "have": 0, "enabl": 0, "gpu": [0, 2], "requisit": 0, "like": 0, "upgrad": 0, "cuda11_pip": 0, "f": [0, 2], "storag": 0, "googleapi": 0, "releas": 0, "jax_cuda_releas": 0, "html": 0, "m1": 0, "m2": 0, "On": 0, "newer": 0, "appl": 0, "machin": 0, "w": [0, 1, 2], "support": [0, 1], "experiment": 0, "just": [0, 2], "two": 0, "extra": [0, 1], "ml": 0, "dtype": [0, 1], "0": [0, 1, 2], "2": [0, 1, 2], "metal": 0, "about": 0, "third": 0, "test": 0, "fail": 0, "due": 0, "absenc": 0, "certain": 0, "oper": [0, 1], "n": [0, 1], "dim": 0, "scatter": [0, 1], "gather": [0, 1], "fft": 0, "mai": 0, "faster": 0, "becaus": 0, "cpu": [0, 2], "alreadi": 0, "excel": 0, "memori": [0, 1], "bandwidth": 0, "latenc": 0, "hide": 0, "BUT": 0, "softwar": 0, "stack": 0, "version": 0, "make": [0, 1], "align": 0, "star": 0, "look": 0, "child": 0, "plai": 0, "contain": [0, 1], "imag": [0, 2], "ar": [0, 2], "avail": 0, "auto": 0, "built": 0, "action": 0, "workflow": 0, "docker": 0, "yml": 0, "run": [0, 2], "rm": 0, "ghcr": 0, "io": 0, "main": 0, "python3": [0, 1], "c": [0, 1, 2], "import": [0, 1, 2], "print": [0, 2], "__version__": 0, "nvidia": 0, "runtim": 0, "all": [0, 1], "enough": [0, 2], "discov": 0, "exampl": 0, "index": [0, 1], "search": 0, "page": 0, "neural_mass": 0, "boldtheta": [0, 1], "bveptheta": [0, 1], "jrstate": [0, 1], "jrtheta": [0, 1], "mprstate": [0, 1], "mprtheta": [0, 1], "bold_dfun": [0, 1], "bvep_dfun": [0, 1], "compute_bold_theta": [0, 1], "jr_dfun": [0, 1], "mpr_dfun": [0, 1, 2], "monitor": 0, "compute_sarvas_gain": [0, 1], "make_bold": [0, 1], "make_cov": [0, 1], "make_fc": [0, 1], "make_fft": [0, 1], "make_gain": [0, 1], "make_offlin": [0, 1], "make_timeavg": [0, 1], "loop": [0, 2], "heun_step": [0, 1], "make_dd": [0, 1], "make_od": [0, 1], "make_sdd": [0, 1], "make_sd": [0, 1, 2], "connectom": 0, "make_conn_latent_mvnorm": [0, 1], "layer": 0, "make_dense_lay": [0, 1], "spars": 0, "csr_to_jax_bcoo": [0, 1], "make_sg_spmv": [0, 1], "make_spmv": [0, 1], "util": 0, "to_jax": [0, 1], "to_np": [0, 1], "shtlc": 0, "grid_pairwise_dist": [0, 1], "kernel_conv_prep": [0, 1], "kernel_diff": [0, 1], "kernel_dist_origin": [0, 1], "kernel_estimate_shtn": [0, 1], "kernel_gaussian": [0, 1], "kernel_laplac": [0, 1], "kernel_mexican_hat": [0, 1], "kernel_sh_norm": [0, 1], "make_grid": [0, 1], "make_grid_shtn": [0, 1], "make_lm": [0, 1], "make_shtdiff": [0, 1], "make_shtdiff_np": [0, 1], "randn_relax": [0, 1], "class": 1, "vbjax": [1, 2], "tau_": 1, "tau_f": 1, "tau_o": 1, "alpha": 1, "te": 1, "v0": 1, "e0": 1, "epsilon": 1, "nu_0": 1, "r_0": 1, "recip_tau_": 1, "recip_tau_f": 1, "recip_tau_o": 1, "recip_alpha": 1, "recip_e0": 1, "k1": 1, "k2": 1, "k3": 1, "tupl": 1, "alia": 1, "field": 1, "number": [1, 2], "3": [1, 2], "6": [1, 2], "7": [1, 2], "15": 1, "16": 1, "17": 1, "8": [1, 2], "9": [1, 2], "13": 1, "14": 1, "11": 1, "12": 1, "10": 1, "1": [1, 2], "4": [1, 2], "5": 1, "tau0": 1, "i1": 1, "x0": 1, "y0": 1, "y1": 1, "y2": 1, "y3": 1, "y4": 1, "y5": 1, "A": [1, 2], "b": 1, "nu_max": 1, "r": [1, 2], "j": 1, "a_1": 1, "a_2": 1, "a_3": 1, "a_4": 1, "mu": 1, "v": [1, 2], "tau": 1, "delta": 1, "eta": [1, 2], "cr": 1, "cv": 1, "sfvq": 1, "x": [1, 2], "p": [1, 2], "y": 1, "65": 1, "41": 1, "98": 1, "32": [1, 2], "04": 1, "40": 1, "25": 1, "q": 1, "o": [1, 2], "att": 1, "d": 1, "dc": 1, "arrai": 1, "shape": [1, 2], "dt": [1, 2], "bold": 1, "fmri": 1, "period": 1, "gain": 1, "none": 1, "matrix": 1, "suitabl": 1, "seeg": 1, "eeg": 1, "meg": 1, "step_fn": 1, "sample_fn": 1, "arg": 1, "comput": 1, "sampl": [1, 2], "an": 1, "offlin": 1, "batch": [1, 2], "fashion": 1, "time": [1, 2], "averag": 1, "function": [1, 2], "build": 1, "step": [1, 2], "dfun": [1, 2], "heun": 1, "scheme": 1, "state": [1, 2], "right": 1, "hand": 1, "side": 1, "forc": 1, "term": [1, 2], "nh": 1, "unrol": 1, "invok": 1, "gfun": [1, 2], "integr": 1, "autonom": 1, "ordinari": 1, "differenti": [1, 2], "equat": [1, 2], "od": 1, "paramet": [1, 2], "float": 1, "form": 1, "deriv": [1, 2], "return": [1, 2], "t": [1, 2], "take": [1, 2], "one": 1, "accord": 1, "iter": 1, "call": 1, "note": 1, "In": 1, "both": 1, "case": 1, "compat": 1, "set": [1, 2], "provid": 1, "either": 1, "some": 1, "pytre": 1, "structur": 1, "vb": [1, 2], "np": [1, 2], "_": [1, 2], "lambda": 1, "r_": 1, "125": 1, "0625": 1, "float32": 1, "weak_typ": 1, "true": [1, 2], "zero_delai": 1, "fals": [1, 2], "stochast": [1, 2], "delai": 1, "sde": 1, "int": 1, "maximum": 1, "xt": 1, "drift": 1, "coeffici": 1, "diffus": 1, "numer": 1, "valu": [1, 2], "thi": [1, 2], "constant": 1, "linear": 1, "x_t": 1, "z_t": 1, "each": [1, 2], "start": [1, 2], "doe": 1, "normal": 1, "distribut": 1, "nois": [1, 2], "must": 1, "user": 1, "histori": 1, "buffer": 1, "pass": 1, "corrector": 1, "stage": 1, "method": 1, "predictor": 1, "perform": 1, "reason": 1, "unless": 1, "good": 1, "compromis": 1, "zero": 1, "sdde": 1, "ones": [1, 2], "22": 1, "z": [1, 2], "randn": [1, 2], "5093468": 1, "30794007": 1, "07600437": 1, "03876263": 1, "sc": 1, "nc": 1, "return_ful": 1, "latent": 1, "multivari": 1, "over": [1, 2], "nconn": 1, "given": [1, 2], "parcel": 1, "option": 1, "compon": 1, "space": 1, "bool": 1, "whether": 1, "inform": 1, "svd": 1, "u_mean": 1, "array_lik": 1, "mean": 1, "u_cov": 1, "covari": 1, "xfm": 1, "map": 1, "vector": [1, 2], "full": 1, "u": 1, "left": 1, "singular": 1, "correspond": 1, "embed": 1, "": [1, 2], "vt": 1, "nconf": 1, "confus": 1, "induc": 1, "dimension": 1, "reduct": 1, "in_dim": 1, "latent_dim": 1, "out_dim": 1, "init_scl": 1, "extra_in": 1, "act_fn": 1, "pjitfunct": 1, "leaky_relu": 1, "kei": 1, "42": 1, "uint32": 1, "dens": 1, "neural": 1, "network": [1, 2], "size": [1, 2], "csr_matrix": 1, "convert": 1, "csr": 1, "format": [1, 2], "coo": 1, "use_pmap": 1, "shard": 1, "positionalshard": 1, "spmv": 1, "kernel": 1, "gener": [1, 2], "is_symmetr": 1, "use_scipi": 1, "closur": 1, "multipl": 1, "default": 1, "symmetr": 1, "implement": 1, "spase": 1, "multipli": 1, "gradient": 1, "type": 1, "ndarrai": 1, "move": 1, "via": 1, "dlpack": 1, "sht": 1, "local": 1, "coupl": [1, 2], "theta": 1, "phi": 1, "pairwis": 1, "distanc": 1, "grid": [1, 2], "intens": 1, "larg": 1, "k": [1, 2], "prepar": [1, 2], "evalu": 1, "convolut": 1, "l": 1, "shtn": 1, "order": 1, "origin": 1, "estim": 1, "effect": 1, "object": 1, "spatial": 1, "spectral": 1, "gaussian": 1, "laplacian": 1, "mexican": 1, "hat": 1, "nlat": 1, "nlon": 1, "creat": [1, 2], "latitud": 1, "longitud": 1, "lmax": 1, "0004": 1, "return_l": 1, "construct": 1, "diff": 1, "modul": 1, "from": 1, "tng": 1, "anaconda3": 1, "env": 1, "lib": 1, "site": 1, "__init__": 1, "py": [1, 2], "plain": 1, "For": 1, "random": 1, "captur": 1, "simpl": 2, "montbrio": 2, "node": 2, "few": 2, "00_intro": 2, "makedir": 2, "exist_ok": 2, "show": 2, "how": 2, "librari": 2, "simul": 2, "defin": 2, "argument": 2, "def": 2, "03": 2, "sum": 2, "axi": 2, "interv": 2, "initi": 2, "condit": 2, "01": 2, "dimes": 2, "first": 2, "remain": 2, "500": 2, "mpr_default_theta": 2, "plot_stat": 2, "plot": 2, "name": 2, "output": 2, "file": 2, "rv": 2, "jpg": 2, "example1": 2, "consid": 2, "sweep": 2, "Then": 2, "engin": 2, "parallel": 2, "core": 2, "pmap": 2, "otherwis": 2, "vmap": 2, "we": 2, "rest": 2, "result": 2, "01_sweep": 2, "pylab": 2, "pl": 2, "mpr_p": 2, "sigma": 2, "par": 2, "sig": 2, "explor": 2, "_replac": 2, "mpr": 2, "rv0": 2, "sim": 2, "std": 2, "400": 2, "eval": 2, "metric": 2, "done": 2, "n_node": 2, "using_cpu": 2, "local_devic": 2, "platform": 2, "run_batch": 2, "in_ax": 2, "els": 2, "ng": 2, "sig_i": 2, "enumer": 2, "logarithm": 2, "scale": 2, "log_k": 2, "mgrid": 2, "1j": 2, "reshap": 2, "big": 2, "c_": 2, "exp": 2, "ravel": 2, "copi": 2, "expect": 2, "chunk": 2, "transpos": 2, "now": 2, "block_until_readi": 2, "append": 2, "toc": 2, "elaps": 2, "tic": 2, "1f": 2, "figur": 2, "figsiz": 2, "zip": 2, "subplot": 2, "imshow": 2, "vmin": 2, "vmax": 2}, "objects": {"examples": [[2, 0, 0, "-", "00_intro"], [2, 0, 0, "-", "01_sweep"]], "vbjax": [[1, 0, 0, "-", "connectome"], [1, 0, 0, "-", "layers"], [1, 0, 0, "-", "loops"], [1, 0, 0, "-", "monitor"], [1, 0, 0, "-", "neural_mass"], [1, 0, 0, "-", "shtlc"], [1, 0, 0, "-", "sparse"], [1, 0, 0, "-", "util"]], "vbjax.connectome": [[1, 1, 1, "", "make_conn_latent_mvnorm"]], "vbjax.layers": [[1, 1, 1, "", "make_dense_layers"]], "vbjax.loops": [[1, 1, 1, "", "heun_step"], [1, 1, 1, "", "make_dde"], [1, 1, 1, "", "make_ode"], [1, 1, 1, "", "make_sdde"], [1, 1, 1, "", "make_sde"]], "vbjax.monitor": [[1, 1, 1, "", "compute_sarvas_gain"], [1, 1, 1, "", "make_bold"], [1, 1, 1, "", "make_cov"], [1, 1, 1, "", "make_fc"], [1, 1, 1, "", "make_fft"], [1, 1, 1, "", "make_gain"], [1, 1, 1, "", "make_offline"], [1, 1, 1, "", "make_timeavg"]], "vbjax.neural_mass": [[1, 2, 1, "", "BOLDTheta"], [1, 2, 1, "", "BVEPTheta"], [1, 2, 1, "", "JRState"], [1, 2, 1, "", "JRTheta"], [1, 2, 1, "", "MPRState"], [1, 2, 1, "", "MPRTheta"], [1, 1, 1, "", "bold_dfun"], [1, 1, 1, "", "bvep_dfun"], [1, 1, 1, "", "compute_bold_theta"], [1, 1, 1, "", "jr_dfun"], [1, 1, 1, "", "mpr_dfun"]], "vbjax.neural_mass.BOLDTheta": [[1, 3, 1, "", "alpha"], [1, 3, 1, "", "e0"], [1, 3, 1, "", "epsilon"], [1, 3, 1, "", "k1"], [1, 3, 1, "", "k2"], [1, 3, 1, "", "k3"], [1, 3, 1, "", "nu_0"], [1, 3, 1, "", "r_0"], [1, 3, 1, "", "recip_alpha"], [1, 3, 1, "", "recip_e0"], [1, 3, 1, "", "recip_tau_f"], [1, 3, 1, "", "recip_tau_o"], [1, 3, 1, "", "recip_tau_s"], [1, 3, 1, "", "tau_f"], [1, 3, 1, "", "tau_o"], [1, 3, 1, "", "tau_s"], [1, 3, 1, "", "te"], [1, 3, 1, "", "v0"]], "vbjax.neural_mass.BVEPTheta": [[1, 3, 1, "", "I1"], [1, 3, 1, "", "tau0"], [1, 3, 1, "", "x0"]], "vbjax.neural_mass.JRState": [[1, 3, 1, "", "y0"], [1, 3, 1, "", "y1"], [1, 3, 1, "", "y2"], [1, 3, 1, "", "y3"], [1, 3, 1, "", "y4"], [1, 3, 1, "", "y5"]], "vbjax.neural_mass.JRTheta": [[1, 3, 1, "", "A"], [1, 3, 1, "", "B"], [1, 3, 1, "", "I"], [1, 3, 1, "", "J"], [1, 3, 1, "", "a"], [1, 3, 1, "", "a_1"], [1, 3, 1, "", "a_2"], [1, 3, 1, "", "a_3"], [1, 3, 1, "", "a_4"], [1, 3, 1, "", "b"], [1, 3, 1, "", "mu"], [1, 3, 1, "", "nu_max"], [1, 3, 1, "", "r"], [1, 3, 1, "", "v0"]], "vbjax.neural_mass.MPRState": [[1, 3, 1, "", "V"], [1, 3, 1, "", "r"]], "vbjax.neural_mass.MPRTheta": [[1, 3, 1, "", "Delta"], [1, 3, 1, "", "I"], [1, 3, 1, "", "J"], [1, 3, 1, "", "cr"], [1, 3, 1, "", "cv"], [1, 3, 1, "", "eta"], [1, 3, 1, "", "tau"]], "vbjax.shtlc": [[1, 1, 1, "", "grid_pairwise_distance"], [1, 1, 1, "", "kernel_conv_prep"], [1, 1, 1, "", "kernel_diff"], [1, 1, 1, "", "kernel_dist_origin"], [1, 1, 1, "", "kernel_estimate_shtns"], [1, 1, 1, "", "kernel_gaussian"], [1, 1, 1, "", "kernel_laplace"], [1, 1, 1, "", "kernel_mexican_hat"], [1, 1, 1, "", "kernel_sh_normalized"], [1, 1, 1, "", "make_grid"], [1, 1, 1, "", "make_grid_shtns"], [1, 1, 1, "", "make_lm"], [1, 1, 1, "", "make_shtdiff"], [1, 1, 1, "", "make_shtdiff_np"], [1, 1, 1, "", "randn_relaxed"]], "vbjax.sparse": [[1, 1, 1, "", "csr_to_jax_bcoo"], [1, 1, 1, "", "make_sg_spmv"], [1, 1, 1, "", "make_spmv"]], "vbjax.util": [[1, 1, 1, "", "to_jax"], [1, 1, 1, "", "to_np"]]}, "objtypes": {"0": "py:module", "1": "py:function", "2": "py:class", "3": "py:attribute"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "function", "Python function"], "2": ["py", "class", "Python class"], "3": ["py", "attribute", "Python attribute"]}, "titleterms": {"welcom": 0, "vbjax": 0, "": 0, "document": 0, "introduct": 0, "instal": 0, "gee": 0, "pee": 0, "you": 0, "tutori": 0, "content": 0, "modul": 0, "neural_mass": 1, "monitor": 1, "loop": 1, "connectom": 1, "layer": 1, "spars": 1, "util": 1, "shtlc": 1, "exampl": 2}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.todo": 2, "sphinx.ext.viewcode": 1, "sphinx": 60}, "alltitles": {"Welcome to vbjax\u2019s documentation!": [[0, "welcome-to-vbjax-s-documentation"]], "Introduction": [[0, "introduction"]], "Installation": [[0, "installation"]], "gee pee you": [[0, "gee-pee-you"]], "Tutorial": [[0, "tutorial"]], "Contents:": [[0, null], [0, null]], "Modules": [[0, "modules"]], "neural_mass": [[1, "module-vbjax.neural_mass"]], "monitor": [[1, "module-vbjax.monitor"]], "loops": [[1, "module-vbjax.loops"]], "connectome": [[1, "module-vbjax.connectome"]], "layers": [[1, "module-vbjax.layers"]], "sparse": [[1, "module-vbjax.sparse"]], "util": [[1, "module-vbjax.util"]], "shtlc": [[1, "module-vbjax.shtlc"]], "Examples": [[2, "module-examples.00_intro"]]}, "indexentries": {"examples.00_intro": [[2, "module-examples.00_intro"]], "examples.01_sweep": [[2, "module-examples.01_sweep"]], "module": [[2, "module-examples.00_intro"], [2, "module-examples.01_sweep"]]}})
\ No newline at end of file
diff --git a/docs/source/tutorial.rst b/docs/source/tutorial.rst
index b7804b5..1797887 100644
--- a/docs/source/tutorial.rst
+++ b/docs/source/tutorial.rst
@@ -3,5 +3,5 @@ Examples
.. automodule:: examples.00_intro
-
+.. automodule:: examples.01_sweep
diff --git a/docs/tutorial.html b/docs/tutorial.html
index ed0458c..6b3e38e 100644
--- a/docs/tutorial.html
+++ b/docs/tutorial.html
@@ -89,7 +89,105 @@
Navigation