A simple numerical procedure is proposed to calculate valence-band and core
-level photoemission spectra of 4f systems. The procedure is based on the s
ingle-impurity Anderson model with an infinite degeneracy of the f level an
d represents a minimal version of the Gunnarsson-Schonhammer approach. It e
xtends the method of Imer and Wuilloud by taking into account the realistic
valence-band structure but keeping its numerical simplicity. As an example
several spectra of Ce compounds are calculated and compared with experimen
t.