-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprepare_data.py
More file actions
35 lines (27 loc) · 1.17 KB
/
prepare_data.py
File metadata and controls
35 lines (27 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
"""Script to prepare event data
- CombineData: combine data from all experiments, per age category
- SanityCheck
- AnalysisStart
"""
from utils.prepare_data_wrapper import prepare_data_wrapper
if __name__ == '__main__':
# #########################################################################
# User input
# #########################################################################
# Experiment settings
from settings.stim_averaging_fov import *
# path_name = 'testing_larvae'
# Fish/agent settings
age_category = 'larva' # 'larva' or 'juvie' or 'agents' or 'simulations'
agent_name = '' # agent name or ''
do_preprocess = False # True or False
prepare_data_wrapper(
age_category=age_category, agent_name=agent_name,
path_name=path_name,
flip_dict=flip_dict, split_dict=split_dict, label_dict=label_dict,
included_stim_names=stim_names,
rolling_window=rolling_window, resampling_window=resampling_window,
do_preprocess=do_preprocess,
do_tracking=do_tracking, do_event=do_event,
do_bootstrap=do_bootstrap, do_median_df=do_median_df, do_rolling_df=do_rolling_df,
)