<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.igorexchange.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>All new activity</title>
 <link>http://www.igorexchange.com/forum_tracker_new</link>
 <description>This feed contains all new activity that has been posted and the user has not seen.</description>
 <language>en-US</language>
<item>
 <title>StatsCircularMeans</title>
 <link>http://www.igorexchange.com/node/4768</link>
 <description>&lt;p&gt;Hello, I am a relatively new IGOR user and I need to use the StatsCircularMeans function to find the mean of some wind direction data. I am struggling to understand how to perform this analysis (such as how to create a two column wave). Any help or guidance on how to use the StatsCircularMean function would be greatly appreciated.&lt;br /&gt;
Steph&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/4768#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Fri, 17 May 2013 07:56:27 -0700</pubDate>
 <dc:creator>puglie12</dc:creator>
 <guid isPermaLink="false">4768 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Gizmo wave capacity?</title>
 <link>http://www.igorexchange.com/node/4769</link>
 <description>&lt;p&gt;I am creating 3D arrays of images that get large in a hurry. So much so that it appears I cannot, in fact, display orthoslices in Gizmo (&quot;Wave Too Large to Display in Gizmo.&quot;). &lt;/p&gt;
&lt;p&gt;What is the maximum wave size that Gizmo can handle? I can&#039;t seem to find this info through the Gizmo Help .ipf.&lt;/p&gt;
&lt;p&gt;Additionally, I&#039;m curious whether the Gizmo window can be resized to reflect x,y,z scaling from SetScale?&lt;/p&gt;
&lt;p&gt;Many thanks,&lt;/p&gt;
&lt;p&gt;Eli&lt;br /&gt;
IgorPro v 6.30&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/4769#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/85">IgorExchange.com</category>
 <pubDate>Fri, 17 May 2013 11:42:28 -0700</pubDate>
 <dc:creator>elirosen</dc:creator>
 <guid isPermaLink="false">4769 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>text wave font </title>
 <link>http://www.igorexchange.com/node/4766</link>
 <description>&lt;p&gt;I would like to make a plot with x-axis labels that contain greek letters (for example the labels would be δ-methyl, β-ethyl, and so on). I have tried to do this via the following method: create the plot with two numerical waves (the x=axis is sort of dummy wave with values of 1, 2, 3, 4,.....), create a text wave in a table that contains the desired x-axis labels, and in the plot select the &quot;user ticks from waves&quot; to link the labels to the data points. I am stuck at this point, however because I do not know how to change the font of part of text in a text wave  (or if it is even possible to change the font of a text wave without changing the the default font setting).  Is there a solution to this problem or a  different way to obtain the desired plot?&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/4766#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Thu, 16 May 2013 23:18:23 -0700</pubDate>
 <dc:creator>schne643</dc:creator>
 <guid isPermaLink="false">4766 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Working with large datasets</title>
 <link>http://www.igorexchange.com/node/4677</link>
 <description>&lt;p&gt;Dear All,&lt;/p&gt;
