dynsight.data_processing.soapdistance

dynsight.data_processing.soapdistance(x, y, n=1)[source]

The SOAP distance between two SOAP fingerprints.

  • Original author: Daniele Rapetti

Parameters:
  • x (np.ndarray) – a SOAP fingerprint.

  • y (np.ndarray) – a SOAP fingerprint.

  • n (int) – the power to elevate the result of the kernel

Returns:

the distance between the two fingerprints, between \(0\) and \(2\)

Return type:

float