baccuslab / pyret

Python tools for analysis of neurophysiology data
https://pyret.readthedocs.io/en/master/
MIT License
35 stars 8 forks source link

Nonlinearities #28

Closed nirum closed 10 years ago

nirum commented 10 years ago

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]