def look_at(self, params):
        if self.ds9 is None:
            self.load_longitude(params[0])

        l, b = params[1:3]
        r = params[-1]

        #this is a hacky guess
        zoom = 2 / 3600. / r * 500

        self.ds9.set('pan to {l} {b} galactic'.format(l=l, b=b))
        self.ds9.set('zoom to %f' % zoom)
Center on a specific bubble
dataset/ETHPy150Open ChrisBeaumont/brut/bubbly/viewer.py/BubblyViewer.look_at