'The derivative of Andrew\'s wave psi function
Notes
Used to estimate the robust covariance matrix.'

def psi_deriv(self, z):

    test = self._subset(z)
    return ((test * np.cos((z / self.a))) / self.a)
