original_docstring:  Obtain the lowest spin multiplicity state that can be obtained
          from a set of multiplciities
  
          :param mults: spin multiplicities
          :type mults: tuple(int)
          :rtype: int
      
docstring: Obtain the lowest spin multiplicity state that can be obtained
  from a set of multiplciities
docstring_tokens: Obtain the lowest spin multiplicity state that can be obtained from a set of multiplciities
code: def _low(mults):
      """ Obtain the lowest spin multiplicity state that can be obtained
          from a set of multiplciities
  
          :param mults: spin multiplicities
          :type mults: tuple(int)
          :rtype: int
      """
      spns = list(map(_spin, mults))
      num = len(spns)
      low_spn = min(map(abs, map(sum, (
          numpy.multiply(spns, sgns)
          for sgns in itertools.product([+1, -1], repeat=num)))))
      return int(low_spn + 1)
code_tokens: def _low ( mults ) : spns = list ( map ( _spin , mults ) ) num = len ( spns ) low_spn = min ( map ( abs , map ( sum , ( numpy . multiply ( spns , sgns ) for sgns in itertools . product ( [ + 1 , - 1 ] , repeat = num ) ) ) ) ) return int ( low_spn + 1 )
short_docstring: Obtain the lowest spin multiplicity state that can be obtained
  from a set of multiplciities
short_docstring_tokens: Obtain the lowest spin multiplicity state that can be obtained from a set of multiplciities
comment: """ Obtain the lowest spin multiplicity state that can be obtained
          from a set of multiplciities
  
          :param mults: spin multiplicities
          :type mults: tuple(int)
          :rtype: int
      """