SigmoidalJansenRitCoupling#
- class brainmass.SigmoidalJansenRitCoupling(x, conn, k=1.0, cmin=0.0, cmax=0.005, midpoint=6.0, r=0.56)#
Sigmoidal Jansen-Rit coupling (TVB
SigmoidalJansenRit, pre-nonlinearity).Applies the Jansen-Rit firing-rate sigmoid to each source before the network sum:
\[ c_i = k \sum_j g_{ij} \, \sigma_{\mathrm{JR}}(x_{D_{ij}}), \qquad \sigma_{\mathrm{JR}}(x) = c_{\min} + \frac{c_{\max} - c_{\min}}{1 + e^{\,r\,(\mathrm{midpoint} - x)}}. \]kis the global coupling strength (TVBG;G ≡ k). The source is whatever the caller prefetches (e.g. the Jansen-Rity1 - y2).- Parameters:
x (
PrefetchDelayAt|PrefetchDelay|Prefetch|Callable) – The (optionally delayed) presynaptic source, shaped(..., N_out, N_in).conn (
Callable|Array|ndarray|bool|number|bool|int|float|complex|Quantity|Param) – Connection matrix(N_out, N_in)or square-flattened(N_out * N_in,).k (
Callable|Array|ndarray|bool|number|bool|int|float|complex|Quantity|Param) – Global coupling strength (TVBG).cmin (
Callable|Array|ndarray|bool|number|bool|int|float|complex|Quantity|Param) – Lower asymptote of the sigmoid.cmax (
Callable|Array|ndarray|bool|number|bool|int|float|complex|Quantity|Param) – Upper asymptote of the sigmoid.midpoint (
Callable|Array|ndarray|bool|number|bool|int|float|complex|Quantity|Param) – Half-activation potential.r (
Callable|Array|ndarray|bool|number|bool|int|float|complex|Quantity|Param) – Steepness of the sigmoid.
- Return type:
Any
See also
SigmoidalCouplingpost-nonlinearity sigmoid.
- __init__(x, conn, k=1.0, cmin=0.0, cmax=0.005, midpoint=6.0, r=0.56)[source]#
- Parameters:
x (PrefetchDelayAt | PrefetchDelay | Prefetch | Callable)
conn (Callable | Array | ndarray | bool | number | bool | int | float | complex | Quantity | Param)
k (Callable | Array | ndarray | bool | number | bool | int | float | complex | Quantity | Param)
cmin (Callable | Array | ndarray | bool | number | bool | int | float | complex | Quantity | Param)
cmax (Callable | Array | ndarray | bool | number | bool | int | float | complex | Quantity | Param)
midpoint (Callable | Array | ndarray | bool | number | bool | int | float | complex | Quantity | Param)
r (Callable | Array | ndarray | bool | number | bool | int | float | complex | Quantity | Param)