In [ ]:
%load_ext autoreload
%autoreload 2

In [ ]:
import os
import pandas as pd
from cellpy import cellreader

In [ ]:
pd.set_option('display.max_columns', 500)

Setting things up


In [ ]:
my_data = cellreader.CellpyData()
# only for my MacBook
filename = "/Users/jepe/scripting/cellpy/dev_data/out/20190204_FC_snx012_01_cc_01.h5"
assert os.path.isfile(filename)
my_data.load(filename)

Timing


In [ ]:
%%timeit
my_data.make_summary()

In [ ]:
%%timeit
my_data.make_step_table()

make_summary run1 (as is): 1 loop, best of 3: 1.45 s per loop

make_step_table run1 (as is): 1 loop, best of 3: 1.71 s per loop run2 (with numba.jit on delta): 1 loop, best of 3: 2.47 s per loop


In [ ]:


In [ ]: