Have a look at the data

Here are some examples how to get a peak at the data. If we need an interactive plot of the raw-data, we can use the plotutils.raw_plot function. If we would like to see some statistics for some of the cycles, the plotutils.cycle_info_plot is your friend. Let´s start by importing cellpy and the plotutils utility:


In [ ]:
import cellpy
from cellpy.utils import plotutils

And let´s load a data-set:


In [ ]:
cell = cellpy.get("../testdata/hdf5/20160805_test001_45_cc.h5", mass=0.8)

If you have holoviews installed, you can get an interactive figure:


In [ ]:
plotutils.raw_plot(cell)

Sometimes it is necessary to have a look at some statistics for each cycle and step. This can be done using the cycle_info_plot-method:


In [ ]:
fig = plotutils.cycle_info_plot(
    cell, 
    cycle=3,
    use_bokeh=False,
)

In [ ]: