lyman.glm
.GammaBasis¶
-
class
lyman.glm.
GammaBasis
(time_derivative=True, disp_derivative=True, res=60, duration=32, pos_shape=6, pos_scale=1, neg_shape=16, neg_scale=1, ratio=0.16666666666666666)[source]¶ Basis set for HRF based on Gamma variate model.
-
__init__
(self, time_derivative=True, disp_derivative=True, res=60, duration=32, pos_shape=6, pos_scale=1, neg_shape=16, neg_scale=1, ratio=0.16666666666666666)[source]¶ Initialize the object with parameters that define response shape.
- Parameters
- time_derivativebool
Add temporal derivative of the response.
- disp_derivativebool
Add dispersion derivative of the response.
- resfloat
Sampling frequency at which to generate the convolution kernel.
- durationfloat
Duration of the convolution kernel.
- pos_{shape, scale}floats
Parameters for scipy.stats.gamma defining the initial positive component of the response.
- neg_{shape, scale}floats
Parameters for scipy.stats.gamma defining the later negative component of the response.
- ratiofloat
Ratio between the amplitude of the positive component to the amplitude of the negative component.
-