6.20.x

MatrixFileReader XOP IGOR.6.20.x-0.22

in
Downloaded 2 times
Download: matrixFileReaderXOP-v0.22.zip
Size: 2.74 MB
md5_file hash: bba05cfe331ba16b48e743aef435f2a1
First released: June 10, 2013 - 12:12

Add new operation MFR_GetBrickletDeployData
require Vernissage 2.2 (tested with T2.2-2)
added support for new API functions
upgraded XOP Toolkit to version 6.30

Arrange Left Axes

Average rating
(1 vote)

// ArrangeLeftAxes(graphName)
// graphName contains the name of a graph to which you have appended waves using one or more free left axes.
// ArrangeLeftAxes arranges the left axes to allocate the available vertical space evenly.
// For a demo execute the Demo function below.
static Function ArrangeLeftAxes(graphName)
	String graphName				// "" for top graph
 
	if (strlen(graphName) == 0)
		graphName = WinName(0, 1)
		if (strlen(graphName) == 0)
			return -1					// No graphs - should not happen
		endif
	endif
 
	String leftAxisList = AxisList(graphName)

C Code to add a Cocoa Window to and Igor XOP

Average rating
(1 vote)

I have a window that displays a bunch of status (that I get from an external TCP connection), which I had been drawing with QuickDraw. Now that QuickDraw calls are not even provided with Xcode, it is time to modernize my XOP window. Here is the hard part of converting it to a Cocoa window.

There is no interaction whatsoever between Igor and the window, so I have high hopes that it will continue to work in Igor 7.

Stocks High Low Close Open Trace

Average rating
(0 votes)
Example High-Low-Close-Open graph

Tracking the daily price of stocks uses a "High/Low/Close/Open" graph, which shows all 4 daily prices on one day. See the attached image for an example graph.

This code snippet adds an "Append High Low close Open Trace" item to Igor's Graph menu, and also two submenus for controlling trace thickness and color. The submenus are warranted because the trace's color and thickness are controlled by multiple trace settings, and it makes it easier to ensure they're all set to the same values.

Hessian matrix estimator

Average rating
(0 votes)

#pragma rtGlobals=3		// Use modern global access method and strict wave access.
 
//See the following link for central difference problems
//http://www.holoborodko.com/pavel/numerical-methods/numerical-derivative/central-differences/
 
//the following link says why an EPS of 1e-5 should be used. Basically, if the accuracy for the central difference algorithm is A, then the step size, H, should be A^0.3333.
//Thus, if you calculate in DP, the accuracy is on the order of 1e-15.  The cube root of 1e-15 is 1e-5.

Trace Toggler

Average rating
(0 votes)

Creates a panel to easily toggle the visibility of traces on the selected graph, useful to quickly compare many sets of data all plotted together. A trace visibility selector. Perhaps a bit long for a code "snippet" but could probably be condensed a bit more.

menu "Macros"
	"Trace Toggler",CreateTogglerPanel()
end
 
function CreateTogglerPanel()
	string trl=tracenamelist("",";",1) //list of all traces on graph
	string vtrl=tracenamelist("",";",1+4) //list of visible traces on graph
	string item,itemname
	variable items=itemsinlist(trl),i

Euclidean Distance Transform

Average rating
(0 votes)

Euclidean Distance Transform calculated using the "Fast euclidean distance transformation in two scans using a 3x3 neighborhood" algorithm from F.Y. Shih and Y.-T. Wu, Comput. Vis. Image Underst. 93 (2004) 195-205.

syntax highlighting for gtksourceview for editors like gedit or meld IGOR.6.20.x-2.0

in
Downloaded 18 times
Download: editorBoostWithProcedure.zip
Size: 9.44 KB
md5_file hash: d02582755ecc17ddbe7f5ce693459d1c
First released: March 28, 2013 - 13:37
Last updated: March 28, 2013 - 13:35

The language support is now complete with autogeneration from ipf procedure.
It was tested under 6.22 but should work on later versions, just compile the procedure and type
createLanguageFile()
in the commad window.
It will prompt you for a place to save the file. Select all file types and save as gap.lang.

HITRAN procedures for Igor IGOR.6.20.x-1.1

in
Downloaded 19 times
Download: HITRANprocs_1_1.zip
Size: 4.32 MB
md5_file hash: 8ddd74c04d89a7c5843a67b3f3b04dd0
First released: February 21, 2013 - 21:42

NOTE: Includes (and requires) updated LineBroadening.ipf (version 1.1) which is also available as a stand-alone download under the Line Broadening project.

Updates for version 1.1:

Simplified Setup Process:

Line Broadening IGOR.6.20.x-1.1

in
Downloaded 39 times
Download: LineBroadening_0.ipf
Size: 32.46 KB
md5_file hash: 06009aaf315ffd042cf98815edcac28a
First released: February 21, 2013 - 21:28

Updates for Version 1.1

BUG FIX:
Corrected formula for Gaussian to produce correct half-widths (this had been off by sqrt(2), and also affected the width of the Voigt function because of the method used to generate the Voigt)

FASTER FILL ALGORITHM FOR LINE BROADENING
Added option to use the built in Igor Histogram operation (with the weighted histogram option) in the "FillDestWave" function.
This significantly speeds up the fill process which is usually the rate limiting step if there are many lines present in the X,Y data.
It is slightly less accurate on a peak by peak basis:

Syndicate content

Back to top