Sunday, January 3, 2010

rectangular pulse bug removed

This bug appeared due to some numerical artefact in the time shifting routine, if the phase phi of a complex number is changed by evaluating its current phase, adding the new phase and representing it as real=r*cos(phi) and im=r*sin(phi). Now the more logical complex multiplication is used here.

No comments:

Post a Comment