rubin_sim.skybrightness.load_spec_files(filenames, mags=False)

Load up the ESO spectra.

The ESO npz files contain the following arrays: * filter_wave: The central wavelengths of the pre-computed magnitudes * wave: wavelengths for the spectra * spec: array of spectra and magnitudes along with the relevant variable inputs. For example, airglow has dtype = [(‘airmass’, ‘<f8’), (‘solar_flux’, ‘<f8’), (‘spectra’, ‘<f8’, (17001,)), (‘mags’, ‘<f8’, (6,)]

For each unique airmass and solar_flux value, there is a 17001 elements spectra and 6 magnitudes.