Functional estimation of diversity profiles