code: def _check_min(par, minval, name, unit, verb):
      r
      scalar = False
      if par.shape == ():
          scalar = True
          par = np.atleast_1d(par)
      if minval is not None:
          ipar = np.where(par < minval)
          par[ipar] = minval
          if verb > 0 and np.size(ipar) != 0:
              print('* WARNING :: ' + name + ' < ' + str(minval) + ' ' + unit +
                    ' are set to ' + str(minval) + ' ' + unit + '!')
      if scalar:
          return np.squeeze(par)
      else:
          return par
docs: r"""Check minimum value of parameter.