HoloWerk LLC

HoloWerk LLC
HW for GMS v2

HoloWorks*

 

Dear customer, GMS v2 is no longer supported by Gatan and we strongly recommend to upgrade to GMS v3.
HoloWerk LLC is committed to its customers and so we have provided one more update as of April 2018.
Owners of HoloWorks 5.0.7 under GMS v2 can upgrade to v5.1 by contacting holowerk@mac.com.
This web page is specifically in support of HoloWorks users, dedicated to GMS v2.

Contact HoloWerk@mac.com for additional inquiries or support for special projects


HoloWorks v5.1 features


  1. Integrating HW v5.1 with GMS 2
  2. Setting up Live Phase Imaging
    1. Camera and fringe spacing setup
    2. Optimizing hologram acquisition parameters
  3. Live Phase Imaging                 <---check this
  4. Hologram Stack Acquisition
  5. Hologram Stack Processing
    1. Eliminating fringe drift from hologram stacks
    2. Suppressing Fresnel fringes
    3. Averaging, object- drift correction & high phase resolution
    4. Drift determination for noisy holograms
    5. Averaging noisy complex images
  6. Additional Details
  7. Manual
∧ Back to top










0.   Integrating HoloWorks v5 with GMS v2





Figure 1:   Buttons are available for the most used functions for HoloWorks. To become accessible, they must first be enabled as shown in the short movie on the left.
∧ Back to top










1.   Setting Up Live Phase Imaging

  a. Camera and fringe spacing set-up


Figure 2:   Setup camera for preview For Live Phase Imaging, lots of electrons are needed: imaging is running at several fps (frames per seconds). Typically, for a 2k camera (i.e., 2048 by 2048 pixels) a binning factor of 4 is recommended. This allows 16x more electrons per pixels and yields good results even at >>1fps. Exposure times should be selected accordingly, e.g., 0.2s, which will yield ~4fps (camera read-out overhead). This is sufficient to observe a decent phase image and check out the sample area for the best spot.

Fringe Spacing Selection:
Generally, for off-axis electron holography, the microscope is not in a standard setting, optically. Users should carefully consider what resolution and what field-of-view is necessary to observe the desired features. Part of the considerations must be the camera performance; the MTF (modulation transfer function) and DQE (detection quantum efficiency). These are sub-optimal unless a single-electron detection camera can be utilized. All these parameters must be considered when setting up the microscope for holography.

Rule of Thumb:
Considering 2-3 interference fringes per resolution detail and at least 4 pixels per fringe requires typically a sampling rate s with 8 < s < 12 for the interference fringes. This is the consideration for the final high-quality hologram.
For Live Phase imaging, we will break this rule.

Breaking the rules:   Live Phase Imaging
Given the basic parameters (see Rule of Thumb), and a camera setup with binning of 4, the sampling rate s for the interference fringes (number of pixels per fringe) computes simply to 2 < s < 3. The interference fringes can be fine-tuned with the voltage applied to the biprism and the location of the sideband can be easily detected in Fourier space (see movie/figure above). For a sampling rate of, e.g., s = 2.75 the position of the sidebands should coincide with the circle super-imposed on the live FFT.
Note: the live FFT is activated either with the standard GMS menu or, e.g., by holding down the Shift key (keyboard) when clicking on the FFT button as shown in the movie (Figure 2).



  b. Optimizing hologram acquisition parameters

Figure 3:   Optimizing fringe contrast or hologram quality?
It is still a wide-spread believe that fringe contrast is the most important parameter to optimize. This however is not quite true. Reality is, there are at least these three parameters that need careful attention:
  - fringe contrast
  - fringe drift   <->   exposure time
  - hologram quality
The best way to optimize all of them is to track them continuously as shown here.

Figure 4:   Fringe contrast and fringe drift indicating a stable biprism. Exposure time: 0.4s. The binning factor of 4 results in a sampling rate of s = 2.53. The small amount of biprism drift (red) allows several seconds exposure time for the final holograms (drift is ~2π / 60 events → 1 rad per 10 events → 10*0.4s = 4s exposure time). The fringe contrast of around 20% provides the basis for phase image ~ 2π/1000 phase resolution as described below.

