The global “parameter variation” mechanism (started by the menu command “Actions/parameter variation”) has been enhanced. From now on objects of type “Color angle variation” export their full angle dependence for every value of the parameter variation to the workbook. Tables for L*, a* and b* are written to individual worksheets.
Category Archives: CODE
Automated data acquisition enhanced
Starting with object generation 4.20 you can now select if a spectrometer object acquires new data at automation steps.
The default behaviour is to acquire new data at each automation step. Objects that do this are painted in red in the list of spectrometers. Objects which do not record data at automation events are drawn in gray.
In order to toggle data acquisition on and off press function key F4 (or F5).
NFRC U-factor computation
The computation of NFRC U-factors and SHGC values involves an iterative process to achieve a stable temperature profile within the glazing. The net energy flow is computed once temperature differences betweeen 2 iterations are below a threshold value. This value has been 0.0001 (K) up to now.
Starting in CODE version 4.20 you can individually set the threshold for each integral quantity. In particular, you can set smaller values to avoid (very small) differences between CODE and WINDOW results for U-factors.
New fit option: Maximum number of iterations
There is a new option to stop a parameter fit: You can set a maximum number of iterations (i.e. re-computations of the optical model).
This option allows to define a reproducable fit quality, independent of the computer speed and workload given by other processes.
Before you set the maximum you must figure out how many iterations are sufficient to reach your goals, probably adding some extra iterations for tough fit situations.
New optical function: refractive index from fringes
Narrow interference fringes of thick layers can be used to determine the refractive index of the sample if the mechanical thickness of the layer is known. The new optical function ‘refractive index from fringes’ provides this functionality, analyzing interference maxima.
Spectra must be provided in wavenumbers. The function requires 5 parameters:
- wavenumber minimum of the relevant spectral range
- wavenumber maximum of the relevant spectral range
- Minimum height of an interference maximum
- Minimum separation of 2 neighbored maxima
- Mechanical thickness in microns
The following example shows how to write a function call:
R (refractive index from fringes 2800 2900 0.2 2.5 754)
New tool: Polynome fit
The list of special computations offers a new object which lets you fit a polynome to an imported set of data points.
Template for batch control tables
The batch control window can now save its content as a template for future work. Use the local menu commands Actions/Save current content as template and Actions/Load template to save and load the tables. A file called batch_control_template.xlsx in the user application directory is used to store the template.
Bugfix colorbox objects
Objects of type ‘colorbox’ and related special computaton objects could not be edited any more. This has been fixed today.
Bugfix ‘Lines’ view element
View elements of type ‘Lines’ had a problem with a blank following another blank in the text: A line break was generated and one character of the next word was missing. This has been fixed.
Colorbox: Export average spectrum
You can now export the computed average spectrum to an object in the list of spectra. The property dialog allows to specify the name of the receiving object.
If a name of an existing spectrum object is defined, the average spectrum will be copied to the field ‘experiment’ – as if it were a measured spectrum. This way you can compute integral quantities for the average spectrum.