create_expr

sherpa.utils.create_expr(vals, mask=None, format='%s', delim='-')[source] [edit on github]

collapse a list of channels into an expression using hyphens and commas to indicate filtered intervals.