'The least squares estimator weighting function for the IRLS algorithm.
The psi function scaled by the input z
Parameters
z : array-like
1d array
Returns
weights : array
weights(z) = np.ones(z.shape)'

def weights(self, z):

    z = np.asarray(z)
    return np.ones(z.shape, np.float64)
