Hi all, I want to share a cool notebook I just made with you all. It uses an IPython 2.0 javascript widget to interactively control a yt SlicePlot. Since the widget needs to talk to a live kernel, you'll need to run the notebook locally to get the full awesomeness. http://nbviewer.ipython.org/gist/ngoldbaum/8971185 This took me all of ten minutes to set up based on Fernando's example [1] and works pretty much out of the box with IPython 2.0. I highly encourage you to clone the IPython repo and test out the new version on the master branch. I think this will open up a lot of room for interactivity and discovery with yt's plot objects. -Nathan [1] https://twitter.com/fperez_org/status/433856794436194304
Hi Nathan, Fabulous! I played around with it and it's neat. Something I've long wanted to do is to draw a line interactively on a plot and return a profile (a "ray" in our context) from that line. I suppose we might be able to do something like that? Best, John On Feb 13, 2014, at 2:43 AM, Nathan Goldbaum <nathan12343@gmail.com> wrote:
Hi all,
I want to share a cool notebook I just made with you all. It uses an IPython 2.0 javascript widget to interactively control a yt SlicePlot. Since the widget needs to talk to a live kernel, you'll need to run the notebook locally to get the full awesomeness.
http://nbviewer.ipython.org/gist/ngoldbaum/8971185
This took me all of ten minutes to set up based on Fernando's example [1] and works pretty much out of the box with IPython 2.0.
I highly encourage you to clone the IPython repo and test out the new version on the master branch. I think this will open up a lot of room for interactivity and discovery with yt's plot objects.
-Nathan
[1] https://twitter.com/fperez_org/status/433856794436194304 _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
Hi John, I'm not sure. Check out the widget example notebooks: https://github.com/ipython/ipython/tree/master/examples/widgets Your answer might be in one of the examples. I also believe these widgets will be getting more sophisticated in future IPython releases, including nbviewer support. On Thursday, February 13, 2014, John ZuHone <jzuhone@gmail.com> wrote:
Hi Nathan,
Fabulous! I played around with it and it's neat.
Something I've long wanted to do is to draw a line interactively on a plot and return a profile (a "ray" in our context) from that line. I suppose we might be able to do something like that?
Best,
John
On Feb 13, 2014, at 2:43 AM, Nathan Goldbaum <nathan12343@gmail.com<javascript:;>> wrote:
Hi all,
I want to share a cool notebook I just made with you all. It uses an IPython 2.0 javascript widget to interactively control a yt SlicePlot. Since the widget needs to talk to a live kernel, you'll need to run the notebook locally to get the full awesomeness.
http://nbviewer.ipython.org/gist/ngoldbaum/8971185
This took me all of ten minutes to set up based on Fernando's example [1] and works pretty much out of the box with IPython 2.0.
I highly encourage you to clone the IPython repo and test out the new version on the master branch. I think this will open up a lot of room for interactivity and discovery with yt's plot objects.
-Nathan
[1] https://twitter.com/fperez_org/status/433856794436194304 _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org <javascript:;> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
_______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org <javascript:;> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
I am blown away. On Thu, Feb 13, 2014 at 8:44 AM, Nathan Goldbaum <nathan12343@gmail.com>wrote:
Hi John, I'm not sure.
Check out the widget example notebooks: https://github.com/ipython/ipython/tree/master/examples/widgets
Your answer might be in one of the examples. I also believe these widgets will be getting more sophisticated in future IPython releases, including nbviewer support.
On Thursday, February 13, 2014, John ZuHone <jzuhone@gmail.com> wrote:
Hi Nathan,
Fabulous! I played around with it and it's neat.
Something I've long wanted to do is to draw a line interactively on a plot and return a profile (a "ray" in our context) from that line. I suppose we might be able to do something like that?
Best,
John
On Feb 13, 2014, at 2:43 AM, Nathan Goldbaum <nathan12343@gmail.com> wrote:
Hi all,
I want to share a cool notebook I just made with you all. It uses an IPython 2.0 javascript widget to interactively control a yt SlicePlot. Since the widget needs to talk to a live kernel, you'll need to run the notebook locally to get the full awesomeness.
http://nbviewer.ipython.org/gist/ngoldbaum/8971185
This took me all of ten minutes to set up based on Fernando's example [1] and works pretty much out of the box with IPython 2.0.
I highly encourage you to clone the IPython repo and test out the new version on the master branch. I think this will open up a lot of room for interactivity and discovery with yt's plot objects.
-Nathan
[1] https://twitter.com/fperez_org/status/433856794436194304 _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
_______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
_______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
That's amazing, Nathan! Nice work showing off some of the new features in IPython 2.0. One small note for people not on unitrefactor... "density" -> "Density", and it worked flawlessly. I think this opens up a lot of interactive possibilities. Interactive volume rendering in a notebook would be my favorite :) If you could have a widget with a transfer function editor, a viewpoint widget, and a camera path widget, I'd be golden. Then once everything looks good, then you could have the option to render the HD version. Cheers, John On 02/13/2014 02:43 AM, Nathan Goldbaum wrote:
Hi all,
I want to share a cool notebook I just made with you all. It uses an IPython 2.0 javascript widget to interactively control a yt SlicePlot. Since the widget needs to talk to a live kernel, you'll need to run the notebook locally to get the full awesomeness.
http://nbviewer.ipython.org/gist/ngoldbaum/8971185
This took me all of ten minutes to set up based on Fernando's example [1] and works pretty much out of the box with IPython 2.0.
I highly encourage you to clone the IPython repo and test out the new version on the master branch. I think this will open up a lot of room for interactivity and discovery with yt's plot objects.
-Nathan
[1] https://twitter.com/fperez_org/status/433856794436194304 _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
-- John Wise Assistant Professor of Physics Center for Relativistic Astrophysics, Georgia Tech http://cosmo.gatech.edu
John, I'm thinking the exact same thing. I'm going to sprint on this later today. Sam On Thu, Feb 13, 2014 at 11:23 AM, John Wise <jwise@physics.gatech.edu>wrote:
That's amazing, Nathan! Nice work showing off some of the new features in IPython 2.0. One small note for people not on unitrefactor... "density" -> "Density", and it worked flawlessly.
I think this opens up a lot of interactive possibilities. Interactive volume rendering in a notebook would be my favorite :) If you could have a widget with a transfer function editor, a viewpoint widget, and a camera path widget, I'd be golden. Then once everything looks good, then you could have the option to render the HD version.
Cheers, John
On 02/13/2014 02:43 AM, Nathan Goldbaum wrote:
Hi all,
I want to share a cool notebook I just made with you all. It uses an IPython 2.0 javascript widget to interactively control a yt SlicePlot. Since the widget needs to talk to a live kernel, you'll need to run the notebook locally to get the full awesomeness.
http://nbviewer.ipython.org/gist/ngoldbaum/8971185
This took me all of ten minutes to set up based on Fernando's example [1] and works pretty much out of the box with IPython 2.0.
I highly encourage you to clone the IPython repo and test out the new version on the master branch. I think this will open up a lot of room for interactivity and discovery with yt's plot objects.
-Nathan
[1] https://twitter.com/fperez_org/status/433856794436194304 _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
-- John Wise Assistant Professor of Physics Center for Relativistic Astrophysics, Georgia Tech http://cosmo.gatech.edu
_______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
Sam just posted this on twitter: http://nbviewer.ipython.org/url/www.slac.stanford.edu/~skillman/nbviews/Inte... On Thursday, February 13, 2014, Sam Skillman <samskillman@gmail.com> wrote:
John,
I'm thinking the exact same thing. I'm going to sprint on this later today.
Sam
On Thu, Feb 13, 2014 at 11:23 AM, John Wise <jwise@physics.gatech.edu<javascript:_e(%7B%7D,'cvml','jwise@physics.gatech.edu');>
wrote:
That's amazing, Nathan! Nice work showing off some of the new features in IPython 2.0. One small note for people not on unitrefactor... "density" -> "Density", and it worked flawlessly.
I think this opens up a lot of interactive possibilities. Interactive volume rendering in a notebook would be my favorite :) If you could have a widget with a transfer function editor, a viewpoint widget, and a camera path widget, I'd be golden. Then once everything looks good, then you could have the option to render the HD version.
Cheers, John
On 02/13/2014 02:43 AM, Nathan Goldbaum wrote:
Hi all,
I want to share a cool notebook I just made with you all. It uses an IPython 2.0 javascript widget to interactively control a yt SlicePlot. Since the widget needs to talk to a live kernel, you'll need to run the notebook locally to get the full awesomeness.
http://nbviewer.ipython.org/gist/ngoldbaum/8971185
This took me all of ten minutes to set up based on Fernando's example [1] and works pretty much out of the box with IPython 2.0.
I highly encourage you to clone the IPython repo and test out the new version on the master branch. I think this will open up a lot of room for interactivity and discovery with yt's plot objects.
-Nathan
[1] https://twitter.com/fperez_org/status/433856794436194304 _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org<javascript:_e(%7B%7D,'cvml','yt-dev@lists.spacepope.org');> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
-- John Wise Assistant Professor of Physics Center for Relativistic Astrophysics, Georgia Tech http://cosmo.gatech.edu
_______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org<javascript:_e(%7B%7D,'cvml','yt-dev@lists.spacepope.org');> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
participants (4)
-
John Wise
-
John ZuHone
-
Nathan Goldbaum
-
Sam Skillman