code: def lmom_ratios(data, nmom=5):
      
  
      if nmom <= 5:
          return _samlmusmall(data, nmom)
      else:
          return _samlmularge(data, nmom)
docs: Estimate `nmom` number of L-moments from a sample `data`.
  
      :param data: Sequence of (sample) data
      :type data: list or array-like sequence
      :param nmom: number of L-moments to estimate
      :type nmom: int
      :return: L-moment ratios like this: l1, l2, t3, t4, t5, .. . As in: items 3 and higher are L-moment ratios.
      :rtype: list