pytc.xtc._chunk_selector¶ pytc.xtc._chunk_selector(idx, start, stop)[source]¶ Convert a contiguous subrange of indices into a slice when possible.