<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head><body style="font-family: arial,helvetica,sans-serif; font-size: 13pt"><p><br></p><blockquote type="cite"><p style="font-family: Arial,Helvetica,sans-serif; font-size: 14px;"><strong style="color: #000;">envoyé :</strong> <span style="color: #666;">3 septembre 2018 à 03:33</span><br><strong style="color: #000;">de :</strong> <span style="color: #666;">"Ilavsky, Jan" <ilavsky@aps.anl.gov></span><br><strong style="color: #000;">à :</strong> <span style="color: #666;">Igor Discussion List <info-igor@lists.info-igor.org></span><br><strong style="color: #000;">objet :</strong> <span style="color: #666;">*** SPAM *** Writing Igor experiment from Python?</span></p><p><span style="font-size: 13pt;"> Hello Jan (and users)</span><br></p></blockquote><p>I sometime (frequently) use Igor to visualize data gathered or processed through python.<br></p><p>The simplest solution is to write (from python) an "Igor Text File" (.itx extension).<br></p><p>Beside the data, this format allows to include any command you could type from command line.<br></p><p>Opening this file loads the data into Igor and plot it (through the included commands).<br></p><p>If the data is "large", I recommend to write it in binary to disk (possibly as HDF5)<br></p><p>along with an "Igor Text File" containing the commands to load this data and to plot it.<br></p><p><br></p><p>I believe that python is (in some way) a complementary tool, convenient to use along with Igor<br></p><p><br></p><p>Francis<br></p><blockquote type="cite"><p><br>Hello,<br><br>colleague of mine would like to write Igor experiment with data and graph recreation macro - the type of Igor Experiment you get when you run “Save Graph Copy…”. From his python package. To provide better plotting tool for users - I think he does not want to provide more graphing support in it.<br><br>Anyone has done something similar? Any chance there is available solution?<br><br>Search on web and Wavemetrics web site did not help, missed something?<br><br>Note:<br>1. I personally would prefer dump data in HDF5 and write Igor support to load and graph that. More flexible, but requires install of that support in Igor.<br>2. I know about http://blog.tremily.us/posts/igor/, but that is read data FROM Igor TO Python, I need the other way around.<br>3. I read the PTN003 on format of pxp file. One of the reasons I am asking for help ;-)<br><br>Sincerely<br><br>Jan<br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <http://lists.info-igor.org/private.cgi/info-igor-info-igor.org/attachments/20180903/45b1cbaf/attachment.html><br>_______________________________________________<br>Info-igor mailing list<br>Info-igor@lists.info-igor.org<br>http://lists.info-igor.org/listinfo.cgi/info-igor-info-igor.org</p></blockquote></body></html>