pywwt icon indicating copy to clipboard operation
pywwt copied to clipboard

center_on_coordinates not rendering smoothly despite instant=False

Open catherinezucker opened this issue 6 years ago • 1 comments

I'm trying to smoothly transition between a "top down" and "edge on" view of the Milky Way by sending the center_on_coordinates function two different SkyCoord objects. I have set instant=False in hopes of smoothly transitioning from one view to another. However, it still appears to render instantly. Is this an issue with WorldWide Telescope, or is it possible to do this in pywwt? Thanks :)

import pywwt 
from pywwt.qt import WWTQtClient  
from astropy.table import Table
from astropy import units as u
from astropy.coordinates import SkyCoord

%gui qt
wwt = WWTQtClient(block_until_ready=True)

wwt.set_view('Milky Way')
wwt.solar_system.cosmos = False
wwt.solar_system.stars = False

##Enter this view
wwt.center_on_coordinates(SkyCoord(-114.85, 40, unit=u.deg),
                                       fov=1e9*u.deg, instant=False)
                                       
##Then this view
wwt.center_on_coordinates(SkyCoord(0, 0, unit=u.deg),
                                       fov=5e8*u.deg, instant=False)
                                               

catherinezucker avatar Feb 22 '19 21:02 catherinezucker