Skip to main content
Build the fit with ionworks-schema, submit it through the API client, and read the typed result. This fits LLI [%], a built-in default metric, so it needs no metrics option. A custom metric is expressible too, as a metrics config — this one is last-minus-first of the cycle-wise discharge capacity over each cycle’s first step:
The summary data below has no discharge-capacity column to compare it against, so this fit omits it.
This example runs on synthetic sample data bundled with ionworks-schema, so you can copy it and run it as-is. Swap iws.example_data(...) for your own export, or read a measurement from the platform with client.cell_measurement. Plotting the fit needs ionworks-schema[plot].