Releases: enricozb/python-crn
Releases · enricozb/python-crn
0.1.0a2
A few critical bug fixes:
0 >> rwould be interpreted asReaction(Species('r'), Species('nothing'), instead of the correctReaction(Species('nothing'), Species('r'). That is, the0was always a product when used in a reaction.r + r >> bwould be interpreted asr >> b, since species are keys in adict.
0.1.0a1
Installation Simplification
The StochPy fix necessary to run the stochastic simulation portion of the package now runs automatically when importing crn.
Bug Fixes
Importing stochpy without installing it would quit and not show any error. Now a normal ImportError is raised and shown as expected.
0.1.0a0
Features
- Clean & concise reaction literal syntax
- Deterministic & Stochastic simulations
- Deterministic simulations use initial concentrations
- Stochastic simulations are supported thanks to StochPy, but we only make use of their Direct Solver (aka Gillespie's Method).
- Quick plotting of all species throughout the simulation
- Easy access to each species' time-series
- Function validation using deterministic simulation
- Given a CRN and a function, we can check if the CRN actually computes the provided function (with an arbitrarily small chance of error)
Future Plans
- More fine-tuned/advanced plots
- Specify which species are relevant
- Contour plots
- Add a test suite
- Account for different volumes in stochastic simulations
- Add a simple logic gate submodule for quick composition of analog/discrete logic gates.
- Likely other things I'm forgetting