forked from AugustPa/VRDataAnalysis
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcreate_analysis_method.py
28 lines (27 loc) · 971 Bytes
/
create_analysis_method.py
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
import json
file_name = "analysis_methods_dictionary.json"
analysis_methods = {
"experiment_name": "band",
"overwrite_curated_dataset": True,
"save_output": True,
"time_series_analysis": False,
"filtering_method": "sg_filter",
"plotting_trajectory": True,
"load_individual_data": True,
"select_animals_by_condition": True,
"active_trials_only": True,
"align_with_isi_onset": False,
"extract_follow_epoches": True,
"follow_locustVR_criteria": False,
"graph_colour_code": ["r", "b", "g", "k", "c", "y", "m", "r"],
"follow_within_distance": 50,
"camera_fps": 100,
"trackball_radius_cm": 0.5,
"monitor_fps": 60,
"body_length": 4,
"growth_condition": "G",
"analysis_window": [-10, 10],
} # plue value representing clockwise, counterclockwise is minus, then the rest is coherence leve
json_string = json.dumps(analysis_methods, indent=1)
with open(file_name, "w") as f:
f.write(json_string)