SignAmbiguityWarning#

exception ktch.harmonic.SignAmbiguityWarning[source]#

Warning that sign_method chose the signs of some samples uncertainly.

Registration fixes the axes of a shape only as lines, and sign_method chooses their signs. transform issues this warning once per call when the rule left samples tied and a later rule chose, or when it decided them by statistics of the shape within a few times their numerical floor. The signs of those samples’ coefficients can then change under a small change of the sample. A filter can target this subclass of UserWarning, for example on exactly symmetric shapes made for a test.

add_note()#

Exception.add_note(note) – add a note to the exception

with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.