5.05.x
Rudimentary Binary File Reader
Posted November 13th, 2008 by jamieEnables you to peek inside binary files to to see what is inside of them. Useful if, e.g., you are making your own file loader and need to read headers and find offsets and see what kind of data is in the file.
#pragma rtGlobals=1 // Use modern global access method. #pragma IgorVersion=5 #pragma IndependentModule=BinaryReader //BinaryReader helps you peek into binary files on disk to see what is inside of them. // Useful if, e.g., you are making your own file loader and need to read headers and find offsets and see what kind of data is in the file.
Mr. Hister takes a list of waves and plots them all evenly spaced with the same size and scaling. Good for comparing histograms.
Posted June 13th, 2008 by jamieMr. Hister takes a string containing a semicolon-seprated list of waves (theHistList)and plots them all at the same size and scaling nicely arranged in a 2D matrix on single graph with multiple axes. Waves are plotted in the order they are listed, so you may want to sort the list appropriately first.
One way of sending mail from IGOR
Posted April 29th, 2008 by andyfaffA quick and direct solution of sending mail is available if you have the base64.xop and SOCKIT files installed, and the server doesn't require secure login. It is also possible to send attachments, but this requires slightly more effort as the attachment needs to be encoded in base64 (which is possible, if I get round to writing it).
Here is some sample code that demonstrates using the SMTP LOGIN protocol (another option may be PLAIN, see http://www.technoids.org/saslmech.html#appA) :
string mailServer = "mail.mymailserver.com" string username = base64encode("myusername")
Parse Date, Time and Date/Time Strings
Posted April 21st, 2008 by hrodsteinFunction ParseDateStringAlpha(str) String str // Format: ddmmmyyyy hh:mm:ss.xx Variable day, month, year, hour, minute, second, fraction String monthStr sscanf str, "%2d%3s%4d %d:%d:%d.%d", day, monthStr, year, hour, minute, second, fraction // For debugging only. // Print day, monthStr, year, hour, minute, second, fraction // This should be broken out into a subroutine for cleanliness. strswitch(monthStr) case "jan": month=1 break case "feb": month=2 break case "mar": month=3 break case "apr": month=4 break
CCP4XOP IGOR.5.05.x-2.0-1
Posted April 16th, 2008 by jegDownload: CCP4XOP-IGOR.5.05.x-2.0-1.zip
Size: 16 KB
md5_file hash: e487ff598a231430c10eee84d52b86ce
First released: April 16, 2008 - 13:31
Last updated: April 16, 2008 - 13:40
Support for Windows (thanks to Andrew Nelson).
Tested on Intel & PPC Macs as far back as Igor Pro 5.05A.
See INSTALL.txt for instructions on where to obtain the CCP4 library source code and how to build the XOP. Because of licensing restrictions imposed by Daresbury Laboratory, it is impossible to supply this XOP in either binary form or with all the necessary source code.
CCP4XOP IGOR.5.05.x-2.0.x-dev
Posted April 16th, 2008 by jegDownload: CCP4XOP-IGOR.5.05.x-2.0.x-dev.zip
Size: 16 KB
md5_file hash: f3f58385af44e977824f4c83d45be536
First released: April 16, 2008 - 09:34
Last updated: April 16, 2008 - 14:02
Support for building on Windows from Andrew Nelson
Note: This XOP has been tested as far back as Igor Pro 5.05A, but I'm unable to edit the release info to reflect that.
Light Switch Procedure Pict
Posted December 4th, 2007 by jamieThis is a procedure picture suitable for jazzing up a check box. It describes a light switch with up/ON and down/OFF positions, with slightly darkened versions for mouse down and washed out low contrast versions for disabled. Modified from the light switch on the icon for OS X system preferences. Background grey has been adjusted to match background of default Igor control panel. I spent all blessed morning drawing this thing, so I hope people find it useful. And yes, I know that light switches in some places normally work the reverse of this way, with down being on and up being off.
