Skip to main content

PyProBE

CI pre-commit.ci status Docs codecov

License PyPI - Version DOI status

PyProBE (Python Processing for Battery Experiments) is a Python package designed to simplify and accelerate the process of analysing data from battery cyclers.

PyProBE is documented here. Examples are stored in docs/source/examples and are integrated into the documentation here.

Installing PyProBE

Install PyProBE with pip:

pip install PyProBE-Data

For more detail see the user installation guide.

To install from source see the developer installation guide.

PyProBE Objectives

1. Ease of use

PyProBE breaks down complex battery data into simple, easy to understand objects that can be accessed with a few lines of code using natural language. The procedure shown below:

Procedures and experiments

can be filtered into the experiments that make up the procedure:

cell.procedure['Reference Test'].experiment('Initial Charge')
cell.procedure['Reference Test'].experiment('Discharge Pulses')

And filtered by cycle, step or step type:

cell.procedure['Reference Test'].step(1)
cell.procedure['Reference Test'].experiment('Discharge Pulses').cycle(3).discharge(0)

This makes it easy to quickly access the data you need for analysis. See the filtering data example to see this in action.

See the documentation for a detailed user guide. Start with the following pages to get PyProBE set up with your data:

PyProBE works with numerous cyclers. For guidance on how to export your data to work with PyProBE see the Input Data Guidance.

2. Accelerate battery data exploration

PyProBE has built-in plotting methods that integrate with matplotlib, hvplot and seaborn for fast and flexible visualization of battery data. It also includes a graphical user interface (GUI) for exploring data interactively, with almost no code. Run the getting started example locally to try the GUI.

PyProBE Dashboard

PyProBE is fast! Built on Polars dataframes, PyProBE out-performs manual filtering with Pandas and stores data efficiently in Parquet files:

PyProBE performance

3. Encourage data processing aligned with FAIR principles

PyProBE is designed to encourage good practice for storing and processing data PyProBE requires a README file to sit alongside your experimental data which is:

Human readable: Sits alongside your data to allow others to quickly understand your experimental procedure.

Computer readable: Simplifies the PyProBE backend, maximises flexibility to different input data and makes the setup process fast and intuitive for new data.

README file

See the guidance for writing README files for your experiments.

4. Host a library of analysis methods

PyProBE's analysis module contains classes and methods to perform further analysis of battery data. It is designed to maintain compatibility with the PyProBE data format and plotting tools while ensuring functions are simply defined, portable and tested.

The currently implemented analysis methods includes:

  • Summarise pulsing experiments with resistance information from each pulse
  • Summarise cycling experiments with SOH quantification for each cycle
  • Differentiation of any quantity
    • Finite-difference based method
    • Level Evaluation ANalysis method
  • Data smoothing
    • Level-based method
    • Spline fitting
    • Savitzky-Golay filtering
  • Degradation mode analysis
    • Curve fitting to pseudo-OCV, Incremental Capacity Analysis (ICA) or Differential Voltage Analysis (DVA) curves
    • Charge/discharge pseudo-OCV curve averaging for resistance compensation

It is easy to contribute to the analysis module. See the developer guide and contributing guidelines.

Contributing to PyProBE

Contributions to PyProBE are welcome. Please see the contributing guidelines.

Citing PyProBE

TBC

License

PyProBE is fully open source. For more information about its license, see LICENSE.

Contributors

tomjholland
Tom Holland
mohammedasher
Mohammed Asheruddin (Asher)

Metadata

Release files for PyProBE-Data 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyProBE-Data 2.0.0
File Size Uploaded Provenance Actions
pyprobe_data-2.0.0.tar.gz 52.8 kB Without provenance Details for pyprobe_data-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for PyProBE-Data 2.0.0
File Interpreter ABI Platform Actions
pyprobe_data-2.0.0-py3-none-any.whl Python 3 none any Details for pyprobe_data-2.0.0-py3-none-any.whl

Total release size: 119.3 kB

Release files / pyprobe_data-2.0.0.tar.gz

Download URL pyprobe_data-2.0.0.tar.gz
Size 52.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e03c6608ae5f9bf94bf4298d50ef50de7405543c5f212011cec1289e892b0e63
BLAKE2b-256 checksum
How to use checksums
a90328eeb2bf0de977b56c5cb46d62b8f92692d081029336e9517c3df990e973
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.5.22

Release files / pyprobe_data-2.0.0-py3-none-any.whl

Download URL pyprobe_data-2.0.0-py3-none-any.whl
Size 66.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a7f090427f5384eb98d7fb1bd5f8b1d74619fa1fe5757b9394fc15fc2d6a5a7
BLAKE2b-256 checksum
How to use checksums
4ad3fa9c191ab86da35820b9adf263bd2b0cdcf637ccb268d9eae4cd147d197e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.5.22

Security for PyProBE-Data 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page