File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414from tqdm import tqdm
1515
1616
17- from ..behaviour import get_all_cond_filts
17+ from ..behaviour import get_all_cond_filts , get_main_sess_td_df
1818from ..session import get_predictor_from_psth
19- from ..decoding import Decoder
19+ from ..decoding . decoding_funcs import Decoder
2020from ..io_utils import posix_from_win , load_sess_pkl
2121from ..pupil .pupil_analysis_funcs import process_pupil_td_data
2222from ..ephys .spike_time_utils import zscore_by_trial
2323
2424
2525def load_aggregate_td_df (session_topolgy : pd .DataFrame ,home_dir :Path ,td_df_query = None ) -> pd .DataFrame :
26- from behviour_analysis_funcs import get_main_sess_td_df
27- # get main sess pattern
26+
2827 td_path_pattern = 'data/Dammy/<name>/TrialData'
2928 if 'tdata_file' not in session_topolgy .columns :
3029 td_paths = [Path (sess_info ['sound_bin' ].replace ('_SoundData' , '_TrialData' )).with_suffix ('.csv' ).name
You can’t perform that action at this time.
0 commit comments