X-ray grating interferometry has been employed for a wide range of imaging applications by using the Talbot self-images of a grating. At synchrotron facilities, it has also been exploited to characterize the coherence and wavefront of the x-ray beam. The method is relatively straightforward, easy to implement, and provides accurate quantitative data. However, to exploit its full potential, it requires highly specialized, robust data analysis. It this work, we have set the framework for the development and dissemination of a robust open-source code that is tailored to the data analysis for imaging and beam characterization using grating interferometry.

1.
L.
Assoufid
,
X.
Shi
,
S.
Marathe
,
E.
Benda
,
M. J.
Wojcik
,
K.
Lang
,
R.
Xu
,
W.
Liu
,
A. T.
Macrander
, and
J. Z.
Tischler
,
Review of Scientific Instruments
87
, p.
052004
(
2016
).
2.
T.
Weitkamp
,
A.
Diaz
,
C.
David
,
F.
Pfeiffer
,
M.
Stampanoni
,
P.
Cloetens
, and
E.
Ziegler
,
Optics express
13
,
6296
6304
(
2005
).
3.
A.
Momose
,
H.
Kuwabara
, and
W.
Yashiro
,
Applied Physics Express
4
,
1
3
(
2011
).
4.
J.
Goodman
,
Introduction to Fourier Optics
, 2nd ed. (
Roberts & Company
,
2005
).
5.
F.
Pfeiffer
,
M.
Bech
,
O.
Bunk
,
T.
Donath
,
B.
Henrich
,
P.
Kraft
, and
C.
David
,
Journal of Applied Physics
105
,
1
4
(
2009
).
6.
F.
Pfeiffer
,
M.
Bech
,
O.
Bunk
,
P.
Kraft
,
E. F.
Eikenberry
,
C.
Brönnimann
,
C.
Grünzweig
, and
C.
David
,
Nature Materials
7
,
134
137
(
2008
).
7.
T.
Weitkamp
,
B.
Nöhammer
,
A.
Diaz
,
C.
David
, and
E.
Ziegler
,
Applied Physics Letters
86
,
1
3
(
2005
).
8.
W. C.
Grizolli
,
X.
Shi
,
L.
Assoufid
,
T.
Kolodziej
, and
Y.
Shvyd’ko
,
Advances in Metrology for X-Ray and EUV Optics VII
, p.
1
(
2017
).
9.
J.-P.
Guigay
,
S.
Zabler
,
P.
Cloetens
,
C.
David
,
R.
Mokso
, and
M.
Schlenker
,
Journal of Synchrotron Radiation
11
,
476
482
nov (
2004
).
10.
F.
Pfeiffer
,
O.
Bunk
,
C.
Schulze-Briese
,
A.
Diaz
,
T.
Weitkamp
,
C.
David
,
J. F.
van der Veen
,
I.
Vartanyants
, and
I. K.
Robinson
,
Physical Review Letters
94
, p.
164801
(
2005
).
11.
A.
Diaz
,
C.
Mocuta
,
J.
Stangl
,
M.
Keplinger
,
T.
Weitkamp
,
F.
Pfeiffer
,
C.
David
,
T. H.
Metzger
, and
G.
Bauer
,
Journal of Synchrotron Radiation
17
,
299
307
(
2010
).
12.
S.
Marathe
,
X.
Shi
,
M. J.
Wojcik
,
N. G.
Kujala
,
R.
Divan
,
D. C.
Mancini
,
A. T.
Macrander
, and
L.
Assoufid
,
Optics Express
22
,
14041
14053
(
2014
).
13.
S.
Marathe
,
X.
Shi
,
M. J.
Wojcik
,
A. T.
Macrander
, and
L.
Assoufid
,
Journal of Visualized Experiments
1
8
(
2016
).
14.
I.
Zanette
, “
Interférométrie X à réseaux pour l’imagerie et l’analyse de front d’ondes au synchrotron
,” PhD Thesis,
Université de Grenoble
2011
.
15.
H.
Itoh
,
K.
Nagai
,
G.
Sato
,
K.
Yamaguchi
,
T.
Nakamura
,
T.
Kondoh
,
C.
Ouchi
,
T.
Teshima
,
Y.
Setomoto
, and
T.
Den
,
Optics Express
19
, p.
3339feb
(
2011
).
16.
I.
Zanette
,
S.
Rutishauser
,
C.
David
, and
T.
Weitkamp
,
AIP Conference Proceedings
1365
,
325
328
(
2010
).
17.
I.
Zanette
,
C.
David
,
S.
Rutishauser
,
T.
Weitkamp
,
M.
Denecke
, and
C. T.
Walker
,
AIP Conference Proceed-ings
1221
,
73
79
(
2010
).
18.
X.
Shi
,
S.
Marathe
,
M. J.
Wojcik
,
N. G.
Kujala
,
A. T.
Macrander
, and
L.
Assoufid
,
Applied Physics Letters
105
, p.
041116
(
2014
).
19.
Python Software Foundation
,
Python Language Reference version 3.5
, http://www.python.org.
20.
A.
Macrander
,
M.
Erdmann
,
N.
Kujala
,
S.
Stoupin
,
S.
Marathe
,
X.
Shi
,
M.
Wojcik
,
D.
Nocher
,
R.
Conley
,
J.
Sullivan
,
K.
Goetze
,
J.
Maser
, and
L.
Assoufid
,
AIP Conference Proceedings
1741
, p.
030030
(
2016
).
21.
M.
Takeda
,
H.
Ina
, and
S.
Kobayashi
,
Journal of the Optical Society of America
72
, p.
156
(
1982
).
22.
S.
Berujon
,
E.
Ziegler
, and
P.
Cloetens
,
Journal of Synchrotron Radiation
22
,
886
894
(
2015
).
23.
S.
van der Walt
,
S. C.
Colbert
, and
G.
Varoquaux
,
Computing in Science & Engineering
13
,
22
30
(
2011
), http://www.numpy.org/.
24.
SciPy
:
Open source scientific tools for Python
, Online: http://www.scipy.org/.
25.
J. D.
Hunter
,
Computing In Science & Engineering
9
,
90
95
(
2007
).
26.
Continuum Analytics, Inc
.,
Conda - Package, dependency and environment management
, https://www.anaconda.com.
27.
W.
Grizolli
,
wavepy: Open source Python library for grating interferometry
, https://github.com/wavepy/wavepy (
2018
).
28.
F.
De Carlo
,
D.
Gürsoy
,
F.
Marone
,
M.
Rivers
,
D. Y.
Parkinson
,
F.
Khan
,
N.
Schwarz
,
D. J.
Vine
,
S.
Vogt
,
S.-C.
Gleber
,
S.
Narayanan
,
M.
Newville
,
T.
Lanzirotti
,
Y.
Sun
,
Y. P.
Hong
, and
C.
Jacobsen
,
Journal of Synchrotron Radiation
21
,
1224
1230
(
2014
).
29.
D.
Gürsoy
,
F.
De Carlo
,
X.
Xiao
, and
C.
Jacobsen
,
Journal of Synchrotron Radiation
21
,
1188
1193
(
2014
).
30.
T.
Kolodziej
,
S.
Stoupin
,
W.
Grizolli
,
J.
Krzywinski
,
X.
Shi
,
K.-J.
Kim
,
J.
Qian
,
L.
Assoufid
, and
Y.
Shvyd’ko
,
Journal of Synchrotron Radiation
25
,
354
360
(
2018
).
31.
D.
Ghiglia
and
M.
Pritt
, Two-dimensional phase unwrapping: theory algorithms and software,
Wiley-Interscience publication
(
Wiley
,
1998
).
32.
C.
Kottler
,
C.
David
,
F.
Pfeiffer
, and
O.
Bunk
,
Optics Express
15
, p.
1175
(
2007
).
33.
R.
Frankot
and
R.
Chellappa
,
IEEE Transactions on Pattern Analysis and Machine Intelligence
10
,
439
451
(
1988
).
34.
A.
Agrawal
,
R.
Raskar
, and
R.
Chellappa
, in
European Conference on Computer Vision
(
2006
), pp.
578
591
.
35.
M.
Harker
and
P.
O’Leary
,
IEEE Conference on Computer Vision and Pattern Recognition
,
1
7
(
2008
).
36.
A.
Brunetti
,
M. S.
del Rio
,
T.
Ikonen
,
T.
Schoonjans
,
M.
Wormington
, and
D.
Sagan
,
xraylib: a library for interactions of x-rays with matter
, https://github.com/tschoonj/xraylib (
2018
).