AndrewWave.
psi
The psi function for Andrew’s wave
The analytic derivative of rho
z : array-like
1d array
psi : array
psi(z) = sin(z/a) for |z| <= a*pi psi(z) = 0 for |z| > a*pi
psi(z) = sin(z/a) for |z| <= a*pi
psi(z) = 0 for |z| > a*pi
statsmodels.robust.norms.AndrewWave.psi_deriv