A semi-empirical method for the determination of the spatial distribution of channeled ions