correlate_0

correlate_0(a, b)[source]

compute the correlation between two 2d matrix

computing based on fft, conjugating b (for conjug_type=2)

Warning

in order to use this function instead of conjug_type=1: rename it correlate and comment the last swap of DeconvV0.beuild_sky_image

Parameters:
  • a (2D array) – left 2D data
  • b (2D array) – right 2D data
Returns:

correlation matrix of a and b

Return type:

2D array