visbrain.objects.VolumeObj.pos_to_slice

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

Return the slice from position.