File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed
Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ ngc-learn requires:
32321 ) Python (>=3.10)
33332 ) NumPy (>=1.22.0)
34343 ) SciPy (>=1.7.0)
35- 4 ) ngcsimlib (>=2 .0.0), (visit official page <a href =" https://github.com/NACLab/ngc-sim-lib " >here</a >)
35+ 4 ) ngcsimlib (>=3 .0.0), (visit official page <a href =" https://github.com/NACLab/ngc-sim-lib " >here</a >)
36365 ) JAX (>=0.4.28) (to enable GPU use, make sure to install one of the CUDA variants)
3737<!--
38385) scikit-learn (>=1.3.1) if using `ngclearn.utils.density`
@@ -42,7 +42,7 @@ ngc-learn requires:
4242-->
4343
4444---
45- ngc-learn 3.0.0 and later require Python 3.10 or newer as well as ngcsimlib >=2 .0.0.
45+ ngc-learn 3.0.0 and later require Python 3.10 or newer as well as ngcsimlib >=3 .0.0.
4646ngc-learn's plotting capabilities (routines within ` ngclearn.utils.viz ` ) require
4747Matplotlib (>=3.8.0) and imageio (>=2.31.5) and both plotting and density estimation
4848tools (routines within `` ngclearn.utils.density `` ) will require Scikit-learn (>=0.24.2).
Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ matplotlib>=3.8.0
88jax >= 0.4.28
99jaxlib >= 0.4.28
1010imageio >= 2.31.5
11- ngcsimlib >= 1.0.0
11+ ngcsimlib >= 1.0.1
Original file line number Diff line number Diff line change @@ -68,8 +68,6 @@ essentially probability values:
6868` m ` ($\mathbf{m}_ t$) for the probability of sodium channel subunit activation, and
6969` h ` ($\mathbf{h}_ t$) for the probability of sodium channel subunit inactivation.
7070
71- neurons and muscle cells. It is a continuous-time dynamical system.
72-
7371Formally, the core dynamics of the H-H cell can be written out as follows:
7472
7573$$
Original file line number Diff line number Diff line change @@ -515,10 +515,13 @@ def d_sigmoid(x):
515515 sigm_x = nn .sigmoid (x ) ## pre-compute once
516516 return sigm_x * (1. - sigm_x )
517517
518+ def inverse_sigmoid (x , clip_bound = 0.03 ): ## wrapper call for naming convention ease
519+ return inverse_logistic (x , clip_bound = clip_bound )
520+
518521@jit
519- def inverse_logistic (x , clip_bound = 0.03 ): # 0.03
522+ def inverse_logistic (x , clip_bound = 0.03 ):
520523 """
521- The inverse logistic link - logit function.
524+ The inverse logistic link - the logit function.
522525
523526 Args:
524527 x: data to transform via inverse logistic function
You can’t perform that action at this time.
0 commit comments