Differences

This shows you the differences between two versions of the page.

Link to this comparison view

documentation:language_reference:objects:spectra:properties:n [2016/09/29 11:36] – created Maurits W. Haverkortdocumentation:language_reference:objects:spectra:properties:n [2016/10/10 09:41] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== N ======
  
 +###
 +unsigned integer, read only
 +###
 +
 +###
 +If //G// is a spectrum object //G.N// returns the number of spectra in the object.
 +###
 +
 +===== Example =====
 +
 +###
 +Print the number of spectra calculated in the [[documentation:language_reference:objects:spectra:start|definitions file]] for spectra.
 +###
 +==== Input ====
 +<code Quanty Example.Quanty>
 +dofile("definitions.Quanty")
 +print(G.N)
 +</code>
 +
 +==== Result ====
 +<file Quanty_Output>
 +3
 +</file>
 +
 +
 +
 +===== Available functions =====
 +{{indexmenu>../functions/#1}}
 +
 +===== Available methods =====
 +{{indexmenu>../methods/#1}}
 +
 +===== Available properties =====
 +{{indexmenu>.#1}}
Print/export