-
Notifications
You must be signed in to change notification settings - Fork 2
Home
This wiki is not updated yet. In the meantime, visit Soft Potato.
Thank you for your interest in Soft Potato! The goal is to have a python library that compiles typical electrochemistry equations and simulations so that people don't need to program them themselves. Eventually, the Desktop application, already in its version 2.0, will be just a wrapper of the library. At the moment they will be two independent projects until I end up with a logic that makes sense. I don't use Conda but if people are interested, I will try to push softpotato there as well. Let me know!
pip install softpotato
- numpy
- matplotlib
# Import the library:
import softpotato as sp
# Calculate the limiting current of an inlaid ultramicrodisc with a radius of 1 um with the rest of parameters left with their default values (*n*, *D*, *C*, *E0*, *k0*, *alpha*, *noise*):
disc = sp.calculate.MicroDisc(a=1e-4)
iLim = disc.iLim
print(iLim)
# Create waveform with default values:
tech = sp.technique.Sweep()
# Calculate steady state LSV:
i = disc.LSV(tech.E)
# Plot:
sp.plotting.plot(tech.E, i*1e9, '$E$ / V', '$i$ / nA', show=True)
For more help, browse through this wiki or checkout the Jupyter notebook examples.
Ideas, help, bugs, etc. Will be appreciated. If you can code in Python, please consider contributing with your bug fixes or new ideas via a pull request, if not, please consider starting an issue so I can keep track of the things that are needed and eventually make the changes myself. You can also contact me through Twitter.
If you use it in any academic work, please consider citing this project so more people can use it. Preprint available at ChemRxiv.
For more info, visit Soft Potato.