Python code for estimation of linear-nonlinear model parameters