Save kneading sequence to HDF5, move processing to python