class_docstr: Declare an interface common to all supported algorithms.
  :class:`SampleMorris` uses this interface to call the algorithm
  defined by a ConcreteStrategy.
docstr: Picks the trajectories from the input
  
  Parameters
  ----------
  input_sample : numpy.ndarray
  num_samples : int
  num_params : int
  maximum_combo : list
  num_groups : int
docstr_tok: ["Picks","the","trajectories","from","the","input","Parameters","--","--","--","--","--","input_sample",":","numpy.ndarray","num_samples",":","int","num_params",":","int","maximum_combo",":","list","num_groups",":","int"]
code: def compile_output(
      self,
      input_sample,
      num_samples,
      num_params,
      maximum_combo,
      num_groups=None,
  ):
      """Picks the trajectories from the input
  
      Parameters
      ----------
      input_sample : numpy.ndarray
      num_samples : int
      num_params : int
      maximum_combo : list
      num_groups : int
  
      """
  
      if num_groups is None:
          num_groups = num_params
  
      self.check_input_sample(input_sample, num_groups, num_samples)
  
      index_list = self._make_index_list(
          num_samples, num_params, num_groups
      )
  
      output = np.zeros(
          (np.size(maximum_combo) * (num_groups + 1), num_params)
      )
      for counter, combo in enumerate(maximum_combo):
          output[index_list[counter]] = np.array(
              input_sample[index_list[combo]]
          )
      return output
  
file_path: SALib/src/SALib/sample/morris/strategy.py
imports: import abc
  import numpy
  from scipy.spatial.distance import cdist
label_desc: Use image node_id 5 for calling the Strategy obj's underlying member method code with example usage: obj.compile_output(input_sample, num_samples, num_params, maximum_combo, num_groups) and returns: output