kiranvad / pymecsim Goto Github PK
View Code? Open in Web Editor NEWPython Cyclic Voltammetry Simulator based on MECSim
License: MIT License
Python Cyclic Voltammetry Simulator based on MECSim
License: MIT License
This is simply because the subprocess
call can't locate the MECSIM
binary file
Currently the api involves initiating a mechanism with seperate lists of species and reactions. Species can be obtained from the mechanism. So we change the api to the following:
A = Specie('A', C0=1e-6)
B = Specie('B')
C = Specie('C')
D = Specie('D')
R1 = ChargeTransfer([(A,1),('e',1)],[(B,1)],E0=0.0, ks=1.0e1)
R2 = ChemicalReaction([(B,1),(C,1)],[(A,1),(D,1)], kf=1e8, kb=1e-5)
A reaction now takes tuple of the form (specie, coefficient)
instead of dictionary with {'specie.name':coefficient}
.
A mechanism can now be initiated by just passing the list of reactions as follows:
rxn = [R1, R2]
mech = Mechanism(rxn)
Also few performances issues needs to be addressed:
Line 214 in 2ea3be3
The way the package is set up works only with Linux (this is mainly a drawback from the MECSim). Make this explicit in the installation.
matplotlib
as a dependencysim.solve()
in the readme exampleA declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.