From tischler at anl.gov Mon Sep 3 13:38:56 2018
From: tischler at anl.gov (Tischler, Jonathan Z.)
Date: Mon, 3 Sep 2018 20:38:56 +0000


Subject: Writing Igor experiment from Python?
In-Reply-To: <18BA2F58-C30B-448C-9EA5-40245F456AA7@anl.gov>
References: <18BA2F58-C30B-448C-9EA5-40245F456AA7@anl.gov>
Message-ID: <400B2A11-0597-438D-B783-69F6919BD398@anl.gov>

Here is what I use.

It will make an *.itx file and loads into igor by just double-clicking.

Jon

If the attached python code is removed, you should be able to get the file from:
https://anl.box.com/s/kgmxn20sgtbmmhk7qmtkd9z9uf2wbhdv
it is only 9.7KB long.





> On Sep 2, 2018, at 8:33 PM, Ilavsky, Jan <ilavsky at aps.anl.gov> wrote:
>
> Hello,
>
> 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.
>
> Anyone has done something similar? Any chance there is available solution?
>
> Search on web and Wavemetrics web site did not help, missed something?
>
> Note:
> 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.
> 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.
> 3. I read the PTN003 on format of pxp file. One of the reasons I am asking for help ;-)
>
> Sincerely
>
> Jan
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://info-igor.org/attachments/20180903/45b1cbaf/attachment.html>
> _______________________________________________
> Info-igor mailing list
> Info-igor at lists.info-igor.org
> http://lists.info-igor.org/listinfo.cgi/info-igor-info-igor.org


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://info-igor.org/attachments/20180903/2593b0a9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IgorSupport.py
Type: text/x-python-script
Size: 10035 bytes
Desc: IgorSupport.py
URL: <http://info-igor.org/attachments/20180903/2593b0a9/attachment.bin>