baccuslab/pyret

Nonlinearities

Closed this issue · 0 comments

I want to add a module, nonlinearities.py, that does the following:

  1. Returns parameters for different parametric nonlinearities (e.g. sigmoids, exponential, soft thresholding functions) fit to noisy data, using lsqcurvefit and similar routines.
  2. Fits nonlinearities listed above given two histograms (fit to the ratio of the two histograms)
  3. Fit 1d nonlinearities given just a stimulus projected onto a linear filter and corresponding firing rates.

[I'll do this in a dev branch and keep it separate for now]