def initial_guess(self, pressure, loading):
    '\n        Return initial guess for fitting.\n\n        Parameters\n        ----------\n        pressure : ndarray\n            Pressure data.\n        loading : ndarray\n            Loading data.\n\n        Returns\n        -------\n        dict\n            Dictionary of initial guesses for the parameters.\n        '
    (saturation_loading, langmuir_k) = super().initial_guess(pressure, loading)
    guess = {'n_m': saturation_loading, 'K': langmuir_k, 'tht': 0.0}
    for param in guess:
        if (guess[param] < self.param_bounds[param][0]):
            guess[param] = self.param_bounds[param][0]
        if (guess[param] > self.param_bounds[param][1]):
            guess[param] = self.param_bounds[param][1]
    return guess
Return initial guess for fitting.

Parameters
----------
pressure : ndarray
    Pressure data.
loading : ndarray
    Loading data.

Returns
-------
dict
    Dictionary of initial guesses for the parameters.
def initial_guess(self, pressure, loading):
    '\n        Return initial guess for fitting.\n\n        Parameters\n        ----------\n        pressure : ndarray\n            Pressure data.\n        loading : ndarray\n            Loading data.\n\n        Returns\n        -------\n        dict\n            Dictionary of initial guesses for the parameters.\n        '
    (saturation_loading, langmuir_k) = super().initial_guess(pressure, loading)
    guess = {'n_m': saturation_loading, 'K': langmuir_k, 'tht': 0.0}
    for param in guess:
        if (guess[param] < self.param_bounds[param][0]):
            guess[param] = self.param_bounds[param][0]
        if (guess[param] > self.param_bounds[param][1]):
            guess[param] = self.param_bounds[param][1]
    return guess