int_get_ordered module

itrails.int_get_ordered.get_ordered(p_ABC, omega_end, omega_tot)[source]

This functions orders a list of probabilities given a list of its indices and a list with all possible indices.

Parameters:
  • p_ABC (list of floats) – Probabilities to be ordered

  • omega_end (list of integers) – Indices of the probabilities

  • omega_tot (list of integers) – List of all possible indices