Next Article in Journal
Polarimetric Dehazing Method Based on Image Fusion and Adaptive Adjustment Algorithm
Next Article in Special Issue
Characteristics of Photon Beam and Preservation of Coherence in Fourth-Generation Light Sources
Previous Article in Journal
Short Communication: Obesity Intervention Resulting in Significant Changes in the Human Gut Viral Composition
Previous Article in Special Issue
Analysis Strategies for MHz XPCS at the European XFEL
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Contrast Calibration Protocol for X-ray Speckle Visibility Spectroscopy

1
Linac Coherent Light Source, SLAC National Accelerator Laboratory, Menlo Park, CA 94025, USA
2
Physics Department, Stanford University, Stanford, CA 94305, USA
3
Physics Department, McGill University, Montreal, QC H3A 2T8, Canada
*
Authors to whom correspondence should be addressed.
Appl. Sci. 2021, 11(21), 10041; https://doi.org/10.3390/app112110041
Submission received: 16 September 2021 / Revised: 20 October 2021 / Accepted: 21 October 2021 / Published: 27 October 2021
(This article belongs to the Special Issue Trends in Sub-Microsecond X-ray Science with Coherent Beams)

Abstract

:
X-ray free electron lasers, with their ultrashort highly coherent pulses, opened up the opportunity of probing ultrafast nano- and atomic-scale dynamics in amorphous and disordered material systems via speckle visibility spectroscopy. However, the anticipated count rate in a typical experiment is usually low. Therefore, visibility needs to be extracted via photon statistics analysis, i.e., by estimating the probabilities of multiple photons per pixel events using pixelated detectors. Considering the realistic X-ray detector responses including charge cloud sharing between pixels, pixel readout noise, and gain non-uniformity, speckle visibility extraction relying on photon assignment algorithms are often computationally demanding and suffer from systematic errors. In this paper, we present a systematic study of the commonly-used algorithms by applying them to an experimental data set containing small-angle coherent scattering with visibility levels ranging from below 1% to ∼60%. We also propose a contrast calibration protocol and show that a computationally lightweight algorithm can be implemented for high-speed correlation evaluation.

1. Introduction

The advent of X-ray free electron laser facilities (FELs) opened up a new window of opportunity in extending X-ray photon correlation spectroscopy (XPCS) to the nano/atomic time scale with its unprecedented brightness, nearly full transverse coherence, and the femtosecond pulse duration [1,2,3,4,5]. Two-pulse XPCS was proposed nearly two decades ago as the corresponding technique at X-ray FELs to study ultrafast dynamics from the sample of interest by examining the speckle visibility of summed-speckle patterns as a function of the temporal separation of the two coherent femtosecond pulses [6]. In such measurements, speckle visibility, or contrast, directly relates to the intermediate scattering function of the sample [7], which is a fundamental quantity describing dynamic properties, and a key observable where theory and experiments can be compared at [8]. The methodology of accurate contrast determination therefore lies at the center of this technique. Experimentally, speckle patterns resulting from the scattering of the nano/atomic scale structures are often at the discrete photon limit, with a count rate typically less than 0.1 photons per pixel. As a result, contrast extraction relies on photon statistics and locating photons within detector pixels [9]. However, due to the imperfections in the X-ray detectors including charge sharing, readout noise, and pixel gain non-uniformity [10], the photon assignment algorithms are often biased, leading to systematic errors for contrast determination. Exact fitting based on the pixel readout accounting for the detailed detector parameters including the charge cloud shape and size is possible, but can be time-consuming and non-universal resulting from the large parameter space in order to mimic the detector performance.
In this paper, we present an experimental study of the commonly used contrast extraction algorithms. The sensitivity and precision of the algorithms were tested with a collection of experimental speckle patterns with different contrasts. We furthermore developed and tested a universal calibration routine utilizing the scattering recorded with unfocused-beam illumination (∼100 s of microns for typical X-ray FEL beamlines) as the zero-contrast baseline, and show that a computationally lightweight algorithm can realize accurate live contrast extraction during the experiment to provide crucial feedback.

2. Experimental Setup

The experiment was performed at the X-ray Pump Probe instrument [11] of the Linac Coherent Light Source [1]. The incident X-ray FEL pulses were monochromatized at 9.83 keV using a C*(111) monochromator [12]. We controlled the focused beam size at the sample plane by a combination use of slits and X-ray focusing optics, i.e., beryllium compound refractive lens (CRL) with a ∼3.85 m focal length. In the focusing geometry, the slits both upstream and downstream of the CRLs were used to define the numerical aperture of the beam entering the lens and clean up upstream small-angle scatterings. The slits moreover mitigated the decoherence effect from the monochromator diamond crystal surface miscut [12,13]. At the sample position, the beam profile was characterized using a high-resolution microscope (Nikon CFI S Plan Fluor 20×) imaging a 20 μ m Ce:LuAG scintillator screen. With the upstream slit sizes set to 50 and 100 μ m, the full-widths at-half-maximum (FWHM) intensity of the focal spots were measured to be 10 and 5 μ m, respectively. The beam size can be enlarged by either translating the lens stack longitudinally to position the sample out of the focus or by removing the lens and using only the slits.
In total, we acquired speckle patterns under nine different scattering conditions: four were realized by varying CRL focusing conditions, four by using slits opening of different sizes, and finally one in the unfocused condition with slits fully open as a baseline measurement. For the four measurements with focused beams, the 5 and 10 μ m conditions have been mentioned above, while the other two (18, 38 μ m) were achieved by translating the lens stack so that the sample was 70 mm downstream and 230 mm upstream of the focal position, respectively. Silica nanospheres contained inside a quartz capillary with a nominal inner diameter of 1 mm were used as the scattering sample. An ePix100 detector (pixel size, 50 μ m) [14,15] was placed L 9.5 m downstream of the sample to record the small-angle coherent scattering. The detector has a gain non-uniformity of around 5% which is software-corrected to be around 0.5%.
When adjusting the beam size at the sample location using the slits or focusing optics, the sample diffraction volume changes accordingly, leading to a change of speckle size at the detector plane. For example, displayed in Figure 1b,c are the speckle patterns in the two focusing conditions mentioned above, where the speckle size is visually shrunken when the focal spot size expands by a factor of 2. On the other hand, the detector pixel angular resolution was fixed, and this therefore led to a change in the contrast levels in the measured speckle patterns [16] as plotted in Figure 1d, where the oversampling ratio is defined as the speckle size (FWHM) normalized by the detector pixel size. Here, the theoretical calculation (gray curve) following Ref. [16] and the simulation (red dots) following Ref. [17] agree well with each other. It is also worth noting here that this plot only shows the contrast reduction factor from the oversampling ratio, whereas many other parameters including the beam coherence properties may also change when adjusting the beam sizes and contribute to further contrast changes.

3. Analysis of Contrast Extraction Algorithms

In this section, we will analyze three different photon assignment algorithms by comparing the extracted contrast of the scattering data sets collected in the nine configurations mentioned in the previous section. The three algorithms are labeled as: GG (Greedy Guess), LSF (Least Squares Fit) [9], and PPC (Psana Photon Convertor) [18,19]. Details regarding the three algorithms can be found in Ref. [17]. In Appendix A, we list the computation times of the three algorithms, clearly showing that the PPC and GG methods are much more computationally economical.

3.1. Contrast Extraction Procedure

First, we provide the general procedure of deducing contrasts from the photon probabilities of the scatterings given by the algorithms. In the low count rate regime (mean photon occupancy k ¯ 1 ), shot noise contributes to the fluctuations in the measured speckle intensity. The photon occupancy probabilities in discrete speckle patterns with mean count rate k ¯ and contrast β = 1 / M (M is known as the mode number of a speckle pattern) follow a negative binomial distribution [20]:
P ( k | M , k ¯ ) = Γ ( k + M ) Γ ( M ) Γ ( k + 1 ) [ ( k ¯ k ¯ + M ) k ( M k ¯ + M ) M ] .
Here, P ( k | M , k ¯ ) denotes the probability of k photons per pixel events, which will be referred to as k-photon events in the context. The equation yields an iterative function
P ( k + 1 ) P ( k ) = Γ ( k + M + 1 ) Γ ( k + 1 ) Γ ( k + M ) Γ ( k + 2 ) ( k ¯ k ¯ + M ) = k ¯ ( k + M ) ( k + 1 ) ( k ¯ + M ) .
Specifically for k = 1 , we have
β = P ( 1 ) 2 P ( 2 ) / k ¯ 2 P ( 2 ) P ( 1 ) .
For low-intensity speckle patterns, each frame is dominated by the Poisson noise. Contrast can only be estimated with a large number of speckle patterns. At the same time, instead of having a stable count rate, the monochromatized self-amplified spontaneous emitted (SASE) X-ray FEL pulses have shot-to-shot intensity fluctuations following the Gamma distribution. We therefore evaluated the intensity dependence of the algorithms by grouping speckle patterns with similar mean scattering intensities. For each intensity group, we calculated the averaged count rate as well as one-/two-photon probabilities, from which we deduced the speckle contrast following Equation (3). The error σ β for each value was estimated from counting statistics by:
σ β β 1 k ¯ β 2 ( 1 + β ) N pixel N frame .
Here, N frame and N pixel denote the total number of frames and the number of pixels in the chosen ROI for each frame separately. To extract the overall effective contrast β e , a weighted average of the individual contrasts was performed with the weight, i.e., k ¯ 2 N frame , which is inversely proportional to the variance of the contrast, in order to optimize the log likelihood of the measurement [21]. The error bar for β e is then estimated as the weighted standard deviation of the contrasts from these individual intensity groups.
Following this procedure, the contrast values extracted from the photon assignment of the three algorithms are displayed in Figure 2 for all nine measurement conditions. Within each intensity group, all three algorithms show sufficient sensitivity to distinguish the trend of contrast change, e.g., the speckles from 250 μ m slit beam and beam with slits fully open with well below 1% level of contrast difference. However, the three algorithms gave distinct values for the same data set. This confirms our simulation studies [17] and suggests that further calibration is required.
One other important observation relates to realistic measurements using monochromatized SASE X-ray FEL pulses having shot-to-shot intensity fluctuations. The scattering in each measurement condition therefore consists of a broad distribution of count rates as shown in Figure 2a,c. Note here that droplet-based algorithms including LSF and GG have a precise count of photons, and they therefore share the same count rate distribution. On the other hand, the PPC method, as an algorithm based on rounding of pixel readout, has a tendency to underestimate the total number of photons. This led to the difference between their scattering intensity histograms. In the count rate range from 0.02 to 0.2 photons/pixel, the GG algorithm showed consistency despite the intensity fluctuations, with the contrasts from individual intensity groups following the horizontal dashed lines denoting the overall effective contrasts. On the other hand, PPC and LSF, respectively, give an increasing and decreasing trend with increasing count rates. This discrepancy combined with varying pulse intensity distributions will lead to additional systematic errors. For example, though the individual contrasts from 250 μ m slit beam and beam with wide opened slits show a difference for the PPC method, the extracted overall contrasts β e cannot distinguish between the two conditions as displayed in Table 1. The reduced signal to noise ratio comes from their deviations in the count rate distribution as displayed in Figure 2a, while the weights for extracting the overall contrasts only consider photon counting statistics. To improve the sensitivity, contrasts need to be extracted from a subset of the data within a much narrower intensity range, which in turn reduces usable data fraction and increases the time needed to reach sufficient photon statistics.

3.2. Calibration with the Zero-Contrast Baseline

