pastas.model.Model.get_block_response ===================================== .. py:method:: pastas.model.Model.get_block_response(name: str, p: pastas.typing.ArrayLike | None = None, add_0: bool = False, dt: float | None = None, **kwargs) -> pandas.Series | None Method to obtain the block response for a stressmodel. The optimal parameters are used when available, initial otherwise. :param name: String with the name of the stressmodel. :type name: str :param p: array_like object with the values as floats representing the model parameters. See Model.get_parameters() for more info if parameters is None. :type p: array_like, optional :param add_0: Adds 0 at t=0 at the start of the response, defaults to False. :type add_0: bool, optional :param dt: timestep for the response function. :type dt: float, optional :param kwargs: Kwargs are passed onto _get_response() :type kwargs: dict, optional :returns: **b** -- Pandas.Series with the block response. The index is based on the frequency that is present in the model.settings. :rtype: pandas.Series or None .. !! processed by numpydoc !!