RectPartition.approx_equals

RectPartition.approx_equals(self, other, atol)[source]

Return True in case of approximate equality.

Returns
approx_eqbool

True if other is a RectPartition instance with self.set == other.set up to atol and self.grid == other.other up to atol, False otherwise.