These packages are components of my JEG Tools,
which you can download for
Mac OS
or
Windoze
.
A collection of tools for text manipulations in
IGOR Pro, consisting of
Given a string containing a dimensioned number, sets two globals in the
current data folder: V_dimensionValue is the numerical value and
S_dimensionString is (dur) the dimension string. SI prefixes are
extracted from the dimension string and the value is adjusted
accordingly (not all prefixes are included, but they're easy to add).
- Example:
JEG_ExtractDimensions("43.234 nm")
- Result:
V_dimensionValue = 4.3234E-08
S_dimensionString = "m"
modified | by | rev | reason |
9/25/96 |
JEG |
1.0 |
original |
10/08/96 |
JEG |
1.1 |
Fixed bug in parsing of "~" prefix for 10-6 |
Just like WaveMetrics'
Keyword-Value routines, except two additional
parameters are passed: a field separator and a record separator.
- Example:
- NanoScope®
headers consist of keyworded records. In NanoScope® II,
keywords are separated from values by
" = " , but NanoScope® III
uses ":" . In both, records are separated by
knuckle-dragger carriage-return/line-feeds.
- In my reader for NSII files,
the scan size in nm is obtained by
JEG_NumByKey("scan_sz", theHeader, " = ",
crlf)
- In my reader for NSIII files,
the scan size is obtained by
JEG_AbortingStrByKey("\Scan
size", theHeaders[imageNumber], ":", crlf) and the string is
converted to proper dimensions with
JEG_ExtractDimensions()
modified | by | rev | reason |
9/25/96 |
JEG |
1.0 |
original |
08/02/98 |
JEG |
1.1 |
corrected parameter order for "replace" routines |
Additional string-list routines to give greater flexibility in list a
field separators. Largely supplanted by IGOR 3.14 and later.
#include <Strings as Lists>
#include <NumInList>
modified | by | rev | reason |
8/11/1998 |
JEG |
1.0 |
original |
Eliminates leading and trailing whitespace (defined by user; pass
" \t" for spaces and tabs) and replaces runs of
whitespace with a single space character.
modified | by | rev | reason |
9/25/96 |
JEG |
1.0 |
original |
WaveMetrics
is not responsible for the content
of this site.
Please contact
me with any questions.
You are the [an error occurred while processing this directive] visitor to this page.
Last modified August 5, 2003 2:28 PM
by Jonathan Guyer
|