Python Package for Publicationto perform basic functions on Maccor Battery Cycling Data
Project description
Preparing MACCOR Data
The maccorcyclingdata package is to be used on the raw data output from the MACCOR battery cyclers and the schedule file input into the MACCOR battery cyclers. The package can also be used to validate the testdata by comparing it against the schedules.
Example
The example.ipynb provides examples where all the functions are used on the given example data. To run this example, simply open and run each cell in the example Jupyter Notebok provided. In the example_data directory, there is example testdata and an example schedule file to show how the data columns should be formatted.
Requirements and Installation
This code has been developed in Python 3.7.6. The code has been tested to run in Windows, Linux, and macOS.
This code uses numpy and pandas as specified in docs/requirements.txt.
The code can be run directly from a cloned GitHub repository or it can also be installed as a python package through pip:
pip install maccorcyclingdata
The functions in the package can be used after importing testdata, schedules, validate for example as follows:
import maccorcyclingdata.testdata as testdata
import maccorcyclingdata.schedules as schedules
import maccorcyclingdata.validate as validate
Compatibility
The raw testdata and schedule file that this package is used on must be csv files. Additionally, the first column of both files should be the header of the datatable. The example uses data exported from MACCOR battery cyclers. The raw testdata should be exported with columns in the following order and with the following units (the names can be anything since the import_maccor_data function will rename all columns):
Cycle Number
Step Number
Total Test Time (seconds)
Step Time (seconds)
Capacity (mAh)
Current (mA)
Voltage (V)
DPt Time (seconds)
Temperature (Celsius)
EV Temperature (Celsius)
The following columns may also exist, but must be named as the following: ACR, DCIR, Watt-hr, and nnnamed.
The schedule should have columns in the following order (the names can be anything since the import_schedules function will rename all columns):
Step Number
Step Type
Step Mode Type
Step Mode Value
Step Limit Type
Step Limit Value
End Type
Operator (=, <=, >=)
End Type Value
Goto Step Number
Report Type
Report Type Value
Options
Step Note
If you encounter any issues running the code for any MACCOR model report an issue. Note that an example file will be needed in order to improve the code.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for maccorcyclingdata-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bbfd4f869b101deb2eaa475cb83379265494008d9688e9d320f7e2755cc7406 |
|
MD5 | fc2187bd9a6551d759659b00e7b96f3e |
|
BLAKE2b-256 | c56f78fa0c42382b276ff2c68fbf4438666e84183ddf3b55972d54dc8183b5f1 |