Compare commits

..

No commits in common. "1b46b2d1881229d1864272dbd2c83c2eed59dbdc" and "5f56e95d3174bb74b54cb8507cd30c0d76cdd0c3" have entirely different histories.

1 changed files with 2 additions and 2 deletions

View File

@ -333,9 +333,9 @@ class Trajectories:
return self._slice(slice_part=sl[0],slice_time=sl[1])
@classmethod
def from_mat(cls,file,unraveled=False,select_col=None,varpp='pp'):
def from_mat(cls,file,unraveled=False,select_col=None):
from .helper import load_mat
pp = load_mat(file,varpp,cast_integer=False) # int casting is expensive and useless on potentially large array
pp = load_mat(file,'pp',cast_integer=False) # int casting is expensive and useless on potentially large array
col,time,ccinfo = load_mat(file,['colpy','time','ccinfo'],cast_integer=True)
period = [None,None,None]
if bool(ccinfo['xperiodic']): period[0]=ccinfo['b']