Skip to content
Snippets Groups Projects
Commit a1307f0c authored by Pieter Donker's avatar Pieter Donker
Browse files

Task #7314: removed fixed array size in data_lib

parent d2521aae
No related branches found
No related tags found
No related merge requests found
......@@ -102,7 +102,7 @@ class cRCUdata:
def readFiles(self):
files_in_dir = sorted(os.listdir(dataDir()))
data_shape = self.readFile(os.path.join(dataDir(),files_in_dir[0])).shape
ssdata = np.zeros((96,data_shape[0],data_shape[1]), dtype=np.float64)
ssdata = np.zeros((self.n_rcus, data_shape[0],data_shape[1]), dtype=np.float64)
for file_name in files_in_dir:
#path, filename = os.split(file_name)
rcu = int(file_name.split('.')[0][-3:])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment