
6: Functions Reference
013-RD000-000-12- 201010 35
Intent:
To read in a 2-dimensional array of real numbers from a file. The array columns represent reference
spectra for use in pattern matching with a sample spectrum. The number of rows will typically be
2048, which is the default length of a spectrum.
Savereading
Syntax: SaveReading (F,Legend,Index,Units Text)
Arguments
Name Type Special Considerations
F FILE Must be ForWrite
Legend TEXT Like “Spot Value”
Index Integer variable or literal Index into pixel values
Units TEXT Like “nM or Angstroms”
Intent:
Put human-readable text into a file.
Example:
SaveReading(MyFile, “My Reading Text:” , Variable, “nm/s Units Text”)
Scale
Syntax: Scale(<arithmetic expression>,A)
Arguments
Name Type Special Considerations
Arithmetic expression Variable, constant or an expression
that evaluates to a numeric value
Serves as multiplier
A Spectral A = z*A
Commenti su questo manuale