Run a cone search of the GALEX archive

def coneSearch(self, center, radius=3*u.arcmin, magnitudelimit=25):
        '''
        Run a cone search of the GALEX archive
        '''


        self.magnitudelimit = magnitudelimit

        # run the query
        self.speak('querying GALEX, centered on {} with radius {}'.format(center, radius, magnitudelimit))

        coordinatetosearch = '{0.ra.deg} {0.dec.deg}'.format(center)
        table = astroquery.mast.Catalogs.query_region(coordinates=center, radius=radius, catalog='GALEX')



        # the gaia DR2 epoch is 2015.5
        epoch = 2005#???

        # create skycoord objects
        self.coordinates = coord.SkyCoord(  ra=table['ra'].data*u.deg,
                                        dec=table['dec'].data*u.deg,
                                        obstime=Time(epoch, format='decimalyear'))

        self.magnitudes = dict(NUV=table['nuv_mag'].data, FUV=table['fuv_mag'].data)
        self.magnitude = self.magnitudes['NUV']