Spatial distribution of channeled ions