&lt;p&gt;I have been working on a data analysis routine which reads data from *.csv files, perform several statistical calculations on it and generates some useful easy to understand scientific outputs. One part of the routine handles 3D data containing many zeros and/or NANs. At the end I replace zeros with NANs and exclude NANs by using WaveTransform function. However the data is so large  that my computer doesn&#039;t have enough memory to keep hundreds of 3D waves with thousends of entries. Could someone have a look at the code and give some programming clues which may solve this issue? I know it seems complicated and confusing. I would be appreciate for any helpful comment.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
Emre&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;geshifilter&quot;&gt;&lt;pre class=&quot;igor geshifilter-igor&quot; style=&quot;font-family:monospace;&quot;&gt; &lt;span class=&quot;co1&quot;&gt;// This part chooses csv files one by one and calls another function to analyse them.&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;Function&lt;/span&gt; MyFunctionforFIA&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;DataFolderExists&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;root:RDDataFolder&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;==&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
		&lt;span class=&quot;kw4&quot;&gt;SetDataFolder&lt;/span&gt; root:RDDataFolder
	&lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
		&lt;span class=&quot;kw4&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Error! Please first load some data or press reset to delete prevoius data&amp;quot;&lt;/span&gt;
		&lt;span class=&quot;kw4&quot;&gt;abort&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;endif&lt;/span&gt;
 
	&lt;span class=&quot;co1&quot;&gt;// Create sizeBinList and use in AnalyseWIBSFiles()&lt;/span&gt;
	&lt;span class=&quot;co1&quot;&gt;// make sizeBinList&lt;/span&gt;
	&lt;span class=&quot;kw4&quot;&gt;Make&lt;/span&gt; size_bins1 = &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0.5&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0.5314&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0.5647&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0.6001&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0.6377&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0.6776&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0.7201&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0.7652&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0.8132&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0.8642&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0.9183&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;0.9759&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;1.0371&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;1.102&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
	&lt;span class=&quot;kw4&quot;&gt;Make&lt;/span&gt; size_bins2 = &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1.1711&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;1.2445&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;1.3225&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;1.4054&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;1.4935&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;1.5871&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;1.6866&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;1.7923&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;1.9046&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2.024&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2.1508&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2.2856&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2.4288&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2.5811&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
	&lt;span class=&quot;kw4&quot;&gt;Make&lt;/span&gt; size_bins3 = &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2.7824&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2.9147&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;3.0974&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;3.2915&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;3.4978&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;3.7171&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;3.95&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;4.1976&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;4.4607&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;4.7402&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;5.0373&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;5.353&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;5.6885&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;6.0451&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
	&lt;span class=&quot;kw4&quot;&gt;Make&lt;/span&gt; size_bins4 = &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6.4239&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;6.8265&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;7.2544&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;7.709&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;8.1922&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;8.7056&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;9.2512&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;9.8311&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;10.4472&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;11.102&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;11.7978&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;12.5372&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;13.3229&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;14.1579&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;15.0453&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;15.9882&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;16.9903&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;18.0551&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
	&lt;span class=&quot;kw2&quot;&gt;Variable&lt;/span&gt; ssb1, ssb2, ssb3, ssb4, ssizebinlist
	ssb1 = &lt;span class=&quot;kw3&quot;&gt;numpnts&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;size_bins1&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	ssb2 = &lt;span class=&quot;kw3&quot;&gt;numpnts&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;size_bins2&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	ssb3 = &lt;span class=&quot;kw3&quot;&gt;numpnts&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;size_bins3&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	ssb4 = &lt;span class=&quot;kw3&quot;&gt;numpnts&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;size_bins4&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	ssizebinlist = ssb1+ssb2+ssb3+ssb4
	&lt;span class=&quot;kw4&quot;&gt;Make&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;O&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;N=&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ssizebinlist&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; SizeBinList
	&lt;span class=&quot;kw4&quot;&gt;Concatenate&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;NP&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;O &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;size_bins1,size_bins2,size_bins3,size_bins4&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;, SizeBinList
	&lt;span class=&quot;kw4&quot;&gt;KillWaves&lt;/span&gt; size_bins1, size_bins2, size_bins3, size_bins4
 
	&lt;span class=&quot;kw4&quot;&gt;SetDataFolder&lt;/span&gt; root:RDDataFolder
	&lt;span class=&quot;co1&quot;&gt;// Choose one file to analyse&lt;/span&gt;
	&lt;span class=&quot;kw2&quot;&gt;Variable&lt;/span&gt; k
	&lt;span class=&quot;kw2&quot;&gt;String&lt;/span&gt; DataFolderList = &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; k = 0; k &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;CountObjects&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;; k += &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
		DataFolderList += &lt;span class=&quot;kw3&quot;&gt;GetIndexedObjName&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;, &lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;, k&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;+&lt;span class=&quot;st0&quot;&gt;&amp;quot;:;&amp;quot;&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;endfor&lt;/span&gt;
 
	&lt;span class=&quot;co1&quot;&gt;// Calculate time required to analyse one file&lt;/span&gt;
	&lt;span class=&quot;kw2&quot;&gt;Variable&lt;/span&gt; refnumTimer, timeElapsed, timeasprogress
	&lt;span class=&quot;co1&quot;&gt;// Read strings from list and set data folder accordingly&lt;/span&gt;
	&lt;span class=&quot;kw2&quot;&gt;Variable&lt;/span&gt; numDataFolders = &lt;span class=&quot;kw3&quot;&gt;ItemsInList&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;DataFolderList&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	&lt;span class=&quot;kw2&quot;&gt;Variable&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;i&lt;/span&gt;
	&lt;span class=&quot;kw2&quot;&gt;NVAR&lt;/span&gt; perc = root:perc
	&lt;span class=&quot;kw2&quot;&gt;Variable&lt;/span&gt; progress = 0
	&lt;span class=&quot;kw4&quot;&gt;ControlUpdate&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;W=toolKIT&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;A
 
	&lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;i&lt;/span&gt;=0; i&lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt;numDataFolders; &lt;span class=&quot;kw3&quot;&gt;i&lt;/span&gt; +=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
		refnumTimer = &lt;span class=&quot;kw3&quot;&gt;startMSTimer&lt;/span&gt;
		&lt;span class=&quot;kw2&quot;&gt;String&lt;/span&gt; nameCurDF = &lt;span class=&quot;st0&quot;&gt;&amp;quot;root:RDDataFolder:&amp;quot;&lt;/span&gt; + &lt;span class=&quot;kw3&quot;&gt;StringFromList&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;i&lt;/span&gt;, DataFolderList&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
		&lt;span class=&quot;kw4&quot;&gt;SetDataFolder&lt;/span&gt; nameCurDF
		AnalyseWIBSFluorescence&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;		&lt;span class=&quot;co1&quot;&gt;// Main function which performs analysis&lt;/span&gt;
		&lt;span class=&quot;kw4&quot;&gt;SetDataFolder&lt;/span&gt; nameCurDF
		timeElapsed = &lt;span class=&quot;kw3&quot;&gt;stopMSTimer&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;refnumTimer&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
		timeasprogress = timeElapsed&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1000000&lt;/span&gt;		&lt;span class=&quot;co1&quot;&gt;// elapsed time as seconds&lt;/span&gt;
		&lt;span class=&quot;co1&quot;&gt;//print &amp;quot;Last file took &amp;quot; + num2str(timeasprogress)	+ &amp;quot; seconds&amp;quot;		// We can see how long it takes to analyse a file&lt;/span&gt;
		progress += &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
		perc = &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;progress &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt; numDataFolders&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;
		&lt;span class=&quot;kw4&quot;&gt;ControlUpdate&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;W=toolKIT progress
		&lt;span class=&quot;co1&quot;&gt;// change progress color to green.&lt;/span&gt;
		&lt;span class=&quot;kw4&quot;&gt;ValDisplay&lt;/span&gt; progress win=toolKIT, highColor= &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;26112&lt;/span&gt;,0,&lt;span class=&quot;nu0&quot;&gt;10240&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
		&lt;span class=&quot;kw4&quot;&gt;KillDataFolder&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;Z&lt;/span&gt; nameCurDF	
	&lt;span class=&quot;kw1&quot;&gt;endfor&lt;/span&gt;
 
	&lt;span class=&quot;co1&quot;&gt;// make destination waves&lt;/span&gt;
	&lt;span class=&quot;kw4&quot;&gt;SetDataFolder&lt;/span&gt; root:RDDataFolder:
	&lt;span class=&quot;kw4&quot;&gt;Make&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;O&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;N=&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;0,ssizebinlist-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; SizeResFluW
	AppendWaves&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;, &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;, 0&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	&lt;span class=&quot;co1&quot;&gt;//MoveResultingData()&lt;/span&gt;
	&lt;span class=&quot;kw4&quot;&gt;NewDataFolder&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;O&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;S&lt;/span&gt; root:FLData
	&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;waveexists&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;root:FLData:SizeResFluW&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
		&lt;span class=&quot;kw4&quot;&gt;MoveWave&lt;/span&gt; root:RDDataFolder:SizeResFluW, root:FLData:
		&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;waveexists&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;root:FLData:SizeBinList&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
			&lt;span class=&quot;kw4&quot;&gt;MoveWave&lt;/span&gt; root:RDDataFolder:SizeBinList, root:FLData:
		&lt;span class=&quot;kw1&quot;&gt;endif&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;endif&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;End&lt;/span&gt;
 
