“样本match”的版本间差异
		
		
		
		
		
		跳到导航
		跳到搜索
		
				
		
		
	
 (→python)  | 
				|||
| 第5行: | 第5行: | ||
参见[https://numpy.org/doc/stable/reference/generated/numpy.intersect1d.html]  | 
  参见[https://numpy.org/doc/stable/reference/generated/numpy.intersect1d.html]  | 
||
==[[idl中  | 
  ==[[idl中数组match]]==  | 
||
2023年7月17日 (一) 13:12的最新版本
python
ID1=list(zip(Brick,BOID)) ID2=list(zip(Brick2,BOID2)) xy,x_ind,y_ind=np.intersect1d(ID1,ID2,assume_unique=True,return_indices=True)
参见[1]