7.5.7. mclearn.photometry.fetch_filter

mclearn.photometry.fetch_filter(filter, download_url)[source]

Get a filter from the internet.

Parameters:
  • filter (char) – Name of the filters. Must be one of u, g, r, i, and z.
  • download_url (str) – The URL where the filter can be downloaded.
Returns:

data – The downloaded filter data.

Return type:

array