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

snapshot...

parent 15736ece
No related branches found
No related tags found
No related merge requests found
......@@ -355,6 +355,9 @@ def process_2(ice_dct, no_ice_dct, neg_ice_dct):
ice_keys_3 = []
ice_keys_2 = []
print('num keys ice, no_ice, neg_ice: ', len(ice_dct), len(no_ice_dct), len(neg_ice_dct))
no_intensity_cnt = 0
for ts in list(ice_dct.keys()):
rpts = ice_dct[ts]
for tup in rpts:
......@@ -368,6 +371,8 @@ def process_2(ice_dct, no_ice_dct, neg_ice_dct):
ice_keys_3.append(ts)
elif tup[3] == 2:
ice_keys_2.append(ts)
else:
no_intensity_cnt += 1
no_ice_keys = []
for ts in list(no_ice_dct.keys()):
......@@ -398,6 +403,7 @@ def process_2(ice_dct, no_ice_dct, neg_ice_dct):
ice_keys_1 = np.array(ice_keys_1)
print('1: ', ice_keys_1.shape)
print('no intensity: ', no_intensity_cnt)
ice_keys = np.concatenate([ice_keys_5_6, ice_keys_1, ice_keys_2, ice_keys_3, ice_keys_4])
uniq_sorted_keys = np.unique(ice_keys)
......@@ -453,6 +459,7 @@ def process_1(ice_dct, no_ice_dct, neg_ice_dct):
ice_times_2 = []
ice_keys_2 = []
print('num keys ice, no_ice, neg_ice: ', len(ice_dct), len(no_ice_dct), len(neg_ice_dct))
nfound = 0
for ts in list(ice_dct.keys()):
try:
......
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