&lt;span class=&quot;co1&quot;&gt;// This part deals with time binning and decides on selection criteria. Output is used by another function to perform size binning&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;Function&lt;/span&gt; AnalyseWIBSFluorescence&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;whichData&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;	
	&lt;span class=&quot;kw2&quot;&gt;Variable&lt;/span&gt; whichData
	&lt;span class=&quot;kw2&quot;&gt;Variable&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;i&lt;/span&gt;, &lt;span class=&quot;kw3&quot;&gt;j&lt;/span&gt;
 
	DFREF homeDFR = &lt;span class=&quot;kw3&quot;&gt;GetDataFolderDfr&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	&lt;span class=&quot;co1&quot;&gt;// wave references to global waves&lt;/span&gt;
	&lt;span class=&quot;kw2&quot;&gt;Wave&lt;/span&gt; dateTimeWave = homeDFR:DateTimeWave
	&lt;span class=&quot;kw2&quot;&gt;Wave&lt;/span&gt; sizeBinList = root:RDDataFolder:sizeBinList
	&lt;span class=&quot;kw2&quot;&gt;Wave&lt;/span&gt; particleSizes = homeDFR:ParSize
	&lt;span class=&quot;kw2&quot;&gt;Wave&lt;/span&gt; paramSet0 = homeDFR:Pwr_280
	&lt;span class=&quot;kw2&quot;&gt;Wave&lt;/span&gt; paramSet1 = homeDFR:Pwr_370
	&lt;span class=&quot;kw2&quot;&gt;Wave&lt;/span&gt; paramSet2 = homeDFR:FL1_280
	&lt;span class=&quot;kw2&quot;&gt;Wave&lt;/span&gt; paramSet3 = homeDFR:FL2_280
	&lt;span class=&quot;kw2&quot;&gt;Wave&lt;/span&gt; paramSet4 = homeDFR:FL2_370
 
	&lt;span class=&quot;kw2&quot;&gt;NVAR&lt;/span&gt; Threshold1 = root:FTDataFolder:Threshold1
	&lt;span class=&quot;kw2&quot;&gt;NVAR&lt;/span&gt; Threshold2 = root:FTDataFolder:Threshold2
	&lt;span class=&quot;kw2&quot;&gt;NVAR&lt;/span&gt; Threshold3 = root:FTDataFolder:Threshold3
	&lt;span class=&quot;kw2&quot;&gt;String&lt;/span&gt; suff
	&lt;span class=&quot;co1&quot;&gt;// print Threshold1, Threshold2, Threshold3			for debugging only&lt;/span&gt;
	&lt;span class=&quot;co1&quot;&gt;// each type is potentially composed of criteria from multiple parameters. List the waves containing those parameters in &amp;quot;;&amp;quot; strings&lt;/span&gt;
	&lt;span class=&quot;co1&quot;&gt;// here we&#039;ll use 5 parameters to define each of my made-up types&lt;/span&gt;
	&lt;span class=&quot;kw4&quot;&gt;Make&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;FREE &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;T&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;N=&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt; typeParamNames
	typeParamNames&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;0&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; = &lt;span class=&quot;kw3&quot;&gt;NameOfWave&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;paramSet0&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;+&lt;span class=&quot;st0&quot;&gt;&amp;quot;;&amp;quot;&lt;/span&gt;+&lt;span class=&quot;kw3&quot;&gt;NameOfWave&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;paramSet2&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;	&lt;span class=&quot;co1&quot;&gt;// FL1_280 Type (Intensity[FL1_280] &amp;gt; Threshold &amp;amp;&amp;amp; Intensity[Power_280 &amp;gt; 200])&lt;/span&gt;
	typeParamNames&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; = &lt;span class=&quot;kw3&quot;&gt;NameOfWave&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;paramSet0&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;+&lt;span class=&quot;st0&quot;&gt;&amp;quot;;&amp;quot;&lt;/span&gt;+&lt;span class=&quot;kw3&quot;&gt;NameOfWave&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;paramSet3&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// FL2_280 Type (Intensity[FL2_280] &amp;gt; Threshold &amp;amp;&amp;amp; Intensity[Power_280 &amp;gt; 200])&lt;/span&gt;
	typeParamNames&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; = &lt;span class=&quot;kw3&quot;&gt;NameOfWave&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;paramSet1&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;+&lt;span class=&quot;st0&quot;&gt;&amp;quot;;&amp;quot;&lt;/span&gt;+&lt;span class=&quot;kw3&quot;&gt;NameOfWave&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;paramSet4&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;// FL2_370 Type (Intensity[FL2_370] &amp;gt; Threshold &amp;amp;&amp;amp; Intensity[Power_370 &amp;gt; 200])&lt;/span&gt;
 
	&lt;span class=&quot;co1&quot;&gt;// set the minimum and maximum values - if there are different numbers of criteria for different types set the column size to the biggest (in terms of # of criteria) type &lt;/span&gt;
	&lt;span class=&quot;kw4&quot;&gt;Make&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;FREE &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;D &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;N=&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;, &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; minCriteria
	&lt;span class=&quot;kw4&quot;&gt;Make&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;FREE &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;D &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;N=&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;, &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; maxCriteria
	&lt;span class=&quot;co1&quot;&gt;// set a bunch of arbitrary minimum criteria according to the parameter combinations specified in typeParamNames	&lt;/span&gt;
	&lt;span class=&quot;co1&quot;&gt;// FL1_280 criteria&lt;/span&gt;
	minCriteria&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;0&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;0&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; = MinFailPower
	maxCriteria&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;0&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;0&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; = &lt;span class=&quot;kw3&quot;&gt;inf&lt;/span&gt;
	minCriteria&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;0&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; = Threshold1
	maxCriteria&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;0&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; = &lt;span class=&quot;kw3&quot;&gt;inf&lt;/span&gt;
	minCriteria&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;0&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; = minParSize
	maxCriteria&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;0&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; = &lt;span class=&quot;kw3&quot;&gt;inf&lt;/span&gt;
	&lt;span class=&quot;co1&quot;&gt;// FL2_280 criteria&lt;/span&gt;
	minCriteria&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;0&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; = MinFailPower
	maxCriteria&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;0&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; = &lt;span class=&quot;kw3&quot;&gt;inf&lt;/span&gt;
	minCriteria&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; = Threshold2
	maxCriteria&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; = &lt;span class=&quot;kw3&quot;&gt;inf&lt;/span&gt;
	minCriteria&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; = minParSize
	maxCriteria&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; = &lt;span class=&quot;kw3&quot;&gt;inf&lt;/span&gt;
	&lt;span class=&quot;co1&quot;&gt;// FL2_370 criteria&lt;/span&gt;
	minCriteria&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;0&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; = MinFailPower
	maxCriteria&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;0&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; = &lt;span class=&quot;kw3&quot;&gt;inf&lt;/span&gt;
	minCriteria&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; = Threshold3
	maxCriteria&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; = &lt;span class=&quot;kw3&quot;&gt;inf&lt;/span&gt;
	minCriteria&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; = minParSize
	maxCriteria&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; = &lt;span class=&quot;kw3&quot;&gt;inf&lt;/span&gt;
 
	&lt;span class=&quot;co1&quot;&gt;// make the final output wave&lt;/span&gt;
	&lt;span class=&quot;kw2&quot;&gt;Variable&lt;/span&gt; nRanges = &lt;span class=&quot;kw3&quot;&gt;dimSize&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;DateTimeWave,0&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	&lt;span class=&quot;kw4&quot;&gt;Make&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;O&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;D&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;N=&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;nRanges, &lt;span class=&quot;kw3&quot;&gt;numpnts&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sizeBinList&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; homeDFR:SizeResFluW
	&lt;span class=&quot;kw2&quot;&gt;Wave&lt;/span&gt; outWave = homeDFR:SizeResFluW
 
	&lt;span class=&quot;kw4&quot;&gt;Make&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;FREE &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;N=&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; currMins &lt;span class=&quot;co1&quot;&gt;// set size to the # of criteria in the largest type&lt;/span&gt;
	&lt;span class=&quot;kw4&quot;&gt;Make&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;FREE &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;N=&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; currMaxs &lt;span class=&quot;co1&quot;&gt;// set size to the # of criteria in the largest type&lt;/span&gt;
 
	&lt;span class=&quot;co1&quot;&gt;// build the output wave&lt;/span&gt;
	&lt;span class=&quot;co1&quot;&gt;// sortARange is the function which takes several inputs and gives one output which will be analysed to find&lt;/span&gt;
	&lt;span class=&quot;co1&quot;&gt;// particle counts, distributions, ratios, etc.&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;i&lt;/span&gt;=0; i&lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt;nRanges; &lt;span class=&quot;kw3&quot;&gt;i&lt;/span&gt; +=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
		&lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;j&lt;/span&gt;=0; j&lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;; &lt;span class=&quot;kw3&quot;&gt;j&lt;/span&gt;+=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
			currMins = minCriteria&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;j&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;p&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
			currMaxs = maxCriteria&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;j&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;p&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
			fluoreSizeBin&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sizeBinList, particleSizes, currMins, currMaxs, typeParamNames&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;j&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;, outWave, &lt;span class=&quot;kw3&quot;&gt;i&lt;/span&gt;, &lt;span class=&quot;kw3&quot;&gt;j&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
		&lt;span class=&quot;kw1&quot;&gt;endfor&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;endfor&lt;/span&gt;
	&lt;span class=&quot;co1&quot;&gt;// Move resulting wave and kill data folder&lt;/span&gt;
	&lt;span class=&quot;kw4&quot;&gt;SetDataFolder&lt;/span&gt; root:RDDataFolder
	suff = &lt;span class=&quot;st0&quot;&gt;&amp;quot;DF_&amp;quot;&lt;/span&gt; + &lt;span class=&quot;kw3&quot;&gt;num2str&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;whichData&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	suff = &lt;span class=&quot;kw3&quot;&gt;CleanupName&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;suff, 0&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	&lt;span class=&quot;kw4&quot;&gt;NewDataFolder&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;O &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;S&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$suff&lt;/span&gt;
	&lt;span class=&quot;kw4&quot;&gt;MoveWave&lt;/span&gt; homeDFR:SizeResFluW &lt;span class=&quot;re0&quot;&gt;$suff&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;End&lt;/span&gt; 
 
