comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL kernel for IPython/Jupyter Notebooks
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL kernel for IPython/Jupyter Notebooks [message #89219 is a reply to message #89217] Tue, 05 August 2014 12:14 Go to previous messageGo to previous message
lstagner89 is currently offline  lstagner89
Messages: 10
Registered: June 2014
Junior Member
Thanks Mike,

> 1. There are a few error messages at the command line where I
>
> launched IPython.

I believe these are IPython errors. I expect they will be fixed before the 3.0 release

> 2. It prints debug type messages like
>
> .run /var/folders/3l/5497218j7x99gbh9xdh8fn500000gp/T/tmppbCisE
>
> in the notebook after I execute a command.

What the kernel does is that it writes the contents of a cell into a temporary file and then runs it. This allows the kernel to compile functions and procedures. I do not have the debug messages though since I have the kernel set !quiet=1. I'm not sure why you see it.

> 3. I see a red flash before inline graphics appear in the notebook.

This is actually an IDL graphics window popping up and then being destroyed. In the kernel a png of the plot is produced and is then sent to the notebook. I tried writing the png directly but it caused some issues.

1. Plot colors were not correct

I am not sure what caused this. It may have been a shortcoming of GDL

2. The ability to compile functions and procedures were lost.

Expressions needed to produce the png were written to the file before the cell input which is not allowed if the cell contains procedures. This could be solved by parsing the cell input and writing the procedures to the temporary file first or perhaps by using multiple execute statements

Inline plotting is an area that needs improvement. In addition to the issues I mentioned, if there are multiple plots in a cell then only the last one will be displayed (the rest will be in graphics window).

-Luke
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: checking if PS output file already open
Next Topic: Re: Is it possible to speed up the Interpolate command?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 06:58:40 PDT 2025

Total time taken to generate the page: 0.48111 seconds