visbrain.objects.RoiObj.pos_to_slice

RoiObj.pos_to_slice(pos, axis=None, hdr=None)[source]

Return the slice from position.