pastas.rfunc.Gamma ================== .. toctree:: :hidden: /api/pastas/rfunc/Gamma.get_init_parameters /api/pastas/rfunc/Gamma.get_tmax /api/pastas/rfunc/Gamma.gain /api/pastas/rfunc/Gamma.step /api/pastas/rfunc/Gamma.moment /api/pastas/rfunc/Gamma.impulse .. py:class:: pastas.rfunc.Gamma(cutoff: float = 0.999, use_block: bool = True, **kwargs) Gamma response function with 3 parameters A, a, and n. :param cutoff: Fraction of the step response after which the response is truncated. Default is 0.999. :type cutoff: float, optional :param use_block: Use the block response (rather than the impulse response) to simulate the effect of a stress. The block response approximates the stress as uniform during a time interval dt. When False, the impulse response is used which means that the the entire stress occurs midway the time interval dt. The impulse response is generally quicker to compute. :type use_block: bool, optional .. attribute:: up Whether a positive stress causes the head to go up (`True`), down (`False`), or either direction (`None`). :type: bool or None, optional .. attribute:: gain_scale_factor Mean stress value used to scale the initial value so that the final step response times the mean stress equals 1. :type: float, optional .. !! processed by numpydoc !! .. py:property:: nparam :type: int Number of parameters of the response function. .. !! processed by numpydoc !! Methods ------- .. autoapisummary:: pastas.rfunc.Gamma.get_init_parameters pastas.rfunc.Gamma.get_tmax pastas.rfunc.Gamma.gain pastas.rfunc.Gamma.step pastas.rfunc.Gamma.moment pastas.rfunc.Gamma.impulse