geometries_match

emmet.core.featurization.robocrys.condense.site.geometries_match(geometry_a, geometry_b, likeness_tol=0.001)

Determine whether two site geometries match.

Geometry data should be formatted the same as produced by robocrys.site.SiteAnalyzer.get_site_geometry().

Return type:

bool

Parameters:
  • geometry_a (dict[str, Any])

  • geometry_b (dict[str, Any])

  • likeness_tol (float)

Args:

geometry_a: The first set of geometry data. geometry_b: The second set of geometry data. likeness_tol: The tolerance used to determine if two likeness parameters

are the same.

Returns:

Whether the two geometries are the same.