Skip to content
Snippets Groups Projects
Commit 314fda1d authored by tomrink's avatar tomrink
Browse files

snapshot...

parent a67be7aa
No related branches found
No related tags found
No related merge requests found
......@@ -178,14 +178,16 @@ def analyze(ice_dct, no_ice_dct):
ice_times = np.array(ice_times)
no_ice_times = np.array(no_ice_times)
print(ice_times.shape, no_ice_times.shape)
itrsct_vals, comm1, comm2 = np.intersect1d(no_ice_times, ice_times, return_indices=True)
print(itrsct_vals.shape, comm1.shape, comm2.shape)
ice_indexes = np.arange(len(ice_times))
np.random.shuffle(ice_indexes)
ucomm2 = ice_indexes[comm2 != ice_indexes]
print(ucomm2.shape)
ucomm2 = ucomm2[0:8000]
print(ucomm2[0:20])
files_comm = []
for i in comm2:
......@@ -194,7 +196,6 @@ def analyze(ice_dct, no_ice_dct):
files_extra = []
times_extra = []
for i in ucomm2:
print(i)
files_extra.append(ice_files[i])
times_extra.append(ice_times[i])
......
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