-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
59 lines (37 loc) · 1.36 KB
/
main.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# This is a sample Python script.
# Press Shift+F10 to execute it or replace it with your code.
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.
def print_hi(name):
# Use a breakpoint in the code line below to debug your script.
print(f'Hi, {name}') # Press Ctrl+F8 to toggle the breakpoint.
# Press the green button in the gutter to run the script.
if __name__ == '__main__':
print('starting')
import os
import sys
#print(sys.getcwd())
from test_folder1 import test_file1 as tf1
tf1.print_statement1()
from test_folder2 import test_file2 as tf2
tf2.print_statement2()
tf1.call_tf2_print()
tf1.call_tf3_print()
import analysis_funcs as af
import numpy as np
import matplotlib.pyplot as plt
import os
# path = r"C:\Users\LevineLab\Documents\python notebooks\9_21_22_Wspa"
# fname_base = "BF_505_20ms_10z"
#
# d = 1 # device names are 1,2,3,4
# t = 0 # times are every hour starting with 0-9
# sufix = '' # either empty or has 'nowash_'
#
# dataset, device_meta = af.open_device_dataset(path, fname_base, device=d, time=t, sufix=sufix)
#
# center_fname = 'center_9_22_22.npy'
# with open(os.path.join(path,center_fname), 'rb') as f:
# center = np.load(f)
#
# plt.imshow(center)
# plt.show()