Between hard and soft thresholding: optimal iterative thresholding algorithms | Synapse