A software platform for modeling, simulation and analysis of complex, heterogeneous and multi-scale systems like the cell. E-Cell has multi-algorithm, multi-timescale and multi-spatial-representation as its central feature.
Project description
=======================
[](https://travis-ci.org/ecell/ecell4-base)
[](https://circleci.com/gh/ecell/ecell4-base)
[](https://ci.appveyor.com/project/kaizu/ecell4)
[](http://ecell4.readthedocs.org/en/latest/?badge=latest)
[](https://pypi.python.org/pypi/ecell)
[](https://github.com/ecell/ecell4-base/blob/master/licenses/LICENSE)
[](https://www.codacy.com/app/ecell/ecell4-base?utm_source=github.com&utm_medium=referral&utm_content=ecell/ecell4-base&utm_campaign=Badge_Grade)
[](https://ecell-project.herokuapp.com/)
<!---[](https://ecell-project.herokuapp.com/)--->
What is E-Cell System?
----------------------
E-Cell System is a software platform for modeling, simulation and analysis of complex, heterogeneous and multi-scale systems like a cell.
E-Cell4 accepts multi-algorithms, multi-timescales and multi-spatial-representations as its central feature.
Features
--------
- Single particle simulations, i.e. [The enhanced Green's Function Reaction Dynamics (eGFRD) method](http://gfrd.org), [Spatiocyte](http://spatiocyte.org) (a lattice-based method), and the Reaction Brownian Dynamics (RBD) method
- Ordinary differential equations, Gillespie algorithm (the direct method), and spatial Gillespie algorithm (the next subvolume method)
- Rule-based modeling
- Python programmable
Try online
----------
You can try this package online from the following links:
<a href="https://notebooks.azure.com/import/gh/ecell/ecell4-base"><img src="https://notebooks.azure.com/launch.png" /></a>
[](https://mybinder.org/v2/gh/ecell/ecell4-base/master)
- Code fragments that depend on ffmpeg will not work with Azure Notebooks. If you use movie export, please try Binder instead.
- If you use Binder, please go down to `ecell4-base-master/readthedocs/tutorials`. or `ecell4-base-master/readthedocs/examples`
- If you use Azure Notebooks, please go down to `readthedocs/tutorials` or `readthedocs/examples`.
Installation
-------------
Please see [INSTALL.md](https://github.com/ecell/ecell4-base/blob/master/INSTALL.md).
Basically you can install E-Cell4 on any OS just by running
```
pip install ecell4
```
Tutorials
----------
Please see [tutorials](https://github.com/ecell/ecell4-base/tree/master/readthedocs/tutorials).
Examples
---------
Please see [examples](https://github.com/ecell/ecell4-base/tree/master/readthedocs/examples).
Simple examples
---------------
Here are two extremely simple examples, See http://ecell4.readthedocs.org for more details on running E-Cell4.
```
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from ecell4.core import *
>>> sp = Species("A.B.C")
>>> print sp.serial()
A.B.C
>>>
```
### Binding and unbinding reactions
```python
%matplotlib inline
from ecell4 import *
with reaction_rules():
A + B == C | (0.01, 0.3)
run_simulation(10, {'A': 60, 'B': 60})
```

### Diffusion on a spherical surface
```python
%matplotlib inline
from ecell4 import *
with species_attributes():
A | {'D': '1', 'location': 'M'}
surface = Sphere(ones() * 0.5, 0.5).surface()
obs = FixedIntervalTrajectoryObserver(1e-4)
run_simulation(
0.4, y0={'A': 10}, structures={'M': surface},
solver='spatiocyte', observers=obs, return_type=None)
viz.plot_trajectory(obs, interactive=False)
```

Citation
========
If this package contributes to a project which leads to a scientific publication, I would appreciate a citation.
[](https://zenodo.org/badge/latestdoi/6348303)
Licensing terms
===============
This product is licensed under the terms of the [GNU General Public License v2](https://github.com/ecell/ecell4/blob/master/licenses/LICENSE),
See [NOTICE](https://github.com/ecell/ecell4/blob/master/licenses/NOTICE.txt) for the software included in this product.
- Copyright (c) 2010-, RIKEN
All rights reserved.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ecell4_base-1.0.0-cp37-cp37m-win_amd64.whl.
File metadata
- Download URL: ecell4_base-1.0.0-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 2.9 MB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5318f7ac98a6ec323e0285b4bc3d5db057a97cf8d2708bea90bc23a5c585cc9
|
|
| MD5 |
4841df1022c3f45a340466c726c611ab
|
|
| BLAKE2b-256 |
018193dde160dcb9b299b4fe5a770f75c51bba852d8d31c85b23559db4954480
|
File details
Details for the file ecell4_base-1.0.0-cp37-cp37m-macosx_10_13_x86_64.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl.
File metadata
- Download URL: ecell4_base-1.0.0-cp37-cp37m-macosx_10_13_x86_64.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
- Upload date:
- Size: 19.5 MB
- Tags: CPython 3.7m, macOS 10.10+ Intel (x86-64, i386), macOS 10.10+ x86-64, macOS 10.13+ x86-64, macOS 10.9+ Intel (x86-64, i386), macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfaa4a669412c1794a0d31a787231855a7e435ed9ea41be1d8ba474cdcae894b
|
|
| MD5 |
453aaeac4173703004ea179f512364e7
|
|
| BLAKE2b-256 |
f4c7286bd46be7ac837c00fedc5dea37cc4dd93dfe4489bed9b5c755966fcbbf
|
File details
Details for the file ecell4_base-1.0.0-cp36-cp36m-manylinux1_x86_64.whl.
File metadata
- Download URL: ecell4_base-1.0.0-cp36-cp36m-manylinux1_x86_64.whl
- Upload date:
- Size: 47.6 MB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34d0709c65489038ac9ea89496d2c5a8bfd81ac80c97048d65ea283bfb56a3da
|
|
| MD5 |
7d0aabc03e2d4061957783cff38ebf2b
|
|
| BLAKE2b-256 |
ef3931f610d66c21d38c4d11f512eb57d32fa7e4e7cb15003a296d6171fd30eb
|
File details
Details for the file ecell4_base-1.0.0-cp35-cp35m-manylinux1_x86_64.whl.
File metadata
- Download URL: ecell4_base-1.0.0-cp35-cp35m-manylinux1_x86_64.whl
- Upload date:
- Size: 47.5 MB
- Tags: CPython 3.5m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a6d3783e325c4b0e3ad781b9031b0bef57754839ebb049edcf5d607a1ab272f
|
|
| MD5 |
8d0ff51dbb4166a601862e071130c355
|
|
| BLAKE2b-256 |
59cb32e41640ede3237ec49aecf6abaf9509562cc87013e5daf40127b660be81
|