Johnstone, I.M. and Silverman, B.W. (2004) Needles and hay in haystacks: Empirical Bayes estimates of possibly sparse sequences. Ann. Statist., 32, 1594--1649.
Bernard Silverman's website:
denoise
,denoisehetero
, denoiseheteromp
, denoiseheteroprop