FiSGO.OrderSearch.absolute_bound_filter

absolute_bound_filter(group_list, bound, codes)[source]

Given a list of simple groups, returns only those whose order is less than or equal to a given bound.

Parameters:
  • group_list (list[str] | list[SimpleGroup]) – List of simple group codes (strings) or SimpleGroup derived objects corresponding to specific simple groups.

  • bound (int) – An integer.

  • codes (bool) – True if group_list provides simple group codes, False if it provides SimpleGroup derived objects.

Returns:

Returns a list of simple groups codes (strings) if codes is True, or a list of SimpleGroup derived objects if codes is false. The list contains only simple groups whose order is less than or equal to bound