![]() |
Multivariate Pattern Analysis in Python |
Misc. functions (in the mathematical sense)
Hemodynamic response function model.
The version is using two gamma functions (also see singleGammaHRF()).
Parameters: |
|
---|
Parameters A, W and K exists individually for each of both gamma functions.
Simple convenience wrapper around SciPy’s optimize.leastsq.
The advantage of using this wrapper instead of optimize.leastsq directly is, that it automatically constructs an appropriate error function and easily deals with 2d data arrays, i.e. each column with multiple values for the same function argument (x-value).
Parameters: |
|
---|---|
Return type: | tuple |
Returns: | i.e. 2-tuple with list of final (fitted) parameters of fx and an integer value indicating success or failure of the fitting procedure (see leastsq docs for more information). |
Hemodynamic response function model.
The version consists of a single gamma function (also see doubleGammaHRF()).
Parameters: |
|
---|