1

I need to calculate the correlation between kernels located in two matrices with different dimension. The matrices contain the same blob, with small changes in shape. Do you know if there is any alternative to correlate2d, now under stsci_python, for calculating the correlation between the two kernels (blobs)? I tried using it but it's not clear which modules to use.

Thanks

albus_c
  • 6,292
  • 14
  • 36
  • 77
  • I don't know the exact functionality you are looking for but I would have check numpy http://www.numpy.org/ – Tom Ron Mar 04 '14 at 10:47

1 Answers1

1

correlate2d is now included in agpy, which can be installed via pip install agpy.

albus_c
  • 6,292
  • 14
  • 36
  • 77
  • Another option is to use skimage, as done [here](http://scikit-image.org/docs/dev/auto_examples/plot_template.html). – albus_c Mar 04 '14 at 12:07