neuroneq
A GUI-based python tool to visualize equations used in simulated neurons.
Code example
Easily convert from alpha/beta to tau/inf
import matplotlib.pyplot as plt
from neuroneq import ab2inf_tau, fit_inf
import numpy as np
alpha = "((v+45)/10)/(1-exp(-(v+45)/10))"
beta = "4*exp(-(v+70)/18)"
# convert to inf, tau
inf, tau = ab2inf_tau(alpha,beta)
# fit the equation to standard form
fit_equation = fit_inf(inf)
print(fit_equation)
# 1.0/(1.0+(exp((v+44.57)/(-9.55))))
# plot
min_v, max_v = -100, 50
v = np.linspace(float(min_v),float(max_v),2000)
fit_equation_np = fit_equation.replace("exp(","np.exp(")
y = eval(fit_equation_np)
plt.plot(v, y, 'r-',label="fit")
plt.show()
Metadata
Release files for neuroneq 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| neuroneq-0.0.6.tar.gz | 11.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| neuroneq-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.0 kB
Release files / neuroneq-0.0.6.tar.gz
| Download URL | neuroneq-0.0.6.tar.gz |
|---|---|
| Size | 11.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b356ca1d3e61336651c48b77bcadb5178e1ab0173be34036342c20a36d1bc3a
|
|
BLAKE2b-256 checksum How to use checksums |
be3743db98375953b4f29f6f449489949ae46d09fe6b9747883c53a9f25d559e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.7
|
Release files / neuroneq-0.0.6-py3-none-any.whl
| Download URL | neuroneq-0.0.6-py3-none-any.whl |
|---|---|
| Size | 11.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cce361a09bc0f7b2c140eb76aa004024528088ad16a1f57a50bf1fbe973e380c
|
|
BLAKE2b-256 checksum How to use checksums |
a79cdc166e9a93f39c0af480e48d3777cfa2c27f4f387daa2685c3925d203788
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.7
|
Security for neuroneq 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.