Stimulation location encoding on the spike train of neuron models with passive dendrite