&lt;span class=&quot;co1&quot;&gt;// This part deals with size binning according to the information generated by the Function above&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;Function&lt;/span&gt; fluoreSizeBin&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;binBoundsWave, parSizeWave, criteriaMin, criteriaMax, dataWaveNames, destinationWave, rowIn, layIn&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	&lt;span class=&quot;kw2&quot;&gt;Wave&lt;/span&gt; binBoundsWave, parSizeWave
	&lt;span class=&quot;kw2&quot;&gt;Wave&lt;/span&gt; criteriaMin, criteriaMax			&lt;span class=&quot;co1&quot;&gt;// wave of min and max values.  must be same length as each other and of dataWaveNames&lt;/span&gt;
	&lt;span class=&quot;kw2&quot;&gt;String&lt;/span&gt; dataWaveNames
	&lt;span class=&quot;kw2&quot;&gt;Wave&lt;/span&gt; destinationWave
	&lt;span class=&quot;kw2&quot;&gt;Variable&lt;/span&gt; rowIn, layIn
 
	&lt;span class=&quot;kw2&quot;&gt;Variable&lt;/span&gt; nWaves = &lt;span class=&quot;kw3&quot;&gt;ItemsInList&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dataWaveNames&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	&lt;span class=&quot;kw2&quot;&gt;Variable&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;j&lt;/span&gt;
 
	&lt;span class=&quot;kw2&quot;&gt;Variable&lt;/span&gt; satisfied = &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;			
 
	&lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;j&lt;/span&gt;=0; j&lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt;nWaves; &lt;span class=&quot;kw3&quot;&gt;j&lt;/span&gt; +=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
		&lt;span class=&quot;kw2&quot;&gt;Wave&lt;/span&gt; currDataWave = $&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;StringFromList&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;j&lt;/span&gt;, dataWaveNames&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
 
		&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;currDataWave&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;rowIn&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt; criteriaMin&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;layIn&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; || currDataWave&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;rowIn&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; criteriaMax&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;layIn&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
			satisfied = 0
			&lt;span class=&quot;co1&quot;&gt;//print currDataWave[i]&lt;/span&gt;
		&lt;span class=&quot;kw1&quot;&gt;endif&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;endfor&lt;/span&gt;
 
	&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;satisfied&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
		&lt;span class=&quot;kw4&quot;&gt;FindLevel&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;Q&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;P&lt;/span&gt; binBoundsWave, parSizeWave&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;rowIn&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
		&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;V_flag&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
			destinationWave&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;rowIn&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;floor&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;V_LevelX&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;layIn&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; = currDataWave&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;rowIn&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
		&lt;span class=&quot;kw1&quot;&gt;endif&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;endif&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;End&lt;/span&gt;
 
&lt;span class=&quot;co1&quot;&gt;// This part appends all resulting data into one single wave. Output is a 3D wave which may contain millions of data points. &lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;// Apparently this is where I got stuck.&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;Function&lt;/span&gt; AppendFluoreWaves&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;parentDF, DFpattern, killChildDFs, &lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;sortedAppend, sortOptions, modelDF&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	&lt;span class=&quot;kw2&quot;&gt;String&lt;/span&gt; parentDF, DFpattern
	&lt;span class=&quot;kw2&quot;&gt;Variable&lt;/span&gt; killChildDFs
	&lt;span class=&quot;kw2&quot;&gt;Variable&lt;/span&gt; sortedAppend
	&lt;span class=&quot;kw2&quot;&gt;Variable&lt;/span&gt; sortOptions
	&lt;span class=&quot;kw2&quot;&gt;String&lt;/span&gt; modelDF
 
