Date: July 2019
Purpose: create a plot of the data pr cycle with voltage on one y-axis and current on the other where the individual steps are within each span with added labels showing C-rate and values from the step_table
In [1]:
import os
import itertools
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.pyplot import cm
import bokeh
import cellpy
from cellpy.utils import plotutils
from cellpy.readers.core import xldate_as_datetime
In [2]:
%matplotlib inline
pd.options.display.max_columns = 100
In [3]:
filename = "../testdata/hdf5/20160805_test001_45_cc.h5"
assert os.path.isfile(filename)
my_cell = cellpy.get(filename)
In [4]:
my_cell.make_step_table()
Out[4]:
In [5]:
data = my_cell.cell.raw
table = my_cell.cell.steps
summary = my_cell.cell.summary
In [6]:
table.head(3)
Out[6]:
In [7]:
summary.head(3)
Out[7]:
In [8]:
data.head(3)
Out[8]:
In [9]:
my_cell.raw_limits
Out[9]:
In [10]:
plotutils.raw_plot(my_cell)
Out[10]:
In [ ]: