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

snapshot...

parent 2cd1b1ab
No related branches found
No related tags found
No related merge requests found
......@@ -178,21 +178,14 @@ 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))
print(ice_indexes.shape)
np.random.shuffle(ice_indexes)
print(ice_indexes.shape)
obj = comm2 != ice_indexes
print(obj.shape)
ucomm2 = ice_indexes[comm2 != ice_indexes]
ucomm2 = np.setdiff1d(comm2, ice_indexes)
print(ucomm2.shape)
np.random.shuffle(ucomm2)
ucomm2 = ucomm2[0:8000]
files_comm = []
......
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