I would like to create a script to download the magnitudes from a set of objects. For example the ones which appear here:
http://mirror.sdss3.org/spectrumDetail?plateid=556&mjd=51991&fiber=312
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:
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'])
However, from the images downloaded I cannot find the magnitudes. How can I find the magnitudes of my objects?