Skip to main content

Processing and visualization tools for battery experiments.

Project description

ampworks

ci   license   codecov   pypi   pypi-downloads

Summary

ampworks is a collection of tools designed to visualize and process experimental battery data. It provides routines for degradation mode analysis, parameter extraction from common protocols (e.g., GITT, ICI, etc.), and more. These routines provide key properties for life and physics-based models (e.g., SPM and P2D). Graphical user interfaces (GUIs) are available for some of the analyses. See a full list of the GUI-based applications by running ampworks -h in your terminal after installation.

Note: ampworks is in early development. The API may change as it matures.

Installation

ampworks can be installed from PyPI using the following command:

pip install ampworks[gui]

Using [gui] is optional. When included, the installation includes extra dependencies needed for the GUI-based applications. However, the GUIs are completely optional. Any routines that can accessed through a GUI can also be implemented in scripts or notebooks. The package will generally install faster without the extra dependencies. Note that you can always add the GUI dependencies at a later time too; they do not need to be included with the original installation of ampworks.

For those interested in setting up a developer and/or editable version of this software please see the directions available in the "Development" section of our documentation.

Get Started

The best way to get started is by exploring the online documentation and the repository's examples folder. The software includes a datasets module with practice/example datasets that can be used to learn and test various routines.

Current examples are limited in the documentation and are mostly present in docstrings. Even the repository's examples folder currently has a limited amount of examples. However, if you are interested in seeing an example or any specific functionality, please feel free to submit an issue and request one be added to the documentation. When present, user requests for specific examples will be prioritized over developer-chosen examples.

Notes:

  • If you are new to Python, check out Spyder IDE. Spyder is a powerful interactive development environment (IDE) that can make programming in Python more approachable to new users.
  • Another friendly option for getting started in Python is to use Jupyter Notebooks. We write our examples in Jupyter Notebooks since they support both markdown blocks for explanations and executable code blocks.
  • Python, Spyder, and Jupyter Notebooks can be setup using Anaconda. Anaconda provides a convenient way for new users to get started with Python due to its friendly graphical installer and environment manager.

Citing this Work

This work was authored by researchers at the National Laboratory of the Rockies (NLR). If you use use this package in your work, please include the following citation:

Randall, Corey R. "ampworks: Battery data analysis tools in Python [SWR-25-39]." Computer software, Mar. 2025. url: github.com/NatLabRockies/ampworks. doi: 10.11578/dc.20250313.2.

For convenience, we also provide the following for your BibTex:

@misc{randall2025ampworks,
  author = {Randall, Corey R.},
  title = {{ampworks: Battery data analysis tools in Python [SWR-25-39]}},
  url = {github.com/NatLabRockies/ampworks},
  month = {Mar.},
  year = {2025},
  doi = {10.11578/dc.20250313.2},
}

Contributing

If you'd like to contribute to this package, please look through the existing issues. If the bug you've caught or the feature you'd like to add isn't already being worked on, please submit a new issue before getting started. You should also read through the developer guidelines.

Disclaimer

This work was authored by the National Laboratory of the Rockies (NLR), operated by Alliance for Energy Innovation, LLC, for the U.S. Department of Energy (DOE). The views expressed in the repository do not necessarily represent the views of the DOE or the U.S. Government.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ampworks-0.1.0.tar.gz (12.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ampworks-0.1.0-py3-none-any.whl (13.2 MB view details)

Uploaded Python 3

File details

Details for the file ampworks-0.1.0.tar.gz.

File metadata

  • Download URL: ampworks-0.1.0.tar.gz
  • Upload date:
  • Size: 12.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for ampworks-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2c0fad5b09d3bd1f98df7330556db82ca2abe7ff855907dd673a63034ac9413b
MD5 50e80fffa87a80d27d8cb183d048d004
BLAKE2b-256 0e15f2d9769e1c59e683463e71cb0671fce51f1d2bbbdd510d81700d6e4a9779

See more details on using hashes here.

File details

Details for the file ampworks-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ampworks-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for ampworks-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c3b4dd8b45ad3622fa16ec056b24204d89038e83ab8ca3c9e7f63d626f83d37f
MD5 b9ed259e6563fc17075a2a6d6452431d
BLAKE2b-256 d4f705df6488d17f4eb0e49fabf80929b6b8057ca8476206920b222b99b7dcf9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page