title: How to use Astropy/Astroquery to get Sloan magnitudes
body: <p>I would like to create a script to download the magnitudes from a set of objects. For example the ones which appear here:</p>
  
  <p><a href="http://mirror.sdss3.org/spectrumDetail?plateid=556&amp;mjd=51991&amp;fiber=312" rel="nofollow">http://mirror.sdss3.org/spectrumDetail?plateid=556&amp;mjd=51991&amp;fiber=312</a></p>
  
  <p>As an input I have the object coordinates (which I get from the astroquery get_spec method as I know the object's mjd, plate and fiber). I am trying to use the example on the astroquery site:</p>
  
  <pre><code>from astropy import coordinates as coords
  from astroquery.sdss import SDSS
  
  co = coords.SkyCoord(143.50993, 55.239775, unit="deg")
  result = SDSS.query_region(co)
  imgs = SDSS.get_images(co, band = ['g', 'r'])
  </code></pre>
  
  <p>However, from the images downloaded I cannot find the magnitudes. How can I find the magnitudes of my objects?</p>