create_expr

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

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