egttools.utils.calculate_nb_unique_combinations¶
- calculate_nb_unique_combinations(slots_per_bin)[source]¶
Calculates the number of unique combinations given the required number of elements of each group, which should be given in List format in the slots_per_bin parameter.
- Parameters
slots_per_bin (Union[List[int], numpy.ndarray]) – The list should contain the required number of elements of each group that should be combined in a tuple of length sum(slots_per_bin).
- Returns
The total number of unique combinations of the groups in the available slots.
- Return type