def shiftit(self,shift,save=False): """ Shift the pulse by some phase. """ x = u.shiftit(self.data,-1*shift) if save: self.data = x return x
def shiftit(self, shift, save=False): """ Shift the pulse by some phase. """ x = u.shiftit(self.data, -1 * shift) if save: self.data = x return x