class_docstr: Ivim model
      
docstr: Predict a signal for this IvimModel class instance given parameters.
  
  Parameters
  ----------
  ivim_params : array
      The ivim parameters as an array [S0, f, D_star and D]
  
  gtab : GradientTable class instance
      Gradient directions and bvalues.
  
  S0 : float, optional
      This has been added just for consistency with the existing
      API. Unlike other models, IVIM predicts S0 and this is over written
      by the S0 value in params.
  
  Returns
  -------
  ivim_signal : array
      The predicted IVIM signal using given parameters.
code: def predict(self, ivim_params, gtab, S0=1.0):
      """
      Predict a signal for this IvimModel class instance given parameters.
  
      Parameters
      ----------
      ivim_params : array
          The ivim parameters as an array [S0, f, D_star and D]
  
      gtab : GradientTable class instance
          Gradient directions and bvalues.
  
      S0 : float, optional
          This has been added just for consistency with the existing
          API. Unlike other models, IVIM predicts S0 and this is over written
          by the S0 value in params.
  
      Returns
      -------
      ivim_signal : array
          The predicted IVIM signal using given parameters.
      """
      return ivim_prediction(ivim_params, gtab)
  
imports: import warnings
  import numpy
  from scipy.optimize import least_squares, differential_evolution
  from dipy.reconst.base import ReconstModel
  from dipy.reconst.multi_voxel import multi_voxel_fit
  from dipy.utils.optpkg import optional_package
label_desc: Use image node_id 5 for calling the IvimModelTRR obj's underlying member method code with example usage: obj.predict(ivim_params, gtab, S0) and returns: ivim_prediction