&lt;span class=&quot;co1&quot;&gt;// get list of childDFs matching DFpattern&lt;/span&gt;
		&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;strlen&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;parentDF&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; == 0 &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
			parentDF = &lt;span class=&quot;kw3&quot;&gt;GetDataFolder&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
		&lt;span class=&quot;kw1&quot;&gt;endif&lt;/span&gt;
	&lt;span class=&quot;kw2&quot;&gt;String&lt;/span&gt; childDFs = &lt;span class=&quot;kw3&quot;&gt;ListMatch&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; ChildDFList&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;parentDF&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;, DFpattern+&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
		&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; sortedAppend &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;		&lt;span class=&quot;co1&quot;&gt;// default is 0 = false&lt;/span&gt;
		childDFs = &lt;span class=&quot;kw3&quot;&gt;SortList&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;childDFs, &lt;span class=&quot;st0&quot;&gt;&amp;quot;;&amp;quot;&lt;/span&gt;, sortOptions&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;	&lt;span class=&quot;co1&quot;&gt;// default is 0 = ascending case-sensitive &lt;/span&gt;
		&lt;span class=&quot;kw1&quot;&gt;endif&lt;/span&gt;											&lt;span class=&quot;co1&quot;&gt;// alphabetic ASCII sort&lt;/span&gt;
	&lt;span class=&quot;kw2&quot;&gt;Variable&lt;/span&gt; numChildren = &lt;span class=&quot;kw3&quot;&gt;ItemsInList&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;childDFs&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;		&lt;span class=&quot;co1&quot;&gt;// count the &amp;quot;good&amp;quot; children&lt;/span&gt;
		&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; numChildren == 0 &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;						&lt;span class=&quot;co1&quot;&gt;// ...none -- abort&lt;/span&gt;
		&lt;span class=&quot;kw4&quot;&gt;Abort&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Please first load some data to analyse&amp;quot;&lt;/span&gt;
		&lt;span class=&quot;kw1&quot;&gt;endif&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;// build WList from waves in modelDF or in parentDF&lt;/span&gt;
	&lt;span class=&quot;kw2&quot;&gt;string&lt;/span&gt; WList, saveDF = &lt;span class=&quot;kw3&quot;&gt;GetDataFolder&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;ParamIsDefault&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;modelDF&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;	&lt;span class=&quot;co1&quot;&gt;// use modelDF if specified&lt;/span&gt;
		&lt;span class=&quot;kw4&quot;&gt;SetDataFolder&lt;/span&gt; modelDF
		WList = &lt;span class=&quot;kw3&quot;&gt;WaveList&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;, &lt;span class=&quot;st0&quot;&gt;&amp;quot;;&amp;quot;&lt;/span&gt;, &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
		&lt;span class=&quot;kw4&quot;&gt;SetDataFolder&lt;/span&gt; parentDF	&lt;span class=&quot;co1&quot;&gt;// default to parentDF&lt;/span&gt;
		WList = &lt;span class=&quot;kw3&quot;&gt;WaveList&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;, &lt;span class=&quot;st0&quot;&gt;&amp;quot;;&amp;quot;&lt;/span&gt;, &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;endif&lt;/span&gt;
	&lt;span class=&quot;kw2&quot;&gt;variable&lt;/span&gt; numWaves = &lt;span class=&quot;kw3&quot;&gt;ItemsInList&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;WList&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;		&lt;span class=&quot;co1&quot;&gt;// count waves to append to&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; numWaves == 0 &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;						&lt;span class=&quot;co1&quot;&gt;// ...none -- abort&lt;/span&gt;
		&lt;span class=&quot;kw4&quot;&gt;Abort&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;AppendWave found no waves to append to in data folder &lt;span class=&quot;es0&quot;&gt;\&amp;quot;&lt;/span&gt;&amp;quot;&lt;/span&gt;+&lt;span class=&quot;kw3&quot;&gt;GetDataFolder&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;+&lt;span class=&quot;st0&quot;&gt;&amp;quot;&lt;span class=&quot;es0&quot;&gt;\&amp;quot;&lt;/span&gt;&amp;quot;&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;endif&lt;/span&gt;
 
	&lt;span class=&quot;kw2&quot;&gt;variable&lt;/span&gt; k, m, childDataAppended
	&lt;span class=&quot;kw2&quot;&gt;string&lt;/span&gt; childDF, currentWave, sourceWave, destWave
&lt;span class=&quot;co1&quot;&gt;// cycle through childDFs&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; k = 0; k &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt; numChildren; k += &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
		childDF = &lt;span class=&quot;kw3&quot;&gt;StringFromList&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;k, childDFs&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
		&lt;span class=&quot;kw4&quot;&gt;SetDataFolder&lt;/span&gt; childDF
		childDataAppended = 0	&lt;span class=&quot;co1&quot;&gt;// don&#039;t want to kill childDFs that contained no data to append&lt;/span&gt;
&lt;span class=&quot;co1&quot;&gt;// ... cycle through WList&lt;/span&gt;
		&lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; m = 0; m &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt; numWaves; m += &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
			currentWave = &lt;span class=&quot;kw3&quot;&gt;StringFromList&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;m, WList&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
			sourceWave = childDF+currentWave
			&lt;span class=&quot;kw2&quot;&gt;Variable&lt;/span&gt; sizeofSourceWave = &lt;span class=&quot;kw3&quot;&gt;dimSize&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$sourceWave&lt;/span&gt;,0&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
			&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;exists&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;sourceWave&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; == &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;	&lt;span class=&quot;co1&quot;&gt;// not all waves in child data folder may be relevant&lt;/span&gt;
				destWave = parentDF+currentWave
 
					&lt;span class=&quot;co1&quot;&gt;//if(dimSize($sourceWave,0) &amp;gt; 1)&lt;/span&gt;
						&lt;span class=&quot;co1&quot;&gt;//if(dimSize($sourceWave,2) &amp;gt; 0)&lt;/span&gt;
							&lt;span class=&quot;kw4&quot;&gt;Concatenate&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;NP=0 sourceWave+&lt;span class=&quot;st0&quot;&gt;&amp;quot;;&amp;quot;&lt;/span&gt;, &lt;span class=&quot;re0&quot;&gt;$destWave&lt;/span&gt;
						&lt;span class=&quot;co1&quot;&gt;//endif&lt;/span&gt;
					&lt;span class=&quot;co1&quot;&gt;//endif&lt;/span&gt;
				childDataAppended = &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
			&lt;span class=&quot;kw1&quot;&gt;endif&lt;/span&gt;
		&lt;span class=&quot;kw1&quot;&gt;endfor&lt;/span&gt;
 
			&lt;span class=&quot;kw4&quot;&gt;KillDataFolder&lt;/span&gt; childDF
 
	&lt;span class=&quot;kw1&quot;&gt;endfor&lt;/span&gt;
	&lt;span class=&quot;kw4&quot;&gt;SetDataFolder&lt;/span&gt; saveDF
&lt;span class=&quot;kw2&quot;&gt;End&lt;/span&gt;
 
&lt;span class=&quot;co1&quot;&gt;// There is also one another function which deals with statistical analysis by using the main output wave (3D Wave)&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/4677#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Mon, 06 May 2013 06:45:54 -0700</pubDate>
 <dc:creator>tooprock</dc:creator>
 <guid isPermaLink="false">4677 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>How to make first derivative and second derivative of a 2D line</title>
 <link>http://www.igorexchange.com/node/4747</link>
 <description>&lt;p&gt;Recently, I have begun to use the igor to analysis the dates.&lt;br /&gt;
I meet a big problem to treat the date. Is there anyone please tell me how to make first derivative and second derivative of  2D line?&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/4747#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Wed, 15 May 2013 08:06:36 -0700</pubDate>
 <dc:creator>lihao</dc:creator>
 <guid isPermaLink="false">4747 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>SetVar and active setvar proc functions</title>
 <link>http://www.igorexchange.com/node/4727</link>
 <description>&lt;p&gt;So I made a slider and it contains an event-driven if statement in the corresponding proc function, which executes code when you move the slider.&lt;/p&gt;
