Differences

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

Link to this comparison view

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