cf.Transform.equivalent

Transform.equivalent(other, atol=None, rtol=None, traceback=False)[source]

True if two transforms are logically equal, False otherwise.

Parameters :
other : cf.Transform

The object to compare for equality.

atol : float, optional

The absolute tolerance for all numerical comparisons, By default the value returned by the cf.ATOL function is used.

rtol : float, optional

The relative tolerance for all numerical comparisons, By default the value returned by the cf.RTOL function is used.

traceback : bool, optional

If True then print a traceback highlighting where the two instances differ.

Returns :
out : bool

Whether or not the two objects are equivalent.

Examples

>>>

Previous topic

cf.Transform.equals

Next topic

cf.Transform.identity

This Page