psychopy_ext.models.Model._dis_gj_simple

Model._dis_gj_simple(outputs)[source]

Calculate similarity between magnitudes of gabor jet.

It may look complex but this is just a linear algebra implementation of 1 - np.dot(f,g) / (np.sqrt(np.dot(g,g)) * np.sqrt(np.dot(f,f)) )