rattlesnake icon indicating copy to clipboard operation
rattlesnake copied to clipboard

Is np.invert(intwave) an XOR operation?

Open Jyny opened this issue 3 years ago • 0 comments

I'm look at invert function in rattlesnake.py https://github.com/loehnertz/rattlesnake/blob/master/rattlesnake.py#L312

according to numpy document np.invert is a bitwise NOT operation https://numpy.org/doc/stable/reference/generated/numpy.invert.html

this confuse me what the relation between two operation here?

Jyny avatar Dec 09 '20 19:12 Jyny