Fringe contrast
HoloWorks measures fringe contrast very accurately and independent of the sampling rate s . By adjusting the condenser system of the microscope, fringe contrast can be optimized by tracking fringe contrast as shown in Figure 3 or 4.
Word of advice:   Fringe contrast significantly depends on the exposure time t in two ways.
  -   An increase in exposure time will decrease fringe contrast due to drift of the interference fringes (each image represents an integration over time).
  -   A decrease in exposure times can also decrease fringe contrast. This is caused by the deflector of the microscope. Often, the deflection of the electron beam is performed by a (magnetic) deflector above the sample. While the deflection of the beam away from the sample is fast, the returning beam 'eases', so to speak, into its final position. Because the biprism is way out of focus, the interference fringes will drift until the beam has settled thus reducing contrast when decreasing exposure time. On some microscopes, even an exposure time of 0.5s can lead to a reduction of fringe contrast and loss of signal strength.
For the acquisition of highest-quality holograms both parameters need consideration.

Fringe drift
A basic rule of thumb is:  fringes should drift ≤ 1 rad during the acquisition of the final image(s). Thus the
maximum exposure time computes as:
  # of exposures in the (red) line plot within 1 rad, multiplied by the exposure time per single live image.

Hologram Quality
Contrary to the widespread opinion that fringe contrast is the most important parameter for electron holograms, this isn't quite true. For example, a 100% fringe contrast and no electrons is not better than 10% fringe contrast and many electrons. The key parameters that considers both, number of electrons and fringe contrast is the hologram quality. The point to remember is that this parameter is directly proportional to the noise level in the phase image!
For example, doubling the exposure time should increase the Q- parameter by sqrt(2). On the other hand, doubling the fringe contrast should increase the Q- parameter by 2.
One additional note:   When adjusting the condenser of the electron microscope, the Q- parameter typically remains fairly stable over a large range of the condenser setting: as the fringe contrast increases, the number of electrons in the image decreases and vice versa. For samples indifferent to sample damage all settings with the same Q- parameter are equal. However, when working with beam sensitive samples, it is recommended to aim for best fringe contrast and best Q.

Conclusion
The ability to track all three parameters fringe contrast, fringe drift and hologram quality simultaneously and live allows determination of the hologram acquisition parameters and microscope setting that will deliver the best holograms and ultimately allow routine phase resolutions in excess of 2π/1000.

∧ Back to top










2.   Live Phase Imaging

Figure 5:   Live Phase Imaging
In this video, the phase image can be observed live in relatively good quality despite low fringe contrast. This e.g., allows searching for a good spot before acquiring large stacks of full-size images while monitoring all aspects of hologram quality via a line plot.
At ≥3 or more frames per second, drifting fringes interfere little with live phase imaging. The reconstructed phase images are automatically phase-optimized thus phase offset between consecutive images is avoided.

The hologram quality in Figure 4 lacks fringe contrast and the interference fringes are moving rapidly and randomly as can be recognized from the line plot. Nonetheless, the live phase image consistently shows well. This is due to
 - high binning that minimizes camera noise and provides decent electron counts per pixel and
 - smart data processing that compensates for phase offsets caused by the moving interference fringes.

For strong objects especially with a phase dynamic approaching or exceeding 2π it is possible that artifacts appear in the phase image due to the low sampling rate 2< s < 3. It should be remembered that live phase images are qualitative, not quantitative data.
Another feature of HoloWorks is that live phase unwrapping can be added to the live phase image simply by selecting the menu item 'HW5.1/Unwrap phase' while holding down the 'Shift' key on the keyboard.

∧ Back to top










3.   Hologram Stack Acquisition

Figure 6:   Acquire Holograms into Stack
Starting point is the continuous acquisition of images. Setup parameters in this case were: exposure time: 1s and a binning factor of 2 for a 2k x 2k camera. By selecting the data cube button, the number n of images to be stored is determined and all consecutive images are stored in the data cube until n images have been stored.

Note: this process is to be repeated for the reference holograms.

∧ Back to top










4.   Hologram Stack Processing

  a. Eliminating fringe drift from hologram stacks

Figure 7:   Reconstruction and Compensation of interference-fringe drift
Once the hologram stacks (hologram and reference-hologram stacks) are acquired, the reconstruction is the next step. For single pairs of hologram and reference- hologram the process is fairly simple and is the same as the first part of the movie on the left. For hologram stacks however, more steps are necessary.
Shown on the left, all holograms are reconstructed the same way. The drift of the interference fringes between the holograms is compensated in this step and the complex waves from the reference- holograms are subtracted.

