{"action":"created","issue":{"url":"https://api.github.com/repos/tardis-sn/tardis/issues/296","labels_url":"https://api.github.com/repos/tardis-sn/tardis/issues/296/labels{/name}","comments_url":"https://api.github.com/repos/tardis-sn/tardis/issues/296/comments","events_url":"https://api.github.com/repos/tardis-sn/tardis/issues/296/events","html_url":"https://github.com/tardis-sn/tardis/pull/296","id":73270183,"number":296,"title":"Gui with menubars(WIP)","user":{"login":"gautam1168","id":9499740,"avatar_url":"https://avatars.githubusercontent.com/u/9499740?v=3","gravatar_id":"","url":"https://api.github.com/users/gautam1168","html_url":"https://github.com/gautam1168","followers_url":"https://api.github.com/users/gautam1168/followers","following_url":"https://api.github.com/users/gautam1168/following{/other_user}","gists_url":"https://api.github.com/users/gautam1168/gists{/gist_id}","starred_url":"https://api.github.com/users/gautam1168/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gautam1168/subscriptions","organizations_url":"https://api.github.com/users/gautam1168/orgs","repos_url":"https://api.github.com/users/gautam1168/repos","events_url":"https://api.github.com/users/gautam1168/events{/privacy}","received_events_url":"https://api.github.com/users/gautam1168/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":60,"created_at":"2015-05-05T10:16:35Z","updated_at":"2015-06-04T15:06:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tardis-sn/tardis/pulls/296","html_url":"https://github.com/tardis-sn/tardis/pull/296","diff_url":"https://github.com/tardis-sn/tardis/pull/296.diff","patch_url":"https://github.com/tardis-sn/tardis/pull/296.patch"},"body":"GUI under construction. \r\n\r\nRunning the gui\r\n--------------------\r\n\r\n1. Navigate to the folder where you have the yaml configuration file and the hdf5 data file.\r\n2. Setup the Qt binding you want to use. (Use only one of the following two lines)\r\n\r\n ```bash\r\n     export QT_API=pyside\r\n     export QT_API=pyqt    \r\n     ``` \r\n\r\n     Then start the ipython console with eventloop integration.\r\n\r\n ```bash \r\n    ipython --pylab=qt4\r\n     ```\r\n\r\n3. import the gui\r\n\r\n ```python\r\n    from tardis import gui\r\n    ```\r\n\r\n4. To run the active mode:\r\n ```python\r\n     win = gui.Tardis(None, 'config.yml', 'data.h5')\r\n     ```\r\n   To run the passive mode you need to have a model already calculated and ready to be displayed:\r\n   \r\n ```python\r\n    win = gui.Tardis()\r\n    win.show_model(mdl)\r\n    ```\r\n\r\n   \r\n"},"comment":{"url":"https://api.github.com/repos/tardis-sn/tardis/issues/comments/108927960","html_url":"https://github.com/tardis-sn/tardis/pull/296#issuecomment-108927960","issue_url":"https://api.github.com/repos/tardis-sn/tardis/issues/296","id":108927960,"user":{"login":"wkerzendorf","id":506116,"avatar_url":"https://avatars.githubusercontent.com/u/506116?v=3","gravatar_id":"","url":"https://api.github.com/users/wkerzendorf","html_url":"https://github.com/wkerzendorf","followers_url":"https://api.github.com/users/wkerzendorf/followers","following_url":"https://api.github.com/users/wkerzendorf/following{/other_user}","gists_url":"https://api.github.com/users/wkerzendorf/gists{/gist_id}","starred_url":"https://api.github.com/users/wkerzendorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkerzendorf/subscriptions","organizations_url":"https://api.github.com/users/wkerzendorf/orgs","repos_url":"https://api.github.com/users/wkerzendorf/repos","events_url":"https://api.github.com/users/wkerzendorf/events{/privacy}","received_events_url":"https://api.github.com/users/wkerzendorf/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T15:06:48Z","updated_at":"2015-06-04T15:06:48Z","body":"It looks nice! Thank you. "}}