Analytic functions with blackbody

See #3077