darkmappy.validation.analyse(x, y)

Computes statistics on recovered result

Parameters
  • x (complex array) – True map

  • y (complex array) – Estimated map

darkmappy.validation.p_correlation(x, y)

Computes pearson correlation coefficient.

Parameters
  • x (np.ndarray) – True map

  • y (np.ndarray) – Estimated map

Raises

ValueError – Raised if x and y not of the same rank and size

darkmappy.validation.snr(x, y)

Computes signal to noise ratio in dB

Parameters
  • x (np.ndarray) – True map

  • y (np.ndarray) – Estimated map

Raises

ValueError – Raised if x and y not of the same rank and size