QSOSED_SPECTRUM#
Name#
QSOSED_SPECTRUM
Purpose#
Generates the qsosed spectrum (in count-rate density and optionally \(L_\nu\)) corresponding to given values of \(M\) and \(\log(\dot{M})\) using the models from Kubota & Done (2018).
Calling Sequence#
count_rate = qsosed_spectrum(xray_models, agn_mass, agn_logmdot [, $
/error_check, L2500=L2500, Lnu=Lnu])
Inputs#
xray_modelsstructureA structure containing the spectra, counts, and X-ray model parameters. (See
xrb_xagn_models.profor details and contents.)agn_massint, float, or double array(Nmodels)Supermassive black hole mass \([M_\odot]\).
agn_logmdotint, float, or double array(Nmodels)Log10 of SMBH accretion rate, normalized by the Eddington rate.
Optional Input#
error_checkflagIf set, all inputs are checked for errors. Otherwise, all inputs are assumed to be of correct format.
Output#
count_ratedouble array(Nwave, Nmodels)Full-resolution count-rate density spectrum \([{\rm counts\ s^{-1}\ Hz^{-1}}]\).
Optional Outputs#
L2500double array(Nmodels)The rest-frame 2500 Angstrom monochromatic luminosity shifted to the observed frame \([L_\odot\ {\rm Hz}^{-1}]\).
Lnudouble array(Nwave, Nmodels)Full-resolution qsosed spectrum in the observed-frame \([L_\odot\ {\rm Hz}^{-1}]\).
Reference#
Modification History#
2022/04/18: Created (Erik B. Monson)
2022/06/20: Added error handling (Keith Doore)
2022/06/20: Added
error_checkkeyword to do error handling (Keith Doore)2022/06/20: Made
massandlogmdotrequired inputs (Keith Doore)