7.5.8. mclearn.photometry.fetch_spectrum

mclearn.photometry.fetch_spectrum(spectrum_url)[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