As proposed in Ref. [17], the biased contrasts β e extracted from the three algorithms can be corrected with a linear coefficient. The calibrated contrast β c is related to the extracted contrast baseline ( β b ) at zero-contrast point with
β c = β e β b 1 + β b .
We will demonstrate in this section such a contrast calibration routine by utilizing the unfocused beam scattering as the baseline. The unfocused beam at XPP is approximately 300 μ m, which translates to a speckle size of 3.6 μ m at the detector and therefore an oversampling ratio of 0.07. It gives a contrast reduction factor ∼0.5%, which is well below the typical contrast values for XPCS measurements at FELs [9,22]. This leads to a small systematic error that can be neglected when working at higher contrast levels and the contrast reduction ranges for dynamics interpretation. In the context of this manuscript, we consider the scattering from unfocused beam as the zero-contrast calibration point. As listed in Table 1, it is apparent that none of the three algorithms returns a contrast value close to 0 for the fully open slit condition. We next show experimental confirmation of this theory by using a detector pixel mask to eliminate charge sharing.
As shown in our earlier work [17], charge sharing is the dominant contribution leading to inaccuracy in photon statistics, while the effects from other imperfections of the state-of-the-art hard X-ray detectors including pixel gain non-uniformity and readout noise are comparatively negligible. By masking the pixel boundaries with an aperture array, one can eliminate photon absorption at locations with position ambiguities. A tungsten foil with a thickness of 50 μ m was chosen for the mask fabrication. It has a transmission of 9.1 × 10 5 for the photon energy of 9.83 keV, creating sufficient absorption contrast to be considered a binary mask. Shown in Figure 3a is the schematic of the mask. It consists of a periodic laser-machined aperture array (nominal diameter: 35 μ m, pitch: 100 μ m, 25 × 25) that is commensurate with detector pixel array. When the pin holes are well aligned to the pixel centers, the photons landing on the detector will no longer have position ambiguities, e.g., only the center area of every other detector pixel can receive a nonzero reading, as the apertures lie well within the 60% charge contribution region marked as gray in Figure 3b. Therefore, by directly rounding the pixel readout, the number of photons falling into individual pixels can be uniquely and accurately determined.
The mask was positioned close to the front of the detector at a distance of 7 mm from the sensor surface. The pixel histogram of the masked region was very sensitive to the position of the mask. With a step size of 2 μ m, a 2D scan allows accurate determination of the mask alignment both horizontally and vertically (see Appendix B for details). Plotted with yellow line in Figure 3e is the optimized pixel histogram. It deviates from the purple curve which is simulated by assuming a perfect mask with the nominal values for the apertures. This is a result of the mask fabrication tolerance, which was also confirmed by the SEM image as shown in Figure 3d. By varying the aperture size and assigning a Gaussian distributed position error for individual apertures, we were able to replicate the observation. Shown in Figure 3e in ‘+’ or ‘x’ marker are histograms of simulated data considering aperture astigmatism. The histogram, however, is sensitive to both the averaged aperture size and their position errors. Small deviations from the identified values will result in very different shapes of the photon peaks in the histogram, which are plotted in light/dark green for comparison. We further estimated the systematic errors of contrast extraction when the detector mask is applied by simulating the detector signal using the identified realistic parameters for the detector mask. For the zero-contrast reference speckle patterns, the extracted photon probabilities from rounded pixel values yielded a contrast 0.007 ± 0.002 . Here, the error bar was estimated from the photon statistics in the simulation. It suggests that the mask led to a ∼0.7% contrast underestimation. Shown in Figure 3c are the contrasts extracted from the unfocused scattering data set when the mask was applied, and it gave a contrast of 0.006 ± 0.005 . Considering the systematic error from the imperfect detector mask, we arrive at a contrast level of 0.1 % . This demonstrates that the contrast level extracted under the unfocused condition β b can be used as an effective calibration reference. It is, however, worth noting here that this procedure will introduce additional errors due to error propagation from both β e and β b .
The nanopowder sample was considered static during the course of the measurement. Therefore, one can retrieve the absolute contrast levels for benchmarking the calibration protocol by evaluating the sequential cross-correlations. We performed intensity cross-correlation of adjacent frames using the same ROI as the visibility analysis. To improve the signal to noise ratio, only frame pairs both having count rates above 0.2 photons per pixel [23] were used. For calculating the correlation, we set the pixel readout threshold at half a nominal photon readout, i.e., 85 ADU, in order to mitigate the bias arising from the pixel readout noise. Considering the intensity fluctuations and shot noise, the correlation was extracted by performing the weighted average of the cross-correlations [24]. The weighting factors were proportional to the intensity multiplication of the pulse pair, which were measured independently using the beamline I 0 right upstream of the sample. Their error bars were estimated using the weighted variance.
After normalizing the correlation from each condition to that of the unfocused beam, the final contrast values were compared against the calibrated GG result as shown in Figure 4, showing good general agreement. The contrast level spanned over two orders of magnitude for our eight data sets and covered the typical contrast levels for recent speckle visibility spectroscopy measurements at FELs. Note here that by calibrating using the unfocused beam, it will also automatically eliminate the effect of the slow intensity change in the chosen ROI, as shown in Figure 1a, due to the structure factor of the sample. A detailed derivation can be found in the supplementary material of Ref. [25]. Estimated from the summed unfocused beam scattering, this gave an additional ∼0.3% contrast.
While the general agreement is encouraging, the ∼1% level deviations were still larger than statistical uncertainties considering the sufficient number of frames, detector pixels and speckles taken into the calculation [26]. This suggests additional sources of systematic bias beyond both the calibration of the GG algorithm and the correlation analysis, e.g., the cross-correlation could be susceptible to the shot-to-shot beam spatial property fluctuations of the focused FEL pulses. Further investigation is needed to improve the accuracy of the speckle visibility measurement at FELs, and this certainly will benefit from a more stable FEL source with minimized intensity and spatial fluctuations adding to the error of the visibility extraction. Our result shows that Equation (4) is not the sole optimization criterion for an XPCS measurement at FELs. The absolute magnitude of contrast should also be taken into consideration in the experiment design. A low starting contrast ⩽1% will make the measurement more susceptible to source and optics instabilities, which mostly likely requires a more rigorous analysis procedure to produce a meaningful result. Thanks to the nearly fully transverse coherent X-ray beams, the typical XPCS measurements at X-ray FELs have a high starting contrast (≥5%) [9,22,25,27,28]. The geometry of the scattering setup, i.e., detector to sample distance, generally relies on focused beams to achieve an oversampling ratio close to or bigger than 1, while the unfocused beam will lead to an oversampling ratio 1 . These factors therefore allow the implementation of this calibration protocol based on unfocused beams and provide on-the-fly feedback to experiments.

4. Conclusions

