chemcoord.xyz_functions.allclose
- chemcoord.xyz_functions.allclose(a, b, align=False, rtol=1e-05, atol=1e-08)[source]
Compare two molecules for numerical equality.
- Parameters:
a (Cartesian)
b (Cartesian)
align (bool) – b is aligned unto a before comparing.
rtol (float) – Relative tolerance for the numerical equality comparison look into
numpy.allclose()for further explanation.atol (float) – Relative tolerance for the numerical equality comparison look into
numpy.allclose()for further explanation.
- Returns:
True if all coordinates are close, False otherwise.
- Return type: