6.03.x

Planck Distribution Plot IGOR.6.03.x-1.1-1

in
Downloaded 120 times
Download: Planck Distribution.zip
Size: 91.55 KB
md5_file hash: d7ddb86df8e541ad668f5e327ff81243
First released: February 14, 2011 - 09:33

This update increases the precision of the constants.

Automatically add tags to all points on graph from text wave

Average rating
(0 votes)

This function automatically adds tags to a graph from a text wave. You must specify the graph name ("" for top graph) as a string, the trace name to be labeled as a string, and the text wave that the labels should come from. The labelWave should have at least as many points as the wave to be labeled.

Function AddTagsFromWave(graphName, traceName, labelWave)
	String graphName
	String traceName
	Wave/T labelWave
 
	Wave w = TraceNameToWaveRef(graphName, traceName)
 
	Variable index
	for(index = 0; index < numpnts(w); index+=1)
		String tagName = "label" + num2str(index)

3D integration

Average rating
(1 vote)

Igor provides a function "Integrate1D()" for integrating functions of one-dimensional arguments. The associated help file gives a method for using it to integrate functions of two-dimensional arguments, with the statement "This method can be extended to higher dimensions." I found the effort to be not entirely trivial, and thought to save others the work with the following code. I have shown an interestingly complex user function of (x,y,z) that has a simple analytic result for large integration limits after converting to a radial coordinate system

Extend a Panel In Only One Direction

Average rating
(0 votes)

// Create a panel with a button that will extend the panel size in only one direction (downward in this case).
// The extension is also set at a pre-defined size.
// Features inside the initially hidden extension range can be shown or hidden again using the XtendD button.
 
Static Constant normaldepth = 80
Static Constant xtendeddepth = 170
 
Function SamplePanel()
 
	NewPanel/W=(10,25,255,25+normaldepth)/N=XtendablePanel/K=1 as "Xtend Me"
	ModifyPanel noEdit=1, fixedsize=1
        Button XtendD,pos={4,55},size={15,20},proc=XtendDown,title=">", userData="closed"

Create a panel representing equipment status

Average rating
(0 votes)
Digital control panel example

The code below will allow you to create a simple panel (see attached image) that allows you to monitor or potentially control a simple piece of equipment. The example controls 16 individual digital bits and can be used in different modes, including to monitor the status of a real piece of equipment or to be used in place of a piece of equipment.

To use the code, copy it into a procedure window and compile the code. Then, you'll need to create two waves.

Planck Distribution Plot IGOR.6.03.x-1.1

in
Downloaded 479 times
Download: PlanckDistributionDemo_0.pxp
Size: 176.74 KB
md5_file hash: fab040a02e22c35ef021d3b534685698
First released: May 27, 2009 - 06:31

This fixes a minor yet probably annoying problem of showing a dialog for an undefined path statement at the start of the experiment file.

getXRDML() - function to load xrdml data from Panalytical diffractometers using the XOP XMLutils

Average rating
(0 votes)

The getXRDML() function makes use of the XOP XMLutils by andyfaff (http://www.igorexchange.com/project/XMLutils) to load diffracted intensties from xrdml files (Panalytical diffractomters standard xml file format).
It creates a folder for each xrdml-file read. The foldername will be the xrdml-filename in lower case letters without the fileextension. The intensities are loaded into waves called 'intensities##' stored in the folder /XMLutil/XRD/'filename'.

udStFiLrXML IGOR.6.03.x-1.3

in
Downloaded 160 times
Official release from Subversion tag: IGOR-6-03--1-3
Download: udStFiLrXML-IGOR.6.03.x-1.3.zip
Size: 117.25 KB
md5_file hash: 89c4b69ab5eb3c3176bcf5474c66fbee
First released: April 29, 2009 - 16:35
Last updated: April 29, 2009 - 16:40

This has a bug fix and code change.

SpXZeigR IGOR.6.03.x-4.3

in
Downloaded 780 times
Official release from Subversion tag: IGOR-6-03--4-3
Download: SpXZeigR-IGOR.6.03.x-4.3.zip
Size: 18.72 KB
md5_file hash: 58b1f4b88203e1284f9566d713978e90
First released: April 29, 2009 - 16:19
Last updated: April 29, 2009 - 16:20

This release fixes a few minor mistakes. It also represents the end of the 6.0x development line.

Find graphs where a wave is plotted

Average rating
(0 votes)

//Brings to the front the graphs containing a given wave
//Given a wavename (requires full path), returns a string containing a list of window names indicating the
//graphs that contain this wave as a trace, and brings those graphs to the front.
//Written to find graphs that are blocking deletion of a wave, i.e., to
//cope with the error message "1 object(s) could not be deleted because they are in use".
//One way to use this function: select, in the data browser, the wave you are having trouble deleting;

Syndicate content

Back to top