jepegit / cellpy

extract and tweak data from electrochemical tests of cells
MIT License
88 stars 30 forks source link

Interpolation in get_cap() removes steps, when there are multiple charge or discharge steps. #307

Open asbjorul opened 8 months ago

asbjorul commented 8 months ago

Interpolation in the get_cap()-function removes steps when there are multiple charge or discharge steps in one cycle, e.g. taper steps. In these cases, the interpolation also produces some artefacts in the transition from charge to discharge (when the curve "turns"). This also affects the batchcollectors, which use get_cap() with interpolation turned on as default.

cellpy version: 1.0.1b5 Python version: 3.11 Operating System: Windows 11

Steps to reproduce the behavior: Run cellpy.utils.collectors.BatchCyclesCollector() (which has interpolation turned on as default), for any batch that includes cells with taper steps.