where R l (r) is the radial part of the wavefunction with angular momentum l, and PP and AE denote the pseudo-wavefunction and the true (all-electron) wavefunction respectively. The index n in the true wavefunctions denotes the valence level. The distance r l beyond which the true and the pseudo-wavefunctions are equal is also dependent on l.