Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chicolucio/reversiblefirstorder
Plots for reversible first order reactions
https://github.com/chicolucio/reversiblefirstorder
chemistry interactive-visualizations kinetics physical-chemistry python science
Last synced: about 1 month ago
JSON representation
Plots for reversible first order reactions
- Host: GitHub
- URL: https://github.com/chicolucio/reversiblefirstorder
- Owner: chicolucio
- License: mit
- Created: 2020-10-19T14:31:16.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-27T22:29:42.000Z (over 2 years ago)
- Last Synced: 2024-05-01T16:00:33.591Z (8 months ago)
- Topics: chemistry, interactive-visualizations, kinetics, physical-chemistry, python, science
- Language: Jupyter Notebook
- Homepage:
- Size: 3.04 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Reversible reactions of the first order
![reversible_gif](reversible_interactive.gif)
Interactive web app:
A simple project to plot Concentration vs Time or Reaction quotient vs Time plots for reversible first order reactions. Interactive plots can also be made following [tutorial](tutorial.ipynb) instructions. An interactive Colab notebook can also be used
# Installation and usage
1. clone the repo
2. create a virtual environment
3. activate the virtual environment
4. install dependencies with [`requirements.txt`](requirements.txt)
5. use the code and/or run a local Streamlit app```bash
git clone [email protected]:chicolucio/ReversibleFirstOrder.git
cd ReversibleFirstOrder
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
streamlit run Home.py
```These are the Python packages under the hood:
![Matplotlib](https://img.shields.io/badge/Matplotlib-3670A0.svg?style=plastic&logo=&logoColor=white)
![NumPy](https://img.shields.io/badge/NumPy-%23013243.svg?style=plastic&logo=numpy&logoColor=white)
![Streamlit](https://img.shields.io/badge/Streamlit-FF4B4B.svg?style=plastic&logo=streamlit&logoColor=white)See the [tutorial](tutorial.ipynb)
to know how to customize the plot and how to animate it like the gif at the top
of this readme.Interactive web app hosted on Streamlit Cloud:
# Contributing
All contributions are welcome.
**Issues**
Feel free to submit issues regarding:
- recommendations
- more examples for the tutorial
- enhancement requests and new useful features
- code bugs**Pull requests**
- before starting to work on your pull request, please submit an issue first
- fork the repo
- clone the project to your own machine
- commit changes to your own branch
- push your work back up to your fork
- submit a pull request so that your changes can be reviewed# License
MIT, see [LICENSE](LICENSE)
# Citing
If you use this project in a scientific publication or in classes, please consider citing as
F. L. S. Bustamante, Reversible reactions of the first order, 2020 - Available at: https://github.com/chicolucio/ReversibleFirstOrder