@@ -70,11 +70,11 @@ def load_channel_locations(eid, one=None, probe=None, aligned=False):
7070 counts = [0 ]
7171 else :
7272 tracing = [(insertions .get ('json' , {'temp' : 0 }).get ('extended_qc' , {'temp' : 0 }).
73- get ('tracing_exists' , False ))]
73+ get ('tracing_exists' , False ))]
7474 resolved = [(insertions .get ('json' , {'temp' : 0 }).get ('extended_qc' , {'temp' : 0 }).
75- get ('alignment_resolved' , False ))]
75+ get ('alignment_resolved' , False ))]
7676 counts = [(insertions .get ('json' , {'temp' : 0 }).get ('extended_qc' , {'temp' : 0 }).
77- get ('alignment_count' , 0 ))]
77+ get ('alignment_count' , 0 ))]
7878 probe_id = [insertions ['id' ]]
7979 # No specific probe specified, load any that is available
8080 # Need to catch for the case where we have two of the same probe insertions
@@ -420,7 +420,7 @@ def load_wheel_reaction_times(eid, one=None):
420420
421421
422422def load_trials_df (eid , one = None , maxlen = None , t_before = 0. , t_after = 0. , ret_wheel = False ,
423- ret_abswheel = False , wheel_binsize = 0.02 , addtl_types = () ):
423+ ret_abswheel = False , ext_DLC = False , wheel_binsize = 0.02 , addtl_types = [] ):
424424 """
425425 TODO Test this with new ONE
426426 Generate a pandas dataframe of per-trial timing information about a given session.
@@ -451,6 +451,8 @@ def load_trials_df(eid, one=None, maxlen=None, t_before=0., t_after=0., ret_whee
451451 Whether to return the time-resampled wheel velocity trace, by default False
452452 ret_abswheel : bool, optional
453453 Whether to return the time-resampled absolute wheel velocity trace, by default False
454+ ext_DLC : bool, optional
455+ Whether to extract DLC data, by default False
454456 wheel_binsize : float, optional
455457 Time bins to resample wheel velocity to, by default 0.02
456458 addtl_types : list, optional
0 commit comments