Electron population analysis with rigid pseudoatoms