qspec.models. Offset.gen_offset_masks ( x )[source] Generate the array masks corresponding to the x_cuts. Parameters: xarray_like The input values. Returns: outNone