secID_array = np.array([int(_) for _ in secID_quant[0]])
print(secID_array)
##print(secID_array)
ID_list = list(set(secID_array))
print(ID_list)
##print(ID_list)
ID_indices = []
for ID in ID_list:
ID_indices.append(np.where(secID_array == ID))
print(ID_indices[ID])
print(type(ID_indices[ID])) ##tuple
##print(ID_indices[ID])
##print(type(ID_indices[ID])) ##tuple
dist_array = np.array(dist_quant)
##print(type(coords_array))
##cc = coords_array[0,list(ID_indices[ID])]
@@ -767,5 +785,3 @@ RenderAllViews()
## alternatively, if you want to write images, you can use SaveScreenshot(...).
print('Select points on the centerline (hit the "Select Points On" button or the "d" key) and hit "FlowInTime" button in order to plot flow rate in time.')