lstranges

sisl.utils.lstranges(lst, cast=<function erange at 0x7f1364cbc9d8>, end=None)[source]

Convert a strmap list into expanded ranges