get_dist_matrix

eyefeatures.features.pairwise.get_dist_matrix(scanpaths, dist_metric)[source]

Computes pairwise distance matrix given distance metric.

Parameters:
  • scanpaths (list[DataFrame]) – List of scanpaths DataFrames of form (x, y)

  • dist_metric (Callable) – Metric used to calculate distance from features.dist

Return type:

DataFrame