equals

method of dascore.io.tdms.core.Patch source

equals(
    self ,
    other: Patch ,
    only_required_attrs ,
)-> ‘bool’

Determine if the current trace equals the other trace.

Parameters

Parameter Description
other A Trace2D object
only_required_attrs If True, only compare required attributes. This helps avoid issues with comparing histories or custom attrs of patches, for example.