This project contains numerous functions that can solve complicated tasks / problems, focused on use in an Undergraduate Physics students work. These are showcased using a web-app created with Streamlit.
The functionality supported (and planned to implement) are as follows:
- Interpolation
- Curve Fitting
- Differentiation / Integration
- Scientific Calculator
- Unit Converter
- Vector Operations
- Other
Interpolate between datapoints using algorithms like Cubic-Spline Interpolation.
Using SciPy, fit various types of curve to data.
Perform both analytical and numerical Differentiation and Integration using SymPy or SciPy.
Similar to the likes of the Desmos Scientific Calculator - the main addition being hyperbolic functions, and constants (using NumPy).
Convert for example: m to km, or ly to kpc and so on. May use a library like AstroPy.
Various Vector Operations like: Grad, Div, Cirl, Laplacian, Cross Product, Dot Product, etc.
More features may include: Latex Code generator, Notes functionality, an app like WebPlotDigitizer
- Clone this project
- Create a virtual enviroment to be used, ideally in the same folder as this project
- Install the necessary libraries as detailed, using pip
pip install *library*
Note: ensure protobuf is of version 3.20.x or lower; usingpip install --upgrade protobuf==3.19.0
- Open the terminal in the directory of the desired script (CTRL + L, type
cmd
), or cd into it - Activate the Virtual Enviroment
*venv*\Scripts\activate
- Run the script using Streamlit
streamlit run Home.py
Note: To close the app, CTRL + C on the terminal then close the browser