identify_ranges

compas_fea2.utilities.identify_ranges(data)[source]

Identifies continuous interger series from a list and returns a list of ranges.

Parameters:

data (list) – The list of intergers to process.

Returns:

list – A list of identified ranges.