Framework for emission and spectra simulation of bifrost simulations