in metropolis/utils/data_classes.py [0:0]
def __eq__(self, other):
center = np.allclose(self.center, other.center)
lwh = np.allclose(self.lwh, other.lwh)
orientation = np.allclose(self.orientation.elements, other.orientation.elements)
return center and lwh and orientation