Analytic functions with blackbody

See #3077 
:+1: