<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Thanks to MS and Francis!
<div class=""><br class="">
</div>
<div class="">I missed this. This may solve the problem I have and effectively distribute both data and Igor text file with code to display the data… </div>
<div class=""><br class="">
</div>
<div class="">
<div class="">
<div dir="auto" style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px; font-size: 14px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Sincerely<br class="">
<br class="">
Jan<br class="">
*****************************************************************<br class="">
Dr. Jan Ilavsky, physicist<br class="">
X-Ray Science Division<br class="">
Advanced Photon Source<br class="">
Argonne National Laboratory<br class="">
9700 S. Cass Avenue, bldg 433A002<br class="">
Argonne, IL 60439, USA<br class="">
Phone:<span class="Apple-converted-space"> </span><span class="Apple-tab-span" style="white-space: pre;">
</span>(630) 252-0866<br class="">
e-mail:<span class="Apple-converted-space"> </span><span class="Apple-tab-span" style="white-space: pre;">
</span><a href="mailto:ilavsky@aps.anl.gov" class="">ilavsky@aps.anl.gov</a><br class="">
Skype:<span class="Apple-converted-space"> </span><span class="Apple-tab-span" style="white-space: pre;">
</span>Honzail</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px; font-size: 14px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Facetime:<a href="mailto:ilavsky@aps.anl.gov" class="">ilavsky@aps.anl.gov</a></div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px; font-size: 14px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<br class="">
>>> SAS2018 conference: <a href="http://sas2018.anl.gov" class="">http://sas2018.anl.gov</a> <<<</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px; font-size: 14px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<br class="">
web page:<br class="">
<a href="https://usaxs.xray.aps.anl.gov/staff/jan-ilavsky" class="">https://usaxs.xray.aps.anl.gov/staff/jan-ilavsky</a><br class="">
Indra web page: <a href="https://usaxs.xray.aps.anl.gov/software/indra" class="">https://usaxs.xray.aps.anl.gov/software/indra</a><br class="">
Irena web page: <a href="https://usaxs.xray.aps.anl.gov/software/irena" class="">https://usaxs.xray.aps.anl.gov/software/irena</a><br class="">
Nika web page: <a href="https://usaxs.xray.aps.anl.gov/software/nika" class="">https://usaxs.xray.aps.anl.gov/software/nika</a><br class="">
USAXS web page: <a href="https://usaxs.xray.aps.anl.gov" class="">https://usaxs.xray.aps.anl.gov</a><br class="">
APS small-angle page: <a href="https://small-angle.aps.anl.gov/" style="text-align: -webkit-auto;" class="">https://small-angle.aps.anl.gov/</a></div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px; font-size: 14px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Youtube channel: <a href="https://www.youtube.com/channel/UCDTzjGr3mAbRi3O4DJG7xHA/about" style="text-align: -webkit-auto;" class="">https://www.youtube.com/channel/UCDTzjGr3mAbRi3O4DJG7xHA/about</a></div>
<div style="font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Shipping instructions: <a href="https://usaxs.xray.aps.anl.gov/documentation/shipping-instructions" style="text-align: -webkit-auto;" class=""><span style="text-align: -webkit-auto;" class="">https://usaxs.xray.aps.anl.gov/documentation/shipping-</span><span style="text-align: -webkit-auto;" class="">instructions</span></a></div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px; font-size: 14px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
*****************************************************************<br class="">
Suggestion No1 to users:<br class="">
If the model is incompatible with your data, it is not the data you need to change. <br class="">
The fact, that A model fits your data, it is NOT proof that it is THE appropriate model. </div>
</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Sep 3, 2018, at 4:46 AM, XPST admin <<a href="mailto:xpst_update@freenet.de" class="">xpst_update@freenet.de</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">Hello Jan,<br class="">
<br class="">
I also agree to Francis' suggestion. Here are some more details (on Windows 10). The following lines have to go to an Igor text file (.itx).<br class="">
Just assume a Python script generated these lines. The file name in this example is IgorInstructions.itx<br class="">
<br class="">
IGOR<br class="">
WAVES /D 'dataset_1'<br class="">
BEGIN<br class="">
1<br class="">
4<br class="">
9<br class="">
16<br class="">
END<br class="">
X Display 'dataset_1'<br class="">
X NewPath /O /C SaveDir "C:Users:Admin:Desktop:Test"<br class="">
X SavePICT/E=-5/B=72 /P=SaveDir /O<br class="">
X Quit<br class="">
<br class="">
(Please adapt the path to a suitable location on your hard drive.)<br class="">
The program executes the following steps:<br class="">
<br class="">
1. Load the data<br class="">
2. Make a plot<br class="">
3. Make a new folder on the hard drive<br class="">
4. Save the plot there<br class="">
5. Quit Igor<br class="">
<br class="">
You can "start" the Igor text files in two ways: either double click it, or go the command window (DOS prompt), navigate to the folder that contains "IgorInstructions.itx", and type : start Igor.exe IgorInstructions.itx<br class="">
<br class="">
I think you can also directly use Python to send the last command ( start Igor.exe ....... etc) to the command line but I have not tried this myself.<br class="">
<br class="">
The code above is a simplified version of example 8.13 from "Programming Igor Pro: A Comprehensive Introduction" (just in case you need more details).<br class="">
<br class="">
Best,<br class="">
<br class="">
MS<br class="">
<br class="">
<br class="">
<br class="">
Am 9/3/2018 um 10:54 AM schrieb Francis Dalaudier:<br class="">
<blockquote type="cite" class="">Sorry for previous HTML only message. I still not find how to configure<br class="">
Webmail in order to send "raw" text. ______________________________________<br class="">
<br class="">
Hello Jan (and other users)<br class="">
<br class="">
I sometime (rather frequently) use Igor to visualize data gathered or<br class="">
processed through python.<br class="">
<br class="">
The simplest solution is to write (from python) an "Igor Text File" (.itx<br class="">
extension).<br class="">
<br class="">
Beside the data, this format allows to include any command you could type<br class="">
from the command line.<br class="">
<br class="">
Opening this file loads the data into Igor and plot it (through the included<br class="">
commands).<br class="">
<br class="">
If the data is "large", I recommend to write it in binary to disk (possibly<br class="">
as HDF5)<br class="">
<br class="">
along with an "Igor Text File" containing the commands to load this data and<br class="">
to plot it.<br class="">
<br class="">
<br class="">
<br class="">
I believe that python is (in some way) a powerful complementary tool,<br class="">
convenient to use along with Igor<br class="">
<br class="">
<br class="">
<br class="">
Francis<br class="">
<br class="">
____________________________________________________<br class="">
| Francis Dalaudier | <a href="mailto:francis.dalaudier@wanadoo.fr" class="">francis.dalaudier@wanadoo.fr</a> |<br class="">
|_____________________|______________________________|<br class="">
<br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
Info-igor mailing list<br class="">
<a href="mailto:Info-igor@lists.info-igor.org" class="">Info-igor@lists.info-igor.org</a><br class="">
<a href="http://lists.info-igor.org/listinfo.cgi/info-igor-info-igor.org" class="">http://lists.info-igor.org/listinfo.cgi/info-igor-info-igor.org</a><br class="">
</blockquote>
<br class="">
<br class="">
_______________________________________________<br class="">
Info-igor mailing list<br class="">
<a href="mailto:Info-igor@lists.info-igor.org" class="">Info-igor@lists.info-igor.org</a><br class="">
<a href="http://lists.info-igor.org/listinfo.cgi/info-igor-info-igor.org" class="">http://lists.info-igor.org/listinfo.cgi/info-igor-info-igor.org</a><br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>