How to predict magnitudes from spectra

I was wondering if there is an official (preferably Python) tool to compute synthetic LSST photometry given a spectrum.

Hi @jgizis,

Yes there is, and it is in the rubin_sim package, specifically the photUtils module. In a separate repo there are also tutorial notebooks for rubin_sim, and one of them in the Photometry directory is “Calculating Magnitudes”. It provides an example of calculating the expected AB magnitude in each filter for a user-provided spectral energy distribution (SED) with Rubin Observatory.

Let me know if that’s what you’re looking for?

1 Like