generate transmission spectra, including library form