&lt;p&gt;I tried to do the same thing with a SetVar, but I cant even get it to run a print statement.  Ive used SetVar to initiate variables before in a user-interface, but I used a second function to read all those variable and then feed them into the main function.  This time, I would just like the proc function to run some code if the user pushes the up/down arrows or enters a new value into the field.  Is it possible or have I misunderstood the functionality here?&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;geshifilter&quot;&gt;&lt;pre class=&quot;igor geshifilter-igor&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;function&lt;/span&gt; setvar_proc&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;setvar_z, &lt;span class=&quot;kw3&quot;&gt;z&lt;/span&gt;, varStr, varName&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; :setVariableControl
 
   &lt;span class=&quot;kw2&quot;&gt;string&lt;/span&gt; setvar_z &lt;span class=&quot;co1&quot;&gt;// name of my control&lt;/span&gt;
   &lt;span class=&quot;kw2&quot;&gt;variable&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;z&lt;/span&gt;  &lt;span class=&quot;co1&quot;&gt;// the variable being manipulated&lt;/span&gt;
   &lt;span class=&quot;kw2&quot;&gt;string&lt;/span&gt; varStr  &lt;span class=&quot;co1&quot;&gt;// not sure what this is for&lt;/span&gt;
   &lt;span class=&quot;kw2&quot;&gt;string&lt;/span&gt; varName &lt;span class=&quot;co1&quot;&gt;// again, not entirely sure what you would use this for&lt;/span&gt;
 
   &lt;span class=&quot;kw1&quot;&gt;do&lt;/span&gt; a whole bunch of stuff like load some new images in my fancy panels based on the new &lt;span class=&quot;kw3&quot;&gt;z&lt;/span&gt; value
   &lt;span class=&quot;kw4&quot;&gt;print&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;Oh Igor, why don&#039;t you love me anymore?&amp;quot;&lt;/span&gt;
 
&lt;span class=&quot;kw2&quot;&gt;end&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;My button shows up with the correct variable value inside (and moving the slider keyed to the same variable changes this value, as well the opposite, changing the value here moves my slider), but nothing else happens.  Igor refuses to print even.&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/4727#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Mon, 13 May 2013 01:52:12 -0700</pubDate>
 <dc:creator>daggaz</dc:creator>
 <guid isPermaLink="false">4727 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Saving graphs with large images in mixed bitmap/vector format</title>
 <link>http://www.igorexchange.com/node/4746</link>
 <description>&lt;p&gt;I have a graph with a large image.  I want to save/export the graph keeping the axes, labels, and all annotations as vector art, but the image data as a PNG bitmap with a resolution I can specify.  The PDF and EMF export formats should be capable of producing mixed bitmap/vector data.  However the Igor Pro PDF and EMF export produce only vector output, which makes huge, uneditable files since the images are treated as collections of rectangles instead of bitmaps.  If I save everything in PNG format, the axes and labels are not vectorial but the file size is small and manageable.  I am using Igor Pro 6.3.&lt;/p&gt;
&lt;p&gt;Should this go to the wish list or is there a workaround to produce mixed bitmap/vector output?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/4746#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Wed, 15 May 2013 02:37:41 -0700</pubDate>
 <dc:creator>agarttha</dc:creator>
 <guid isPermaLink="false">4746 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Extracting values from text waves</title>
 <link>http://www.igorexchange.com/node/4736</link>
 <description>&lt;p&gt;Hello all,&lt;/p&gt;
&lt;p&gt;I am fairly new in using IGOR Pro. What I want to obtain is: from a 2D text wave I want to extract 2 numbers and store them in 2 variables so I can use them later in various calculations. &lt;/p&gt;
&lt;p&gt;The attached image is an example. From this one I want to obtain the numeric values corresponding to pict_details[2][4] and pict_details[11][4].&lt;/p&gt;
&lt;p&gt;Does anyone know how to do this?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/4736#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <enclosure url="http://www.igorexchange.com/image/view/4735/preview" length="94328" type="image/png" />
 <pubDate>Mon, 13 May 2013 09:11:01 -0700</pubDate>
 <dc:creator>Catalin B.</dc:creator>
 <guid isPermaLink="false">4736 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Data browser plots and graphing layers.</title>
 <link>http://www.igorexchange.com/node/4742</link>
 <description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I&#039;m working with some data that I have stored in a 3D wave. Most of the is energy profiles in x and y coordinates with a third parameter being the orientation of the object. As the third parameter is not z, I did not feel a volume plot would be appropriate so have been using image plots. I find this is suitable but I would like an easier way of browsing between my layers than using the Modify Image command to select the plane.&lt;/p&gt;
&lt;p&gt;I noticed when I load my wave in the data browser it shows me a set of stacked image plots it calls a &quot;3D box,&quot; that lets me browse through the layers with the arrow key.&lt;/p&gt;
&lt;p&gt;Would someone be able to tell me how I could plot this sort of graph for myself? Also, if possible, I would also like to index the layers by their angle values rather than trying to remember what Layer #7 mean.&lt;/p&gt;
&lt;p&gt;Thank you for your help.&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/4742#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Tue, 14 May 2013 11:32:08 -0700</pubDate>
 <dc:creator>aqshaw</dc:creator>
 <guid isPermaLink="false">4742 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Embed an existing graph in an existing graph</title>
 <link>http://www.igorexchange.com/node/4739</link>
 <description>&lt;p&gt;So I know how to embed a new graph inside of an existing graph. You just open the tools and then right click on the graph and create a new graph inside. But I would like to take a graph that I have already created (with many curve fits and such applied) and embed it into another graph as an inset. I could remake the graph, but it seems like there should be an easier way to do this. &lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/4739#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Mon, 13 May 2013 14:55:45 -0700</pubDate>
 <dc:creator>gravityhomer</dc:creator>
 <guid isPermaLink="false">4739 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>some help with this small iteration procedure </title>
 <link>http://www.igorexchange.com/node/4732</link>
 <description>&lt;p&gt;I have a wave (that it´s a loop) and I would like to subtract the upper line points from the bottom line points. In fact, I´m interested only in certain range of my wave (this is why I choose the points i=3616 for the upper line and ii=16070 for the bottom line).&lt;br /&gt;
