parameters: (_lambda, num, largest)
return_statement: return ii
docstring: Get `num` indices into `_lambda` depending on `largest` option.
docstring_summary: Get `num` indices into `_lambda` depending on `largest` option.
docstring_tokens: Get num indices into _lambda depending on largest option .
function: def _get_indx(_lambda, num, largest):
      """Get `num` indices into `_lambda` depending on `largest` option."""
      ii = np.argsort(_lambda)
      if largest:
          ii = ii[:-num-1:-1]
      else:
          ii = ii[:num]
  
      return ii
function_tokens: def _get_indx ( _lambda , num , largest ) : ii = np . argsort ( _lambda ) if largest : ii = ii [ : - num - 1 : - 1 ] else : ii = ii [ : num ] return ii