0

I'm studying a code for 2D correlation spectroscopy.

The code takes 2 arrays (a and b) with the same numbers of rows, and calculated the pair-wise relationship between all the possible combination of columns in the two arrays. The operand to perform such calculation is "@".

For example:

arr1=np.array([[1,2,3], [2,3,4]])
arr2=np.array([[1,2,2,6], [3,4,5,7]])

Final_array = arr1.T @ arr2 / (len(arr1) - 1)

I'm not able to an explanation of what the @ operand does.

0 Answers0