ecell / ecell4

An integrated software environment for multi-algorithm, multi-timescale, multi-spatial-representation simulation of various cellular phenomena
https://ecell4.e-cell.org/
GNU General Public License v3.0
17 stars 9 forks source link

Abbreviations #29

Open kaizu opened 6 years ago

kaizu commented 6 years ago

Some names in the ecell4 module seems too long. Give a shorter name.

from ecell4.abbr import *

with attr():
    A | B | C | {'D': 1, 'R': 0.005}

with rules():
    A + B > C | 1.0

run(10.0)
kaizu commented 6 years ago
i3  # Integer3
r3 # Real3
Sp  #  Species? or just enable to use str anywhere
Rule  # ReactionRule?
gil.Simulator  # gillespie.GillespieSimulator
spa.World.add  # spatiocyte.SpatiocyteWorld.add_molecules

Anything else? See also: https://github.com/ecell/ecell4/issues/139