-
Notifications
You must be signed in to change notification settings - Fork 1
/
parameters.py
88 lines (59 loc) · 2.04 KB
/
parameters.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
class Parameters:
is_ubuntu = True
is_windows = False
sampling_rate = 0
sample_datatype = 'int16'
local_recording_folder_path = ''
file_path = []
output_path = []
sorter_name = []
number_of_channels = []
display_decimation = []
start_sample = []
end_sample = []
def __init__(self):
return
def get_is_ubuntu(self):
return Parameters.is_ubuntu
def set_is_ubuntu(self, is_ub):
Parameters.is_ubuntu = is_ub
def get_is_windows(self):
return Parameters.is_windows
def set_is_windows(self, is_win):
Parameters.is_windows = is_win
def get_sampling_rate(self):
return Parameters.sampling_rate
def set_sampling_rate(self, sr):
Parameters.sampling_rate = sr
def get_local_recording_folder_path(self):
return Parameters.local_recording_folder_path
def set_local_recording_folder_path(self, path):
Parameters.local_recording_folder_path = path
def get_file_path(self):
return Parameters.file_path
def set_file_path(self, path):
Parameters.file_path = path
def get_output_path(self):
return Parameters.output_path
def set_output_path(self, path):
Parameters.output_path = path
def get_number_of_channels(self):
return Parameters.number_of_channels
def set_number_of_channels(self, length):
Parameters.number_of_channels = length
def get_sample_datatype(self):
return Parameters.sample_datatype
def set_sample_datatype(self, in6):
Parameters.sample_datatype = in6
def get_display_decimation(self):
return Parameters.display_decimation
def set_display_decimation(self, in6):
Parameters.display_decimation = in6
def get_start_sample(self):
return Parameters.start_sample
def set_start_sample(self, in6):
Parameters.start_sample = in6
def get_end_sample(self):
return Parameters.end_sample
def set_end_sample(self, in6):
Parameters.end_sample = in6