Skip to content

Nanoscale chemical imaging with structured X-ray illumination

License

Notifications You must be signed in to change notification settings

YijinLiu-Lab/NxSCI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

Nanoscale Chemical Imaging with Structured X-ray Illumination

Integrating the full-field transmission X-ray microscope with an X-ray fluorescence detector, eliminating nanoscale X-ray focusing and raster scanning for chemical element mapping.
System overview »

Hardware implementation · Software development · Battery example

This repository contains the source codes for the nanoscale X-ray structured-illumination chemical imaging technique (NxSCI), as described in the following paper:

@journal{li2023NxSCI,
  title={Nanoscale chemical imaging with structured X-ray illumination},
  author={Li, Jizhou and Chen, Si and Ratner, Daniel and Blu, Thierry and Pianetta, Piero and Liu, Yijin},
  year={2023},
  journal={Proceedings of the National Academy of Sciences (PNAS)}
}

System Overview


Experimental setup and operation principle. (a) Two sandpaper diffusers are inserted into the X-ray beam to modulate the illumination structures. (b) The corresponding patterns are recorded by a full-field imaging detector downstream of the objective zone plate. (c) A Vortex XRF detector is used to collect the fluorescence signal on-the-fly. (d) The 1D fluorescence signal and 2D X-ray illumination patterns are fed into an image reconstruction model to obtain the chemical elemental maps in (e).

Hardware Implementation

Experimental setup

The modified TXM (Transmission X-ray microscopy) experimental setup on beam line 6-2c at SSRL. Two sandpaper stages with different grit sizes are inserted into the beam in the second hutch. An energy dispersive Vortex detector is placed perpendicular to the incident beam between condenser (CD) and zoneplate (ZP) to collect the fluorescence signal from the sample. The position of the Vortex detectors is controlled by a motor to collect the strongest XRF signal.

More details about the synchrotron beamline configuration can be found in F. Meirer et al. 2011.

Hardware control

Customized scripts are developed on the top of XMFlex (Liu et al. 2012) and integrated into SPEC to control the movements of motors, beamline settings, TXM image capturing and XRF signal collection sequentially.

The signal collection through Vortex detector is performed by the XIA LLC's ProSpect V1.1 software.

All spectra are analyzed by the software PyMCA, developed by European Synchrotron Radiation Facility (ESRF).

The code snippets for the motor control and data collection can be found in control.py

The configuration file of ProSpect is available here, and a screenshot of the parameters used is shown below.

Parameter setting of ProSpect for the XRF collection.

Examples of Illumination Patterns

Examples of the experimental acquired illumination patterns (fine controlled).

Software Development

This part includes Illumination Pattern Evaluation and Generative Image Reconstruction model.

Illumination Pattern Evaluation

The quality of an illumination pattern set is critical to ensuring that the sample’s morphological and chemical details across different length scales are sufficiently captured.

We define the independence map by calculating the Pearson correlation coefficients among different pixels in the field of view (FOV). For a certain target pixel, we sort all the other pixels in the FOV based on their respective distances to the target. This approach converts the calculated real-space map of the Pearson correlation coefficient into a vector. After iterating this process for all the pixels in the FOV, we construct a two-dimensional independence map in which the horizontal axis is the index of the target pixel, and each column represents the target’s Pearson correlation coefficient vector.

Analysis of the structured illumination patterns. Representative examples of the illumination patterns, which are generated by the effective modulation of the X-ray imaging setup.

We further define the invertibility as an indicator to evaluate the impact of illumination patterns on the reconstruction process.

Definition of the invertibility of the illumination pattern set.

The Matlab codes to calculate the invertibility can be found in the folder.

Generative Image Reconstruction

  • We propose a self-supervised generative approach to obtain the continuous representation of the elemental maps to solve this inverse problem.

  • We utilize the implicit neural representation(e.g. NeRF 2020, SIREN 2020,WIRE 2023) to parameterize the spatial coordinates, effectively mapping the image.

  • Due to the ill-posedness of this problem, we leverage prior knowledge from the TXM image in the NxSCI setting and incorporate it into our cost function as a regularization term.

Schematic illustration of the proposed reconstruction model.

The PyTorch codes to reconstruct the chemical map can be found in the folder.

Battery Example

As a proof-of-concept demonstration, we apply the developed NxSCI technique to image a battery sample with mixed cathode particles.

The imaged battery sample consists of three types of cathode particles, LiNi0.7Mn0.2Co0.1O2 (NMC), LiCoO2 (LCO) and LiNiO2 (LNO).

Reconstruction of elemental distribution in a lithium battery sample with mixed cathode material.

Conclusion

  • We present a nanoscale chemical X-ray imaging technique that employs structured illumination to enable high-resolution, spatially resolved mapping of elemental distributions within a sample.

  • By jointly optimizing the illumination scheme and the image reconstruction model, the developed NxSCI approach overcomes the limitations of traditional time-consuming XRF point scanning probes.

Acknowledgement

  • TXM-Wizard / XMFlex: Toolbox for handling X-ray transmission image data collected using the Xradia TXM system.
  • PyMCA: Tools for interactive and/or batch processing analysis of X-Ray Fluorescence Spectra.
  • PyXRF: Python-based sophisticated fluorescence analysis package for fitting and visualizing X-ray fluorescence data.
  • SIREN: Implicit Neural Representations with Periodic Activation Functions.

About

Nanoscale chemical imaging with structured X-ray illumination

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published