Differences
This shows you the differences between two versions of the page.
| documentation:language_reference:objects:spectra:properties:ne [2016/09/29 11:37] – created Maurits W. Haverkort | documentation:language_reference:objects:spectra:properties:ne [2025/11/20 04:20] (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: | ||
| + | ### | ||
| + | |||
| + | ==== Input ==== | ||
| + | <code Quanty Example.Quanty> | ||
| + | dofile(" | ||
| + | print(G.NE) | ||
| + | </ | ||
| + | |||
| + | ==== Result ==== | ||
| + | <file Quanty_Output> | ||
| + | { 1000 , 1000 , 1000 } | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | ===== Available functions ===== | ||
| + | {{indexmenu> | ||
| + | |||
| + | ===== Available methods ===== | ||
| + | {{indexmenu> | ||
| + | |||
| + | ===== Available properties ===== | ||
| + | {{indexmenu> | ||