-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanalyse_data.py
More file actions
31 lines (23 loc) · 834 Bytes
/
analyse_data.py
File metadata and controls
31 lines (23 loc) · 834 Bytes
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
from param_file import *
from ndl_tense.data_analysis import prepare_data, plots
import logging
logging.basicConfig(level=logging.INFO)
def prepare():
file_tools.manage_directories(WD_ANALYSIS_PREP, False)
chdir(WD_ANALYSIS_PREP)
file_tools.manage_directories(DATA_ANALYSIS_FILES, True)
# required file paths + verbose parameter (set to True)
prepare_data.run(DATA_ANALYSIS_FILES, True)
def plot_plots():
file_tools.manage_directories(DATA_ANALYSIS_PLOTS_DIR, False)
chdir(DATA_ANALYSIS_PLOTS_DIR)
file_tools.manage_directories(DATA_ANALYSIS_PLOTS_FILES, True)
# required file paths + verbose parameter (set to True)
plots.run(DATA_ANALYSIS_PLOTS_FILES, True)
def activ_support():
print("Hello world")
def main():
prepare()
plot_plots()
if __name__ == "__main__":
main()