Skip to main content

jaxfne

PyPI Docs License

jaxfne

Tensor-Field Neural Equations (TFNE) expressed as a JAX simulation engine for layer-resolved neural circuits, source operators, field proxies, probes, objectives, and evidence receipts.

Scientific grammar: Emitter → Source → Field → Probe → Objective → Optimizer → Manifest

Execution grammar: CircuitSpec → construct → Model → simulate → Signals

CircuitSpec is a conceptual category (Configuration | NeuronalTensor), not a concrete public production class — construct accepts either a Configuration (original path) or a NeuronalTensor with a RuntimeConfiguration (tensor-first path). It is unrelated to the experimental jaxfne.experimental_hpc.CircuitSpec type, which is not accepted by production construct.

Adaptation (optional HDP family): finite-dimensional hidden biophysical state $H$ and adaptive parameter coordinates $\Theta$ (synaptic and intrinsic), mediated by

$$ \dot X = F_X(X,H,\Theta,U),\quad \dot H = F_H(H,X,\Theta,U),\quad \dot\Theta = F_\Theta(H,X,\Theta). $$

$H$-state is the latent representation; HDP is the adaptive dynamical formulation that uses it. See H-state / HDP guide.

Install

pip install jaxfne
pip install "jaxfne[viz]"   # optional plotting

Development: pip install -e ".[dev,viz]" after cloning.

Minimal example

import jaxfne as jtfne

jtfne.enable_x64()
tensor  = jtfne.load_canonical_neuronal_tensor("canonical-v1-column-1000n")
model   = jtfne.construct(tensor, jtfne.RuntimeConfiguration(seed=0, duration_ms=1000.0, dt_ms=0.5))
signals = jtfne.simulate(model)

Optional: generative development (JDNA)

Instead of loading a fixed tensor, generate one from a PseudoGenome:

genome  = jtfne.load_canonical_pseudogenome("canonical-v1-column-1000n")
tensor  = jtfne.develop(genome, seed=0)   # K_D: development seed
model   = jtfne.construct(tensor, jtfne.RuntimeConfiguration(seed=1, duration_ms=1000.0, dt_ms=0.5))
signals = jtfne.simulate(model)

JDNA is an optional path; the direct Configuration/NeuronalTensor paths remain first-class. See JDNA guide.

JaxFNE composes established neural dynamical models, source/readout operators, and JAX-native execution under the TFNE typed state/map grammar. See TFNE theory and References.

Import convention: import jaxfne as jtfne. Builder paths, paradigms, and optimization: Quickstart.

Relative and calibrated outputs

Simulated quantities are relative by default. Calibrated claims require an explicit transformation with evidence. See Scope & status.

Documentation

Resource Link
Quickstart docs/quickstart.md
Site jaxfne.readthedocs.io
Tutorials docs/tutorials/
Études docs/etudes/
Frozen compatibility contract (0.4.13) docs/public_surface_contract.md
Changelog docs/changelog.md

Citation

CITATION.cff · citation guide

Visual examples

Real package outputs (simulated proxy scaffolds; calibration requires an explicit transformation with evidence): circuit geometry from Model.neuron_table(), a 10 s spike raster, a laminar spectrolaminar readout, and long-timescale firing-rate dynamics with homeostasis on/off. More: showcases.

Circuit geometry
Canonical laminar column — geometry from `neuron_table()`
Spike raster
10 s spike raster — homeostasis on (proxy)
Spectrolaminar readout
Spectrolaminar proxy readout — depth-graded homeostasis
Long-timescale dynamics
Population rate over 10 s — homeostasis off vs on (r*=10 Hz)

Release files for jaxfne 0.4.18

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jaxfne 0.4.18
File Size Uploaded
jaxfne-0.4.18.tar.gz 35.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for jaxfne 0.4.18
File Interpreter ABI Platform
jaxfne-0.4.18-py3-none-any.whl Python 3 none any Details

Total release size: 36.2 MB

Release files / jaxfne-0.4.18.tar.gz

Download URL jaxfne-0.4.18.tar.gz
Size 35.5 MB
Tags Source
SHA-256 checksum
How to use checksums
5ec72722051fb3740f496480ee0e23f0e6e0006b9249840f03d5cb61cd74bd9f
BLAKE2b-256 checksum
How to use checksums
167ce63b6c7028ff61c386b4c946e62688aaa7ff4e52eb231299a752b3fb1c72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 28, 2026.

Transparency log

Release files / jaxfne-0.4.18-py3-none-any.whl

Download URL jaxfne-0.4.18-py3-none-any.whl
Size 688.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eb65ce5b3c57ee409715bf339689fe1dc6cbf85348c77237ff13070970acc1d4
BLAKE2b-256 checksum
How to use checksums
27f37bb1ccaba9568ad4276c907d2015cef4f715893ae2c4688f71a872d22047
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 28, 2026.

Transparency log

Release history Release notifications | RSS feed

0.4.25

2 release files

0.4.24

2 release files

0.4.23

2 release files

0.4.22

2 release files

This release

0.4.18 This release

2 release files

0.4.17

2 release files

0.4.16

2 release files

0.4.15

2 release files

0.4.14

2 release files

0.4.8

2 release files

0.4.7

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.42

2 release files

0.3.41

2 release files

0.3.40

2 release files

0.3.39

2 release files

0.3.37

2 release files

0.3.31

2 release files

0.3.22

2 release files

0.3.21

2 release files

0.3.14

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.2.30

2 release files

0.2.28

2 release files

0.2.18

2 release files

0.2.10

2 release files

0.2.3

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page