Skip to main content

Standalone Python wheels for the EDEN neural simulator

Project description

EDEN Python bindings + wheels

EDEN is a high-performance NeuroML-based neural simulator written in C++. This wheel package contains Python bindings to use the simulator, as well as win32, win_amd64, macosx_x86_64 and manylinux1 standalone builds of the simulator.

Installing

EDEN can be installed with one pip command:

pip install eden-simulator

The only non-pip requirement is for the GNU C compiler, Intel C compiler or Clang to be installed and available on PATH at run time.

Usage

EDEN directly runs NeuroML v2 models of neural networks.

The eden_simulator package exposes the runEden method, which takes the LEMS simulation file of the NeuroML model to be run as parameter:

import eden_simulator
results = eden_simulator.runEden('<LEMS simulation file>.xml')

This interface returns the recorded trajectories specified in the simulation files in a Python dictionary, same as pyNeuroML does with other simulation backends.

Thread-level parallelism can also be controlled with the threads keyword argument.

If other command-line arguments should be added, they can be specified as a list of strings in the optional parameter extra_cmdline_args.
In case a specific instance of the EDEN executable is preferred, it can be selected with the optional parameter executable_path.
Both options can be combined into a fully custom command to be run from Python: it can be passed as a list of strings in the optional parameter full_cmdline.

The recorded trajectories are also available relative to the working directory, as specified in the LEMS file. Some .gen.c and .gen.so temporary files may also be generated in the working directory, these can be removed after the simulation is run.

For more information about the NeuroML model format, refer to http://neuroml.org .

The program's source code is available on GitLab: https://gitlab.com/neurocomputing-lab/Inferior_OliveEMC/eden .

This software is released as open-source, under the GNU General Public License version 3.

If you have any questions, suggestions or issues with running EDEN, please submit a ticket on GitLab, or contact the developer at s.panagiotou@erasmusmc.nl .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

eden_simulator-0.2.2-py3-none-win_amd64.whl (1.0 MB view hashes)

Uploaded Python 3 Windows x86-64

eden_simulator-0.2.2-py3-none-win32.whl (939.3 kB view hashes)

Uploaded Python 3 Windows x86

eden_simulator-0.2.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.3 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ ARMv7l

eden_simulator-0.2.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (592.9 kB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

eden_simulator-0.2.2-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.7 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.5+ x86-64

eden_simulator-0.2.2-py3-none-macosx_11_0_arm64.whl (1.6 MB view hashes)

Uploaded Python 3 macOS 11.0+ ARM64

eden_simulator-0.2.2-py3-none-macosx_10_6_x86_64.whl (1.6 MB view hashes)

Uploaded Python 3 macOS 10.6+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page