But I don´t know how to make the iterations! I mean the first value should be the point 3616 minus the point 16070, the next point should be  3615 minus 16071, and so on. The final point should be the last pair of values (that´s why I have put i&amp;gt;235, because for i=234 there is no more points in the wave.)&lt;br /&gt;
This points should be stored in a new wave with exactly the same number of points that iterations have been made.&lt;br /&gt;
I think that the problem in my procedure is in the definition of the for loop. As you can see, I don´t have any idea about programming, but I try to learn by myself :)&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;geshifilter&quot;&gt;&lt;pre class=&quot;igor geshifilter-igor&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw5&quot;&gt;#pragma&lt;/span&gt; rtGlobals=&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;		&lt;span class=&quot;co1&quot;&gt;// Use modern global access method and strict wave access.&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;Function&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;D iteration &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;Wave&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;wave&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;variable&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;i&lt;/span&gt;, ii
&lt;span class=&quot;kw3&quot;&gt;i&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;3616&lt;/span&gt;
ii=&lt;span class=&quot;nu0&quot;&gt;16070&lt;/span&gt;
&lt;span class=&quot;kw4&quot;&gt;make&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;O&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;N=??? new_wave
&lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;i&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;3616&lt;/span&gt;;i&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;235&lt;/span&gt;;i-=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	new_wave=&lt;span class=&quot;kw2&quot;&gt;wave&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;-&lt;span class=&quot;kw2&quot;&gt;wave&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;ii&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;
	&lt;span class=&quot;kw3&quot;&gt;i&lt;/span&gt; -=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
	ii+=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;endfor&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;end&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Attached you´ll find the graph with the wave.&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/4732#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <enclosure url="http://www.igorexchange.com/image/view/4731/preview" length="13325" type="image/jpeg" />
 <pubDate>Mon, 13 May 2013 06:42:01 -0700</pubDate>
 <dc:creator>daviddoji</dc:creator>
 <guid isPermaLink="false">4732 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Button Appearance</title>
 <link>http://www.igorexchange.com/node/4726</link>
 <description>&lt;p&gt;Hi everyone,&lt;/p&gt;
&lt;p&gt;I apologize if this has already been addressed. I have a small issue with user created buttons. For some reason buttons I create have the appearance of custom controls rather than the Mac style buttons. Every now and then a button turns out with the right appearance but I find it almost impossible to reproduce. I tried all the options in the appearance option for buttons but nothing did the trick. Also, I changed the native GUI settings in Igor&#039;s Misc settings. Has anyone had this problem?&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
Constantin&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/4726#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Mon, 13 May 2013 00:54:20 -0700</pubDate>
 <dc:creator>Quinten</dc:creator>
 <guid isPermaLink="false">4726 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>displaying slices from a 3D wave</title>
 <link>http://www.igorexchange.com/node/4713</link>
 <description>&lt;p&gt;I have 3D waves and so far to display a z-slice ive been using the rather bulky&lt;br /&gt;
&lt;div class=&quot;geshifilter&quot;&gt;&lt;pre class=&quot;igor geshifilter-igor&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw4&quot;&gt;duplicate&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;O&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;R&lt;/span&gt;=&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;z&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; 3D_wave 2D_wave
&lt;span class=&quot;kw4&quot;&gt;newimage&lt;/span&gt; 2D_wave&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;which seems obtuse considering the data already exists, but I cant seem to quickly call up the slice in any other way.  What is the correct method here?  Eventually I want to make a function which loads the image and uses a slider to move thru them (half way there)..&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/4713#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Fri, 10 May 2013 05:19:42 -0700</pubDate>
 <dc:creator>daggaz</dc:creator>
 <guid isPermaLink="false">4713 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Help browser not showing</title>
 <link>http://www.igorexchange.com/node/4730</link>
 <description>&lt;p&gt;My help browser doesn&#039;t appear any more, either from the menu help/igor help browser, or the keyboard shortcut cmd+/. I think this has been the case for a few days now.&lt;/p&gt;
&lt;p&gt;The context menu help all looks to be there if I right click on a key word, but I can&#039;t browse e.g. command help. If I scatter the open windows using a hot corner, then a window label for the help shows up as open, but there is no window associated with it.&lt;/p&gt;
&lt;p&gt;Any ideas why this might be the case? I&#039;ve restarted Igor, and the computer.&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/4730#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Mon, 13 May 2013 05:44:52 -0700</pubDate>
 <dc:creator>notwhatucallanatural</dc:creator>
 <guid isPermaLink="false">4730 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>plot label and tick</title>
 <link>http://www.igorexchange.com/node/4716</link>
 <description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I&#039;m new to Igor and I&#039;m having a hard time trying to make the x-axis label on my plot to display engineering unit like 1E-6, 5 E-5, 1E-4, etc. I have looked at the &quot;ticks and grids&quot; tab and tried to switch between &quot;engineering&quot; and &quot;scientific&quot; but it cant get it to display how I wanted. It always shows 100x10^-6 etc...  Also the x-y ticks are overlapping at the corner with my manual range setting, is there anyway to make it not overlap? I have attached an example here.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/4716#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <enclosure url="http://www.igorexchange.com/image/view/4715/preview" length="45674" type="image/jpeg" />
 <pubDate>Fri, 10 May 2013 17:39:57 -0700</pubDate>
 <dc:creator>oipunx</dc:creator>
 <guid isPermaLink="false">4716 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Printing multiple layouts into one single PDF file</title>
 <link>http://www.igorexchange.com/node/4711</link>
 <description>&lt;p&gt;I want to know if it is possible to print, say, 12 layouts into one single PDF file.&lt;/p&gt;
&lt;p&gt;I can print layout to PDF at the command line by setting the PDF printer as default printer but how I can print more than one layout into one single PDF?&lt;/p&gt;
&lt;p&gt;I have lots of data and need to general reports automatically.  If this can be done then I can avoid copying the layout and paste them into one Word file to make a report.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/4711#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Thu, 09 May 2013 21:14:39 -0700</pubDate>
 <dc:creator>eesyliu</dc:creator>
 <guid isPermaLink="false">4711 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>I can´t change the orientation of a layout and neither embedded graphics on it</title>
 <link>http://www.igorexchange.com/node/4450</link>
 <description>&lt;p&gt;I´m using the demo version of Igor 6.31. I was using Igor 5.05.&lt;br /&gt;
In this new version, when I create a layout (Windows&amp;gt;New Layout&amp;gt;Do it), Igor generates a portrait layout. If I need to change it from portrait to landscape, I go to File&amp;gt;Page setup for this layout.&lt;br /&gt;
But Igor says: The page setup failed. Do you want to replace the place setup with a default setup?&lt;br /&gt;
Whatever I press (yes or no), Igor gives an error: The operation could not be completed because Windows OS error of an unknown nature (Windows OS error code: 10). In using Windows 7 64 bits Home edition&lt;/p&gt;
&lt;p&gt;But the funny point is that if I choose from the command line: Layout/S /P=Landscape, Igor creates a landscape layout.&lt;/p&gt;
&lt;p&gt;Another problem is that I can´t embedded graphics in the layout. When I insert a graph in a layout and right-clic over it and try to convert graph to embedded, Igor says: Can´t put controls in a subgraph.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/4450#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Thu, 21 Mar 2013 07:38:42 -0700</pubDate>
 <dc:creator>daviddoji</dc:creator>
 <guid isPermaLink="false">4450 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>highlighting specific frequencies in waves</title>
 <link>http://www.igorexchange.com/node/4707</link>
 <description>&lt;p&gt;If I have a wave that contains multiple frequencies , how can I highlight where in the data a specific range of frequencies occur? For example, if the data has frequencies between 1 and 500Hz but I am interested in finding where frequencies from 3-5 Hz are present, how would one go about doing this? The duration of the wave is about a minute long.&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/4707#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Thu, 09 May 2013 08:49:06 -0700</pubDate>
 <dc:creator>epiphenom</dc:creator>
 <guid isPermaLink="false">4707 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Why Igor Pro 6.22A is slower than Igor Pro 6.1 ?</title>
 <link>http://www.igorexchange.com/node/4714</link>
 <description>&lt;p&gt;Hello all,&lt;/p&gt;
