bartorch.nlop.Phase#
- bartorch.nlop.Phase(shape)#
x / |x|, elementwise: BART’szphsr, built out of its two pieces.BART’s own
nlop_zphsr_createchainszabsintozdivand then callsnlop_dup(x, 0, 0), which trips its owna < bassertion, so the constructor aborts and cannot be used. The same operator is these two pieces put together with the indices the algebra checks: the absolute value into the divisor, then the two inputs made one.