pwtools
Same as cell2cc() for 3d arrays.
cell2cc()
cell (3d array)
axis (time axis (e.g. cell.shape = (100,3,3) -> axis=0))