In summary, we presented in the paper a calibration protocol for correcting the systematic errors in the contrast determination due to the realistic performance characteristics of X-ray detectors and the intrinsic bias of the photon assignment algorithms. Using a pinhole mask, we have verified the procedure. It is a simple scaling of the results from the droplet-based ‘Greedy Guess’ algorithm by using the value from an incoherent speckle pattern. At an X-ray FEL, this value can be obtained by measuring an unfocused beam. Among the three evaluated photon assignment algorithms, the ‘Greedy Guess’ method shows superior performance when FEL source intensity fluctuations are large. The calibration procedure corrects the contrasts of a given speckle data set with a 1% level accuracy.
While the data presented were recorded using the ePix100 detector at the LCLS, the concept and methodology is universal and generally applicable to X-ray detectors used for visibility spectroscopy and XPCS experiments at most currently operating FEL facilities. It can be potentially relevant for visibility spectroscopy measurements at synchrotrons as well. This lightweight procedure demonstrated here moreover suggests that optimizing the optical contrast level in the experimental design is of key significance to enable live feedback towards a successful XPCS measurement.

Author Contributions

Conceptualization, Y.S., M.S. and D.Z.; formal analysis, Y.S. and M.S.; software, V.E. and S.N.; investigation, all authors; writing—original draft preparation, Y.S., M.S. and D.Z.; writing—review and editing, all authors. All authors have read and agreed to the published version of the manuscript.

Funding

Use of the Linac Coherent Light Source (LCLS), SLAC National Accelerator Laboratory, is supported by the U.S. Department of Energy, Office of Science, Office of Basic Energy Sciences under Contract No. DE-AC02-76SF00515.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Acknowledgments

We acknowledge the Linac Coherent Light Source for the provision of the beamtime at the X-ray Pump Probe instrument and would like to thank the staff for their assistance.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A. Computation Time

Displayed in Table A1 is the computation time comparison between the three algorithms. We note here that the computation time for the two droplet-based algorithms, i.e., GG and LSF, increases with increasing count rates [17] and therefore varies as the intensity fluctuates shot-to-shot. As a result, here we provide an average of the computation time over 1000 frames. The PPC algorithm was programmed in C. GG and LSF were done in Python3 and were used to test feasibility. The next easy step will be to program the GG algorithm in C and add it as an extension to the droplet code.
Table A1. Averaged single-frame computation time consumed for the three algorithms to extract photon positions in the same contrast extraction ROI as in Figure 1a using a single core of Intel(R) Xeon(R) CPU E5-2620 v4 processor. The computation time average was performed over 1000 consecutive frames with the incident X-ray beam in the tight focus condition (in focus, 5  μ m). The GG and LSF algorithms can be sped up by reprogramming in C.
Table A1. Averaged single-frame computation time consumed for the three algorithms to extract photon positions in the same contrast extraction ROI as in Figure 1a using a single core of Intel(R) Xeon(R) CPU E5-2620 v4 processor. The computation time average was performed over 1000 consecutive frames with the incident X-ray beam in the tight focus condition (in focus, 5  μ m). The GG and LSF algorithms can be sped up by reprogramming in C.
AlgorithmPPCGGLSF
Time (seconds)0.0080.332

Appendix B. Mask Alignment

Figure A1. Pinhole mask alignment using the detector pixel histogram. Plotted in green and blue are the histograms when shifting the mask horizontal position by 2 μ m and 4 μ m from the aligned position (red).
Figure A1. Pinhole mask alignment using the detector pixel histogram. Plotted in green and blue are the histograms when shifting the mask horizontal position by 2 μ m and 4 μ m from the aligned position (red).
Applsci 11 10041 g0a1
Figure A1 shows that the mask alignment can be optimized by using the detector pixel histogram. We note here that the measurement was done in a different condition (lower incoming X-ray beam pulse energy) as compared with Figure 3f.
References and Notes

