Ocean-optics Jaz Scripting Language and Scripting Engine Manuel d'utilisateur Page 43

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 74
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 42
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
Vue de la page 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 73 74

Commentaires sur ces manuels

Pas de commentaire