XRR computations

The list of spectra in SCOUT and CODE offered object types called ‘Angle scan’ and ‘XRR’ for a long time already. Although the names indicate what these objects are made for, there was no documentation up to now. We have started to update the SCOUT help with respect to these objects.

Here are the links to the relevant sections:

Bugfix SQL export of results

While processing new results the main application brein.exe was blocked if the export to an external SQL database went wrong for some reason. The new results did not arrive in BREIN at all.

Every SQL export command is now embedded in a so-called “try-finally” statement. This way the internal processing of new results should not be disturbed by SQL problems any more.

The results page of the main BREIN application brein.exe has a new button called ‘Autosize columns’. It does what the name suggests – the width of the columns is adjusted to be just large enough to hold show all content.

Improvement of Gervais oscillators

Certain parameter combinations of Gervais oscillators may lead to unphysical optical constants (i.e. negative imaginary part of the dielectric function). Physical meaningful solutions satisfy a sum rule for the damping constants which may be used to steer the fit into the direction of ‘good’ solutions.

The “check sum” (sum of the difference of LO damping and TO damping for all oscillators) can now be obtained as optical function. Use the optical function “my_material (Gervais_condition)” to retrieve the current value of the check sum.

In order to make use of this number in a fit you can proceed like this(this hint will work in CODE only): Generate an integral quantity of type ‘function of int. quant.’ and call it ‘Gervais check sum’. As formula to compute the value use the term “of(1)” (here it is assumed that the check sum is the first optical function). So the integral quantity is the check sum itself.

Now define a penalty shape function for this integral quantity. It should be 0 if the check sum is positive, and get large for large negative values of the check sum. An expression like “abs(y)*step(-y)y)” will do the job (in penalty shape functions for integral quantities the symbol “y” refers to the current value of the integral quantity). This way large negative values of the check sum are severely punished whereas positive values do not contribute to the fit deviation at all.

Finally activate the option “Combine fit deviations of integral quantities and spectra” in the fit options dialog (File/Options/Fit). This lets CODE simultaneously minimize the difference of measured and simulated spectra and the fit deviation of the integral quantities (which is in this case the penalty for an unphysical check sum). Eventually you have to experiment a little bit with the weight of the ‘Gervais check sum’ in the list of integral quantities in order to get a good fit.

Bugfix Gervais oscillators

Using several Gervais oscillators at the same time eventually caused numerical problems. This has been fixed today – you can now really use all 10 oscillators which are offered by the “Gervais dialog”.

Improvement bright_eye_traverse.exe

Up to now the traverse analysis program bright_eye_traverse.exe required for all products the number of analyzed spectra (i.e. the number of probeheads) to be the same. This restriction has been removed.

If an incoming scan file (which holds all measured data) has more spectra than the selected product, the excess data are simply ignored.

Bugfix bright_eye_inline.exe

Under some circumstances the inline analysis program bright_eye_inline.exe would suddenly stop to process new files. The only way to go on with data analysis was a manual re-start of the program. This bug has been removed.

Reflectance spectra of the TohoSpec3100 system can now be imported both in SCOUT and CODE.

BREIN flickering issue solved

Some customers reported annoying flickering of some BREIN graphics. It turned out that this problem is related to the Aero theme introduced with Windows 7 – it does not occur if you switch off Aero.

We could reproduce the problem and solve it. You can now enjoy flicker-free graphics with Aero and without.

You can now check-out a managed license for offline use. The typical scenario is that you plan to travel with your laptop and expect to have no internet connection for a while. In this situation you can use the menu command “?/Check out managed license for offline use” while you still have a connection to the internet. You have to specify the number of hours for which you will be offline. During this time you can work without connection to the license server.

The license server blocks your license for the indicated offline time for other users. If your license is one license of a pool shared by several users act responsibly and declare reasonable offline periods only.

If your offline time is over earlier than expected you can use the menu command “?/Un-do managed license check-out” to tell the server that you are online again. Your license will then be available for other users if you do not use if for some minutes.