References and Notes

  1. Emma, P.; Akre, R.; Arthur, J.; Bionta, R.; Bostedt, C.; Bozek, J.; Brachmann, A.; Bucksbaum, P.; Coffee, R.; Decker, F.J.; et al. First lasing and operation of an ångstrom-wavelength free-electron laser. Nat. Photonics 2010, 4, 641. [Google Scholar] [CrossRef]
  2. Altarelli, M. The European X-ray free-electron laser facility in Hamburg. Nucl. Instrum. Methods Phys. Res. B 2011, 269, 2845–2849. [Google Scholar] [CrossRef]
  3. Ishikawa, T.; Aoyagi, H.; Asaka, T.; Asano, Y.; Azumi, N.; Bizen, T.; Ego, H.; Fukami, K.; Fukui, T.; Furukawa, Y.; et al. A compact X-ray free-electron laser emitting in the sub-ångström region. Nat. Photonics 2012, 6, 540. [Google Scholar] [CrossRef]
  4. Kang, H.S.; Min, C.K.; Heo, H.; Kim, C.; Yang, H.; Kim, G.; Nam, I.; Baek, S.Y.; Choi, H.J.; Mun, G.; et al. Hard X-ray free-electron laser with femtosecond-scale timing jitter. Nat. Photonics 2017, 11, 708. [Google Scholar] [CrossRef]
  5. Milne, C.J.; Schietinger, T.; Aiba, M.; Alarcon, A.; Alex, J.; Anghel, A.; Arsov, V.; Beard, C.; Beaud, P.; Bettoni, S.; et al. SwissFEL: The Swiss X-ray free electron laser. Appl. Sci. 2017, 7, 720. [Google Scholar] [CrossRef]
  6. Shenoy, G.; Stöhr, J. LCLS–The First Experiments; Number SLAC-R-611; SLAC National Accelerator Laboratory: Menlo Park, CA, USA, 2003. [Google Scholar]
  7. Gutt, C.; Stadler, L.M.; Duri, A.; Autenrieth, T.; Leupold, O.; Chushkin, Y.; Grübel, G. Measuring temporal speckle correlations at ultrafast X-ray sources. Opt. Express 2009, 17, 55–61. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  8. Parisi, G.; Urbani, P.; Zamponi, F. Theory of Simple Glasses: Exact Solutions in Infinite Dimensions; Cambridge University Press: Cambridge, UK, 2020. [Google Scholar]
  9. Hruszkewycz, S.; Sutton, M.; Fuoss, P.; Adams, B.; Rosenkranz, S.; Ludwig, K., Jr.; Roseker, W.; Fritz, D.; Cammarata, M.; Zhu, D.; et al. High contrast x-ray speckle from atomic-scale order in liquids and glasses. Phys. Rev. Lett. 2012, 109, 185502. [Google Scholar] [CrossRef]
  10. Dufresne, E.; Brüning, R.; Sutton, M.; Rodricks, B.; Stephenson, G. A statistical technique for characterizing X-ray position-sensitive detectors. Nucl. Instrum. Methods Phys. Res. A 1995, 364, 380–393. [Google Scholar] [CrossRef]
  11. Chollet, M.; Alonso-Mori, R.; Cammarata, M.; Damiani, D.; Defever, J.; Delor, J.T.; Feng, Y.; Glownia, J.M.; Langton, J.B.; Nelson, S.; et al. The x-ray pump–probe instrument at the linac coherent light source. J. Synchrotron Radiat. 2015, 22, 503–507. [Google Scholar] [CrossRef] [Green Version]
  12. Zhu, D.; Feng, Y.; Stoupin, S.; Terentyev, S.A.; Lemke, H.T.; Fritz, D.M.; Chollet, M.; Glownia, J.; Alonso-Mori, R.; Sikorski, M.; et al. Performance of a beam-multiplexing diamond crystal monochromator at the Linac Coherent Light Source. Rev. Sci. Instrum. 2014, 85, 063106. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  13. Brauer, S.; Stephenson, G.; Sutton, M. Perfect crystals in the asymmetric Bragg geometry as optical elements for coherent x-ray beams. J. Synchrotron Radiat. 1995, 2, 163–173. [Google Scholar] [CrossRef] [PubMed]
  14. Sikorski, M.; Feng, Y.; Song, S.; Zhu, D.; Carini, G.; Herrmann, S.; Nishimura, K.; Hart, P.; Robert, A. Application of an ePix100 detector for coherent scattering using a hard X-ray free-electron laser. J. Synchrotron Rad. 2016, 23, 1171. [Google Scholar] [CrossRef] [PubMed]
  15. Carini, G.; Alonso-Mori, R.; Blaj, G.; Caragiulo, P.; Chollet, M.; Damiani, D.; Dragone, A.; Feng, Y.; Haller, G.; Hart, P.; et al. ePix100 camera: Use and applications at LCLS. AIP Conf. Proc. 2016, 1741, 040008. [Google Scholar]
  16. Sutton, M. Evaluation of Coherence Factor for High Q Data. 2019. Available online: http://www.physics.mcgill.ca/~mark/coherence/yorick/highqbeta.pdf (accessed on 19 February 2019).
  17. Sun, Y.; Montana-Lopez, J.; Fuoss, P.; Sutton, M.; Zhu, D. Accurate contrast determination for X-ray speckle visibility spectroscopy. J. Synchrotron Radiat. 2020, 27, 999–1007. [Google Scholar] [CrossRef] [PubMed]
  18. Yoon, C.H.; (SLAC National Accelerator Laboratory, Menlo Park, CA, USA). Personal communication, 2016.
  19. Thayer, J.; Damiani, D.; Ford, C.; Dubrovin, M.; Gaponenko, I.; O’Grady, C.P.; Kroeger, W.; Pines, J.; Lane, T.J.; Salnikov, A.; et al. Data systems for the Linac coherent light source. Adv. Struct. Chem. Imaging 2017, 3, 3. [Google Scholar] [CrossRef] [Green Version]
  20. Goodman, J.W. Speckle Phenomena in Optics: Theory and Applications; Roberts and Company Publishers: Greenwood Village, CO, USA, 2007. [Google Scholar]
  21. The effective contrast βe can be calculated as the weighted averaged of the contrasts extracted from the individual intensity group βi with β e = i β i k ¯ i 2 N i i k ¯ i 2 N i . Here, Ni, k ¯ i denoting the number of frames and the averaged count rate in group i.
  22. Shinohara, Y.; Osaka, T.; Inoue, I.; Iwashita, T.; Dmowski, W.; Ryu, C.W.; Sarathchandran, Y.; Egami, T. Split-pulse X-ray photon correlation spectroscopy with seeded X-rays from X-ray laser to study atomic-level dynamics. Nat. Commun. 2020, 11, 1–7. [Google Scholar]
  23. Cao, Y.; Sheyfer, D.; Jiang, Z.; Maddali, S.; You, H.; Wang, B.X.; Ye, Z.G.; Dufresne, E.M.; Zhou, H.; Stephenson, G.B.; et al. The Effect of Intensity Fluctuations on Sequential X-ray Photon Correlation Spectroscopy at the X-ray Free Electron Laser Facilities. Crystals 2020, 10, 1109. [Google Scholar] [CrossRef]
  24. The weighted cross-correlation value can be estimated as g 2 = f I 1 f I 2 f g 2 f f I 1 f I 2 f . Here the superscript f denotes the index of the frame pairs and I 1 f and I 2 f are the intensities of the first and second pulse in the frame pair with the index f, which were measured independently using the beamline I0.
  25. Sun, Y.; Carini, G.; Chollet, M.; Decker, F.J.; Dunne, M.; Fuoss, P.; Hruszkewycz, S.O.; Lane, T.J.; Nakahara, K.; Nelson, S.; et al. Nonuniform Flow Dynamics Probed by Nanosecond X-Ray Speckle Visibility Spectroscopy. Phys. Rev. Lett. 2021, 127, 058001. [Google Scholar] [CrossRef]
  26. Lumma, D.; Lurio, L.; Mochrie, S.; Sutton, M. Area detector based photon correlation in the regime of short data batches: Data reduction for dynamic x-ray scattering. Rev. Sci. Instrum. 2000, 71, 3274–3289. [Google Scholar] [CrossRef]
  27. Roseker, W.; Hruszkewycz, S.; Lehmkühler, F.; Walther, M.; Schulte-Schrepping, H.; Lee, S.; Osaka, T.; Strüder, L.; Hartmann, R.; Sikorski, M.; et al. Towards ultrafast dynamics with split-pulse X-ray photon correlation spectroscopy at free electron laser sources. Nat. Commun. 2018, 9, 1–6. [Google Scholar] [CrossRef]
  28. Perakis, F.; Camisasca, G.; Lane, T.J.; Späh, A.; Wikfeldt, K.T.; Sellberg, J.A.; Lehmkühler, F.; Pathak, H.; Kim, K.H.; Amann-Winkel, K.; et al. Coherent X-rays reveal the influence of cage effects on ultrafast water dynamics. Nat. Commun. 2018, 9, 1–10. [Google Scholar] [CrossRef] [PubMed]