&lt;p&gt;Does someone also have the same feeling that the new version 6.2 is slower than previous version after an update when it calculate the same data? For example I made a procedure to integrate a small range for each wave, say from the point 55 to the point 80 of wave0, wave1, wave2... to form new wave.&lt;br /&gt;
The same procedure in different version costs big difference in version 6.2 and previous version such as 6.1.&lt;br /&gt;
for example 5 second in version  6.1 but 30 second in version 6.22.&lt;/p&gt;
&lt;p&gt;Could somebody  tell me the reason? How to improve it in new version? or just keep using the old version?&lt;/p&gt;
&lt;p&gt;Any suggestion is welcome. thank you.&lt;/p&gt;
&lt;p&gt;Long&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/4714#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Fri, 10 May 2013 05:28:33 -0700</pubDate>
 <dc:creator>feifeihanyu</dc:creator>
 <guid isPermaLink="false">4714 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>using waveexists and creating the non-existant wave</title>
 <link>http://www.igorexchange.com/node/4704</link>
 <description>&lt;p&gt;Igor doesn&#039;t like me.  &lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;geshifilter&quot;&gt;&lt;pre class=&quot;igor geshifilter-igor&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;wave&lt;/span&gt; testwave &lt;span class=&quot;co1&quot;&gt;//have to declare it or waveexists wont work&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;waveexists&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;testwave&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; == 0 &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
...&lt;span class=&quot;kw4&quot;&gt;make&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;o&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;d&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;n=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; testwave
&lt;span class=&quot;kw1&quot;&gt;endif&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;I cant seem to do this, as the two wave references are overlapping.  Is there a way?&lt;/p&gt;
&lt;p&gt;Also just in general, some way to check for the existence of data before running a section of a user defined function.  Purpose being that said function will create certain data on the first running, but subsequent passes would then skip this part.  The check has to be permanent after the function has finished running, which is why I tried with a wave here..&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/4704#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Thu, 09 May 2013 02:53:29 -0700</pubDate>
 <dc:creator>daggaz</dc:creator>
 <guid isPermaLink="false">4704 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>How to normalize Fourier transform plots with number of data</title>
 <link>http://www.igorexchange.com/node/4667</link>
 <description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have been requested to normalize the y-axis of FFT plot with the number of data.  Is there any comment that I can get this number or is there any function in FFT can be automatically adjust eh y-axis be dividing it with the number of data?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/4667#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Sun, 05 May 2013 21:45:32 -0700</pubDate>
 <dc:creator>eesyliu</dc:creator>
 <guid isPermaLink="false">4667 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Question about markers in 2D plots</title>
 <link>http://www.igorexchange.com/node/4702</link>
 <description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Is there any way to change the markers from the standard circle or square shapes to spheres or cubes?&lt;br /&gt;
I want to plot some X-Y data and instead of using the usual markers I&#039;d like to change it up a little. &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Rahul&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/4702#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Wed, 08 May 2013 13:45:00 -0700</pubDate>
 <dc:creator>rahulsrao</dc:creator>
 <guid isPermaLink="false">4702 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>shade under curves</title>
 <link>http://www.igorexchange.com/node/4696</link>
 <description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have made a plot of 3 different curves and Im trying to shade the area under the curves where the horizontal line intersect the other 2 curves. It should be shaded so that if it&#039;s under the larger curve, it has a different pattern than the smaller curve. I have an example of what it should look like in the attached jpeg file. I have read the manual but couldnt figure out how to do this so any help would be greatly appreciated. &lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/4696#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <enclosure url="http://www.igorexchange.com/image/view/4695/preview" length="42700" type="image/jpeg" />
 <pubDate>Tue, 07 May 2013 09:01:29 -0700</pubDate>
 <dc:creator>oipunx</dc:creator>
 <guid isPermaLink="false">4696 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Using if endif statement checking odd or even number of data in wave.</title>
 <link>http://www.igorexchange.com/node/4683</link>
 <description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am doing some FFT repetitively for some data file and I want the script to check if the number of data points is even (a must for FFT) or not.  If it is odd, then delete one data points from all wave to make it even.&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;geshifilter&quot;&gt;&lt;pre class=&quot;igor geshifilter-igor&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;Variable&lt;/span&gt; NOD=&lt;span class=&quot;kw3&quot;&gt;DimSize&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;wave0,0&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;Variable&lt;/span&gt; REMAIN=&lt;span class=&quot;kw3&quot;&gt;mod&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;NOD,&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
 
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;REMAIN &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;==0&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
 
&lt;span class=&quot;kw4&quot;&gt;DeletePoints&lt;/span&gt; NOD-&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;, wave0,wave1,wave2,wave3,wave4,wave5,wave6,wave7
 
&lt;span class=&quot;kw1&quot;&gt;endif&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;I used the above code to detect the modulus.  If the number of data is odd, modulus equals to 1 then one data point will be deleted from all waves.&lt;/p&gt;
&lt;p&gt;However, when I run this in front of all other codes, Igor prompts me &quot;expected wave, variable name....&quot;  when it comes to the &quot;if&quot; code.&lt;/p&gt;
&lt;p&gt;So, I want to ask if it is not allowed to run &quot;if endif&quot; directly in command line without putting them into a function?&lt;/p&gt;
&lt;p&gt;Or, what is the simplest way to achieve that?  (make all waves to even number of data points for FFT.  Thanks.&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/4683#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Mon, 06 May 2013 20:57:14 -0700</pubDate>
 <dc:creator>eesyliu</dc:creator>
 <guid isPermaLink="false">4683 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Gizmo commands should appear in the command window</title>
 <link>http://www.igorexchange.com/node/1198</link>
 <description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;it would be very helpful, to see the Gizmo commands appear in the command window. Because, then I can directly use them for scripting. &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;
Jörg.&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/1198#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/87">Igor Pro Wish List</category>
 <pubDate>Fri, 25 Sep 2009 04:19:59 -0700</pubDate>
 <dc:creator>joerg.kunze</dc:creator>
 <guid isPermaLink="false">1198 at http://www.igorexchange.com</guid>
</item>
</channel>
</rss>