The result is a stack of complex images (called image waves). Because of the drift of interference fringes especially over a longer time frame when many holograms are acquired, it is likely that the Fresnel fringes have not been completely removed (unless the holograms were recorded with a dual- biprism setup). Therefore, the next step must be the removal of the Fresnel fringes. This is done via the so-called line filter.




  b. Suppressing Fresnel fringes

Figure 8:   ''Poor man's'' Fresnel fringe removal
Starting with a stack of complex images, this is where Fresnel fringes are removed. The object and the interference fringes (as well as Fresnel fringes) typically drift in different directions. Thus, any leftover of Fresnel fringes in the image will interfere with the alignment of the object between the slices of the stack of complex image waves. Therefore, any leftover of Fresnel fringes should be removed. The term ''poor man's'' derives from the fact that electron microscope systems with dual biprism setup typically are hard to find despite their advantages as they are rather expensive.

The movie in Figure 8 shows how to use the line filter for Fresnel fringe removal. HoloWorks typically figures out a good starting and end position for the filter, but manual adjustment is often required to remove as little as possible from the spectrum of the image wave, while removing enough of the Fresnel fringes. It should be noted that the start and end points of the filter can also be moved on a single pixel basis using the 'Control' window provided by GMS v2. If the control window does not show, it can be called from the menu item Windows/Floating Windows/Control of GMS. Once the Fresnel fringes are successfully removed, the slices (image waves) of the resulting image stack can be aligned and averaged as shown in the next Figure.

∧ Back to top


  c. Averaging, object- drift correction & high phase resolution


Figure 9:   Aligning and averaging images of type 'complex' is a bit different from averaging conventional images. Handling of the details is automated in HoloWorks and remains transparent for the user. Correcting for object drift itself can be less reliable for noisy data sets; but if the drift correction fails it is, e.g., noticeable in the absence of fine details as in this example. Low signal/noise ratio caused by low fringes contrast and low electron count should be avoided as it requires additional steps as outlined below).

The averaging part is highly automated. An important feedback is the offset of the object between slices provided in form of a line plot. The line plot is essential for gauging the quality of the drift correction. Smooth plots typically are a good sign. A ragged plot as seen in this movie is a sign for concern. An additional check for successful alignment can be done by reviewing the aligned stack (enable in Preferences, under the tab 'Stacks'). Using Gatan's slice player, a visual control check is quick and convenient.
From the complex images, also the phase images can be computed as shown here (an option to show the phase automatically can be selected in the HW5.1/Preferences menu). From here on, further processing is possible. For example, aberration correction like focusing or astigmatism correction can be performed.
The next chapter will demonstrate how to deal with situations where the automated drift correction is sub-optimal. It will be shown that even for such data drift correction can be made successful.

∧ Back to top


  d. Drift determination for noisy holograms



Figure 10:   Averaging noisy hologram stacks requires removal of any and all information contained in the interference fringes - thus the removal of interference fringes. Once the hologram stack is filtered, basically converted to a stack of conventional images, it is used to determine and plot the sample drift as a function of time, i.e., as shown in this movie. The line plot generated this way can be used for the averaging of the stack of complex images.

The successful.


∧ Back to top


  e. Averaging noisy complex images


Figure 11:   Averaging noisy complex images can be challenging. However, HoloWorks provides the necessary tools:
  - Take the hologram stack and remove all the information contained in the interference fringes.
  - Run the stack alignment routine and save the line plot tracking sample drift   - Return to reconstructed stack of complex images
  - Use the generated line plot as input for the stack alignment routine

When using an external data set for aligning the stack of complex images, the Fresnel fringes no longer impact the alignment and averaging process. In this way, even hologram stacks of low quality can be saved and used to obtain high quality phase images.


For more details, please check 'E. Voelkl and D. Tang, Approaching routine 2pi/1000 phase resolution for off-axis type holography, Ultramicroscopy110 (2010) 447-459'; or the manual, downloadable below.
∧ Back to top










5.   Additional Details
HoloWerk LLC
Figure 12:   Integration of HoloWorks into GMS offering buttons simplifies many operations.
'HoloWorks 5.1.0' window, left to right, top to bottom:
  - Sub-image: creates sub-image from volatile ROI in any image or line-plot
  - Fringe contrast measurement: tracks contrast and other parameters
  - Reconstruction button: moving to 2nd line of buttons
  - Collection button: drops live 2D images into a 3D data cube
  - Compression button: averages and aligns images/holograms in the data cube
