treams.Lattice.__eq__

Lattice.__eq__(other)

Equality.

Two lattices are considered equal when they have the same dimension, alignment, and lattice vectors.

Parameters:

other (Lattice) – Lattice to compare with.

Returns:

bool