We present a new iterative procedure to extract the level density and the
gamma strength function from primary gamma spectra for energies close up to the
neutron binding energy. The procedure is tested on simulated spectra and on
data from the Yb-173(He-3,alpha)Yb-172 reaction.Comment: 23 pages including 1 table and 7 figure