This directory contains example notebooks and scripts demonstrating how to use PyBOP.
notebooks/
: Jupyter notebooks of example functionality with explanationsscripts/
: Python scripts for quick reference and command-line usagestandalone/
: Example scripts for using standalone classes
The notebooks/
directory contains Jupyter notebooks that provide detailed, interactive examples of various features and use cases. These notebooks include explanations, code snippets, and visualisations.
To view the notebooks with interactive figures without downloading the repository, please use nbviewer:
The scripts/
directory contains standalone Python scripts that demonstrate specific tasks or workflows. These scripts are designed for quick reference and can be run directly from the command line.
-
Clone the repository:
git clone https://github.com/pybop-team/pybop.git
-
Navigate to the examples directory:
cd pybop/examples
-
Explore the notebooks and scripts in their respective directories.
-
To run the Jupyter notebooks locally:
- Install Jupyter:
pip install jupyter
- Start Jupyter Notebook:
jupyter notebook
- Navigate to the
notebooks/
directory and open the desired notebook
- Install Jupyter:
-
To run the Python scripts:
- Install PyBOP:
pip install pybop
- Run a script using Python:
python scripts/script_name.py
- Install PyBOP:
If you have additional examples or improvements to existing ones, please feel free to submit a pull request. We appreciate your contributions!