'HW FFT 5.1.0' window, left to right:
  - Fourier transforms FFT and iFFT maintain equal scaling in Fourier space from any size image
  - Peak button allows easy measurement of peaks (position, amplitude, sampling rate) in FFT

HoloWorks v5 was designed for multi-core processing and uses independent threads where possible. Thus, the workload can be spread over different cores easily. In version 5, not only has the GUI (graphical user interface) seen a major lift, but the underlying algorithms and code have changed even more. It remains a simple but powerful interface for the novice as well as the expert while allowing a wide variety of possibilities for customizing off-axis holography technology for research purposes. Today, HoloWorks v5 remains an attractive package for off-axis holography. 50 menu items include live features as:

Note that the output of any one function of HoloWorks can be used as live input for any other HoloWorks function.
Note also that the software has been developed with a strong focus on teaching Fourier optics with hands-on use in the classroom; HoloWorks provides most features found on a modern microscope starting from changing focus, introducing astigmatism or spherical aberration, applying various numerical apertures or experimenting with dark field imaging.


New Seamless Integration
In previous versions, the simultaneous use of DigitalMicrograph® standard tools (i.e., line scan tool) with any function of HoloWorks was not possible. Now, for the first time, all HoloWorks functions have been designed as “threads.” This means, the HoloWorks tool suite and the Gatan tool suite work together seamlessly.

Menu Items Become Alive
A further important step has been added to the HoloWorks v5 software. When selecting a HoloWorks menu item while holding down the Shift key, many menu items become live menu items providing additional features. In most cases this means that the same operation continues to be applied to the image whenever one of two things happens:
• The image is being updated (or changed)
• An existing selection in the image was moved

Build Your Own Holographic Script
As electron holography continues to require additional functionality, the HoloWorks v5 software supports the user in building their own functions using the reliable core concepts of HoloWorks. Instead of rewriting hundreds or thousands of lines of code, many complex activities can now be embedded with a single function call. For example, a fully interactive reconstruction process, including image process tracking, can now be called by ~24 lines of code, representing over ten thousand lines of original code.

Improved Digital Fourier Optics
The Fourier transform in HoloWorks handles images of arbitrary size. Because of the slightly different implementation of the Fourier algorithm for non-power-of-two and non-square images, the Fourier space looks as expected from the experimentally oriented user: it looks like the back focal plane in the microscope. There is no skewing because of non-square image sizes or selections. This allows observation of symmetry features without further ado as shown here:

Figure 13:   The standard FFT of non-square images looks strange in Fourier space as it does not maintain even scaling. In the example on the left, a rectangular subarea was selected as indicated by the red ROI, which is also non-power of two. It's FFT shows the effect of scaling that is different in x- and y- direction.

Right:   HoloWork's FFT does maintain even scaling in Fourier space and Fourier images look as expected even from rectangular, non-power-of-two areas. Note that with HoloWorks the full rectangular area is transformed yielding a square Fourier transform.


Scale Independence
Photons, electrons, neutrons or phonons: off-axis holograms are reconstructed scale independent and aberrations can be corrected for a large scale range from meters (m) to Pico meters (pm). The only conditions being: coherent imaging conditions and Fourier optics applicability.

Continuous Data Acquisition The continuous data acquisition attaches to live images in general. Whenever the live image updates, the new data are copied into a data cube. This allows improved data averaging via drift compensation not only for holograms.

Phase Resolution > 2π/1000
This feature utilizes continuous data acquisition into a data cube then compensates for fringe drift and specimen drift during acquisition. Both fringe and specimen movements are compensated at sub-pixel fringe accuracy with a reliability typically better than 0.1 pixel. Note that this feature can be used for drift compensation of standard TEM images.



References:
E. Voelkl and D. Tang, Approaching routine 2pi/1000 phase resolution for off-axis type holography, Ultramicroscopy110 (2010)
447-459
E. Voelkl, Noise in off-axis type holograms including reconstruction and CCD camera parameters, Ultramicroscopy110 (2010)
199-210.

* HoloWorks v5 shall not be used for the purposes of light-optical semiconductor or reticle defect detection or inspection.











6.   Manual
Download here:   HoloWorks v5.1 Manual.pdf
∧ Back to top