7.5.8. mclearn.photometry.fetch_spectrum

mclearn.photometry.fetch_spectrum(spectrum_url, spectra_dir='')[source]

Get a spectrum from the internet.

Parameters:spectrum_url (str) – The URL where the spectrum can be downloaded.
Returns:data – The downloaded spectrum data.
Return type:array