Figure 1. (a) Average small-angle coherent scattering from silica nanopowders over 100 consecutive frames. Focused beam size at the sample plane was measured to be 5 μ m. Between the two orange dashed lines is the region of interest (ROI) for contrast extraction. It has a center Q = 0.013 Å 1 and in total 35035 pixels. (b) Enlarged view of the speckle pattern in the area outlined in magenta in (a). (c) Averaged speckle pattern with focused beam size of 10 μ m showing the same ROI in the scattering as in (b). (d) The contrast reduction factor as a function of detector sampling. The gray line is from the theoretical calculation and the red dots are from simulations.
Figure 1. (a) Average small-angle coherent scattering from silica nanopowders over 100 consecutive frames. Focused beam size at the sample plane was measured to be 5 μ m. Between the two orange dashed lines is the region of interest (ROI) for contrast extraction. It has a center Q = 0.013 Å 1 and in total 35035 pixels. (b) Enlarged view of the speckle pattern in the area outlined in magenta in (a). (c) Averaged speckle pattern with focused beam size of 10 μ m showing the same ROI in the scattering as in (b). (d) The contrast reduction factor as a function of detector sampling. The gray line is from the theoretical calculation and the red dots are from simulations.
Applsci 11 10041 g001
Figure 2. Contrasts extraction using the three algorithms of the same scattering data set. The dashed lines show the extracted overall effective contrast β e . (a) Extracted k ¯ distribution using the PPC method. (b) Extracted contrasts using the PPC method. (c) Extracted k ¯ distribution using the GG/LSF method. (d) Extracted contrasts using the GG method. (e) Extracted contrasts using the LSF method. The legend on top of (e) is shared by all the plots in this figure, and it explains the measurement conditions followed by the effective beam sizes on the sample. The error bars in (b,d,e) were estimated from photon counting statistics.
Figure 2. Contrasts extraction using the three algorithms of the same scattering data set. The dashed lines show the extracted overall effective contrast β e . (a) Extracted k ¯ distribution using the PPC method. (b) Extracted contrasts using the PPC method. (c) Extracted k ¯ distribution using the GG/LSF method. (d) Extracted contrasts using the GG method. (e) Extracted contrasts using the LSF method. The legend on top of (e) is shared by all the plots in this figure, and it explains the measurement conditions followed by the effective beam sizes on the sample. The error bars in (b,d,e) were estimated from photon counting statistics.
Applsci 11 10041 g002
Figure 3. Detector mask to confirm unfocused beam as the zero-contrast calibration point. (a) Schematic of the detector mask with circular apertures that have a nominal diameter of 35 μ m aligned to every other pixel of the epix100 detector. (b) Regions within a single pixel that have different single-photon contribution fractions assuming a Gaussian charge cloud with a size of 0.385 pixel (FWHM), which reproduces the pixel histogram of the ePix100 detectors. The black area denotes the region where a photon will contribute 98% of its generated charges to the readout of this pixel. The gray area denotes the region for more than 60% of the charges to be collected by this pixel. (c) Extracted contrast from the scattering of unfocused beam with the mask aligned with the detector. (d) Scanning electron microscope measurement of the mask (scale bar: 100 μ m). (e) Simulated and measured pixel histograms of the detector with different parameters of the mask. Here, σ is the standard deviation of the Gaussian distributed position error of individual apertures.
Figure 3. Detector mask to confirm unfocused beam as the zero-contrast calibration point. (a) Schematic of the detector mask with circular apertures that have a nominal diameter of 35 μ m aligned to every other pixel of the epix100 detector. (b) Regions within a single pixel that have different single-photon contribution fractions assuming a Gaussian charge cloud with a size of 0.385 pixel (FWHM), which reproduces the pixel histogram of the ePix100 detectors. The black area denotes the region where a photon will contribute 98% of its generated charges to the readout of this pixel. The gray area denotes the region for more than 60% of the charges to be collected by this pixel. (c) Extracted contrast from the scattering of unfocused beam with the mask aligned with the detector. (d) Scanning electron microscope measurement of the mask (scale bar: 100 μ m). (e) Simulated and measured pixel histograms of the detector with different parameters of the mask. Here, σ is the standard deviation of the Gaussian distributed position error of individual apertures.
Applsci 11 10041 g003
Figure 4. Comparison of the contrasts extracted from the cross-correlation of the neighboring frames and the calibrated contrasts using the GG photon assignment algorithm. The dashed line is a guide of the eye denoting when the two methods perfectly agree.
Figure 4. Comparison of the contrasts extracted from the cross-correlation of the neighboring frames and the calibrated contrasts using the GG photon assignment algorithm. The dashed line is a guide of the eye denoting when the two methods perfectly agree.
Applsci 11 10041 g004
Table 1. Extracted contrasts by the the three algorithms. The error bar is included in the parenthesis.
Table 1. Extracted contrasts by the the three algorithms. The error bar is included in the parenthesis.
Algorithm β e (250  μ m) β e (Unfocused & No Slit)/ β b
PPC−0.19 (0.02)−0.19 (0.02)
GG−0.156 (0.002)−0.161 (0.002)
LSF0.143 (0.009)0.137 (0.007)
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Sun, Y.; Esposito, V.; Hart, P.A.; Hansson, C.; Li, H.; Nakahara, K.; MacArthur, J.P.; Nelson, S.; Sato, T.; Song, S.; et al. A Contrast Calibration Protocol for X-ray Speckle Visibility Spectroscopy. Appl. Sci. 2021, 11, 10041. https://doi.org/10.3390/app112110041

AMA Style

Sun Y, Esposito V, Hart PA, Hansson C, Li H, Nakahara K, MacArthur JP, Nelson S, Sato T, Song S, et al. A Contrast Calibration Protocol for X-ray Speckle Visibility Spectroscopy. Applied Sciences. 2021; 11(21):10041. https://doi.org/10.3390/app112110041

Chicago/Turabian Style

Sun, Yanwen, Vincent Esposito, Philip Adam Hart, Conny Hansson, Haoyuan Li, Kazutaka Nakahara, James Paton MacArthur, Silke Nelson, Takahiro Sato, Sanghoon Song, and et al. 2021. "A Contrast Calibration Protocol for X-ray Speckle Visibility Spectroscopy" Applied Sciences 11, no. 21: 10041. https://doi.org/10.3390/app112110041

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop