6.00.x

NRFit IGOR.6.00.x-6.10-WIN

in
Downloaded 210 times
Download: NRfit_6_1_win.ipf
Size: 346.26 KB
md5_file hash: 70a3fb00ca798a3f852d9e3d39e36080
First released: October 30, 2011 - 09:54

Windows version
Works for most of the recent IgorPro 5 to 6.22

NRFit IGOR.6.00.x-mac

in
Downloaded 61 times
Download: NRfit_6_0_mac.ipf
Size: 346.73 KB
md5_file hash: 8c1593f22c98dcf6edb7d1ae7ec917d7
First released: October 28, 2011 - 17:42

MAC OSX version for Igor Pro <= 6.0

Fake Waterfall Plot

Average rating
(0 votes)

// Igor can display waterfall plots using the NewWaterfall operation (choose Windows->New->Packages->Waterfall Plot).
// This requires storing your data in a 2D wave. You can also create a 3D waterfall plot using Gizmo.
//
// However, for the common case of displaying a series of spectra, you may find that a "fake waterfall plot"
// is more convenient. And it works with your original waveform or XY data.
//
// A fake waterfall plot is a regular graph with multiple waveform or XY traces where you use Igor's X and Y

Deconstruct date/time value into its component parts

Average rating
(0 votes)

// Deconstructs an Igor date/time value (seconds since 1904-01-01) into
// its component parts (year, month, dayOfMonth, etc.).
// Because it uses pass-by-reference parameters, this function can be called
// only from another user-defined function. See the Demo function below for usage.
 
Function DeconstructDate(dt, year, month, dayOfMonth, dayOfWeek, hour, minute, second)
	Variable dt					// Input date/time value
	Variable& year				// Output
	Variable& month			// Output
	Variable& dayOfMonth		// Output
	Variable& dayOfWeek		// Output
	Variable& hour				// Output

Get Offset of Trace in Graph

Average rating
(0 votes)

Function GetTraceOffset(graphName, traceName, instance, which)
	String graphName	// "" for top graph
	String traceName
	Variable instance 	// Usually 0
	Variable which		// 0 for X, 1 for Y
 
	String info= TraceInfo(graphName,traceName, instance)
 
	String offsets = StringByKey("offset(x)",info,"=",";") // "{xOffset,yOffset}"
 
	Variable xOffset,yOffset
	sscanf offsets, "{%g,%g}",xOffset,yOffset
 
	if (which)
		return yOffset
	endif
	return xOffset
End

Execute code when Igor starts up

Average rating
(0 votes)

If you want to execute Igor code whenever Igor first launches or when New Experiment is selected, create a procedure file
in Igor Procedures folder containing a (preferably static) IgorStartOrNewHook function:

// Contents of Startup.ipf, place into Documents:WaveMetrics:Igor 6 Users Folder:Igor Procedures
//
#pragma rtGlobals=1        // Use modern global access method.
#pragma moduleName=startup    // traditional for static functions
 
Static Function IgorStartOrNewHook(igorApplicationNameStr)
    String igorApplicationNameStr    // not that useful, but that's what it is

PicoHarp File Access for Igor Pro IGOR.6.00.x-1.1-1

in
Downloaded 347 times
Download: Read_Picoharp_Files_IGORv6_v1.ipf
Size: 16.59 KB
md5_file hash: a8d10f0243b780bbf5db301519108124
First released: February 11, 2011 - 12:21

Version one for Igor Pro v.6+. Add this file to your User Procedures folder, load, and compile.

PicoHarp File Access for Igor Pro IGOR.6.00.x-1.1

in
Downloaded 0 times
Download: Read_Picoharp_Files_IGORv6+_v1.ipf
Size: 16.59 KB
md5_file hash: a8d10f0243b780bbf5db301519108124
First released: February 11, 2011 - 11:27

Version one for Igor Pro v.6+. Add this file to your User Procedures folder, load, and compile.

Edit Graphs Waves In Table

Average rating
(0 votes)

// These procedures create a table displaying the waves used in a graph.
// They add an "Edit Waves in Graph" item to the Graph menu.
// They handle waveform and XY data.
// You can run the procedure again on a given graph. It will add waves associated with
// any new traces to the table.
// The procedures do not remove waves from the table if the corresponding waves
// were removed from the graph.
// Example:
//	Make jack=sin(x/8), joe=cos(x/8)
//	Display jack, joe
//	Display jack, joe
//	Make xData = p, yData = p/128
//	AppendToGraph yData vs xData

Writing Results of a Curve Fit to a Notebook

Average rating
(0 votes)

// SendGaussianFitResultsToNB(nb, comment, dataWave, W_coef, W_sigma)
// Demonstrates writing the results of a Gaussian curve fit to a notebook.
// To try it, paste the functions below into the procedure window of a new experiment.
// Now execute this on the command line:
//   Demo()
Function SendGaussianFitResultsToNB(nb, comment, dataWave, W_coef, W_sigma)
	String nb				// Name of notebook, e.g., "Notebook0"
	String comment			// Comment to be added to the notebook
	Wave dataWave			// The wave that was fit
	Wave W_coef			// Output from the CurveFit operation

Syndicate content

Back to top