6.12.x
QENS fit functions - jump diffusion
Posted September 27th, 2011 by andyfaff#pragma rtGlobals=1 // Use modern global access method. //Jobic, H. & Theodorou, D. //"Quasi-elastic neutron scattering and molecular dynamics simulation // as complementary techniques for studying diffusion in zeolites", // Microporous and Mesoporous Materials, 2007, 102, 21-50 //note that we are fitting FWHM, NOT HWHM, so there are factors of two difference. Function chudleyelliot(w, y, x):fitfunc wave w, y, x //eqn 51 //w[0] = tau //w[1] = d y = sin(x * w[1]) / (x * w[1]) y = 1 - y y /= w[0] / 2 End Function hallross(w, y, x):fitfunc wave w, y, x
Parse a line of a directory list using splitstring and PCRE
Posted August 9th, 2011 by andyfaffFunction/s parseDirectoryListLine(directoryline, isdirectory) string directoryline variable &isdirectory //directoryline = " dr-xr-xr-x 2 1 1 45056 Jan 6 20:11 q02ee8dddds" string a, b, c,d,e,f,g,h,i, j,k,l,m,n,o,p,q //perm string regex="([dwrx-]+)" //u regex+="(\\s)+" regex+="([[:alnum:][:punct:]]+)" //g regex+="(\\s)+" regex+="([[:alnum:][:punct:]]+)" //o regex+="(\\s)+" regex+="([[:alnum:][:punct:]]+)" //size regex+="(\\s)+" regex+="([[:digit:]]+)" //month regex+="(\\s)+" regex+="([[:alpha:]]{3})" //day regex+="(\\s)+"
Benjamini and Hochberg False Discovery Rate
Posted July 4th, 2011 by sdriscoll//********************************************************************* // statsBHFDR // // Implements Benjamini and Hochberg False Discovery Rate. Tolerates // more false positives but less false negatives. Least stringent // correction. // // Parameters: // w - input wave of p-values // // Optional Parameters: // ncol - column number of p-values if input wave w is a 2D matrix //********************************************************************* function statsBHFDR(w,[ncol]) //----------------------------------------------------------------- // parameters
Bonferroni Step-down correction
Posted July 4th, 2011 by sdriscoll//********************************************************************* // statsBSDC // // Implements Bonferroni Step-down correction. // // Parameters: // w - input wave of p-values // // Optional Parameters: // ncol - column number of p-values if input wave w is a 2D matrix //********************************************************************* function statsBSDC(w,[ncol]) //----------------------------------------------------------------- // parameters //----------------------------------------------------------------- wave w; variable ncol;
Bonferroni correction
Posted July 4th, 2011 by sdriscoll//********************************************************************* // statsBC // // Shawn Driscoll // Salk Institute for Biological Studies // // Implements Bonferroni correction. With a Family-wise error rate of // 0.05, the expected number of false positives will be 0.05. // // Parameters: // w - input wave of p-values // // Optional Parameters: // ncol - column number of p-values if input wave w is a 2D matrix //********************************************************************* function statsBC(w,[ncol])
Sensicam Driver IGOR.6.12.x-1.0
Posted June 14th, 2011 by a.kaiserSize: 109.32 KB
md5_file hash: b7709f8cfbae9329dd029a8d27374874
First released: June 14, 2011 - 03:44
Last updated: June 14, 2011 - 03:44
New release of Sensicam-Driver with help file.
Added: Helpfile and SC_ReleaseCam()
Installation:
- Copy Sensicam.XOP in Igor Extensions
- Copy SensicamXOP.ihf in Igor Help Files
Usage:
- Initialization: SC_InitCam()
- Set Parameters: SC_OpenDialog() or SC_SetValues(binning, exposureTime)
- Take Pictures: SC_TakePicture_12(waveName) or SC_TakePicture_8(waveName, min, max)
- Release Camera: SC_ReleaseCam()
Kymograph analysis IGOR.6.12.x-1.0
Posted January 7th, 2011 by Doctor_DSize: 3.79 KB
md5_file hash: 8b9a1fcc552e45434584a357ccc5a00e
First released: January 7, 2011 - 05:55
Runs on Igor Pro 6.12 or later. SARFIA must be installed.
Changelog:
1.0: Initial release
Semi-Automated Routines for Functional Image Analysis (SARFIA) IGOR.6.12.x-1.05
Posted December 30th, 2010 by Doctor_DSize: 6.04 MB
md5_file hash: d4d5ec12227838c8153ca5450c1f35ea
First released: December 30, 2010 - 06:36
Runs on Igor Pro 6.12 or later.
This release contains a detailed help file, describing all functions and a manual describing the control panels. To install, unzip and copy the contents of User Procedures into the WaveMetrics>User Procedures folder, the contents of Igor Procedures into the WaveMetrics>Igor Procedures folder and the contents of Help Files into the WaveMetrics>Igor Help Files.
Changelog:
Convert an unsigned 32 bit integer wave to two signed 16 bit integer waves
Posted December 14th, 2010 by andyfaffFunction Test(in) Wave in //in is an unsigned 32 bit integer wave variable numPoints = numpnts(in) Make/O/W/N=(numPoints) out1 MultiThread out1 = (in & 0xFFFF0000) / 65536 Make/O/W/N=(numPoints) out2 MultiThread out2 = in & 0xFFFF End
The code was originally created by Howard Rodstein of WM.
Triangle function (derived from Sawtooth)
Posted October 14th, 2010 by s.r.chinnHere is a generalization of the sawtooth() function, that creates a triangle wave. The optional asymmetry argument, v, makes the triangle segments asymmetrical to the right or left. If v=1, the function is the same as a sawtooth, and if v=0 the function is the oppositely directed sawtooth. If the optional argument is omitted, the default v=0.5, and a symmetrical trangle is created. Values of v outside the range [0,1] are pinned to the nearest limit. See the sawtooth() help file for general usage details.
function tri(x, [v]) variable x, v if (ParamIsDefault(v)) v = 0.5
