approx_equal

method of dascore.core.coords.BaseCoord source

approx_equal(
    self: BaseCoord ,
    other: BaseCoord ,
)-> ‘bool’

Return True if the coordinates are approximately equal.

This is a tolerant comparison helper. It is intentionally distinct from data_id, which is stricter and intended for stable ids.

Parameters

Parameter Description
other Another coordinate.