Date post: | 10-Jan-2017 |
Category: |
Documents |
Upload: | phungnguyet |
View: | 221 times |
Download: | 1 times |
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
GISAS Data Analysis with BornAgain Céline Durniak, Marina Ganeva, Gennady Pospelov, Walter Van Herck, Joachim Wuttke May 13, 2014
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
§ MLZ Scientific Computing Group § A user story § Future development and support
May 24, 2014 ACA Meeting Albuquerque 2
Outline
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
§ MLZ Scientific Computing Group § A user story § Future development and support
May 24, 2014 ACA Meeting Albuquerque 3
Outline
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
• MLZ: joint group (TUM, FZJ, HZG, HZB) • FRM-II neutron source in Garching (Munich)
May 24, 2014 ACA Meeting Albuquerque 4
MLZ
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
• Group was founded in July 2011 • Currently 6 members:
May 24, 2014 ACA Meeting Albuquerque 5
Scientific Computing Group
• Responsibilities: • Support instruments for questions at the interface of physics and IT • Enhance understanding of experimental results by providing simulations
• First big project: BornAgain
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
• Start community project for data analysis and simulation • Grazing incidence small angle scattering as a first task
• different user experiments (neutron and x-rays) • more generally structured than existing software • IsGISAXS as reference software
• Apply acquired experience to other experiments
May 24, 2014 ACA Meeting Albuquerque 6
BornAgain project
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
§ MLZ Scientific Computing Group § A user story § Future development and support
May 24, 2014 ACA Meeting Albuquerque 7
Outline
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
§ Choice of experiment § Theory of DWBA simulations § Exploring the data (simulations and other techniques) § Fitting the data
May 24, 2014 ACA Meeting Albuquerque 8
From sample to quantitative understanding
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
May 24, 2014 ACA Meeting Albuquerque 9
Max’ challenge
What are the dimensions of these nanopar0cles?
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
(off-specular) reflectivity
May 24, 2014 ACA Meeting Albuquerque 10
Choice of experiment
GISAS
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
(off-specular) reflectivity
May 24, 2014 ACA Meeting Albuquerque 11
Choice of experiment
GISAS
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
(off-specular) reflectivity
May 24, 2014 ACA Meeting Albuquerque 12
Choice of experiment
GISAS
ki
kfq
qz
qy
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
Other choices to make: • X-rays or neutrons • Wavelength • Required intensity • Polarization • Which instrument/facility
May 24, 2014 ACA Meeting Albuquerque 13
Choice of experiment
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
May 24, 2014 ACA Meeting Albuquerque 14
GISAXS data
Remarks: Gaussian noise Rough estimate of particle sizes
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
May 24, 2014 ACA Meeting Albuquerque 15
GISAXS data
From the workshop page: … Presently, a major bottleneck preventing GISAXS from reaching its full potential persists in the availability of data analysis and modeling resources for interpreting the data. The problem arises mainly because reflections in GISAXS add to the complexity of the analysis and simulation. A common approach adopted for treating the reflection is the distorted wave Born approximation (DWBA). Several DWBA-based software packages have been developed. …
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
May 24, 2014 ACA Meeting Albuquerque 16
DWBA
Perturbed Hamiltonian: H = H0 + V
Born Approxima0on Distorted Wave Born Approxima0on
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
May 24, 2014 ACA Meeting Albuquerque 17
DWBA
Scattering amplitude:
Born Approxima0on Distorted Wave Born Approxima0on
Ψ in Ψout
A ki,k f( ) ≈ Ψout V r( ) Ψ in
∝ d3r V (r)∫ exp i ki − k f( ) ⋅ r%& '(
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
May 24, 2014 ACA Meeting Albuquerque 18
DWBA: interference between particles The expectation value of the di↵erential cross–section is:
⌧d�
d⌦(q)
�=
X
↵
p↵ |F↵(q)|2 +⇢VV
X
↵,�
p↵p�F↵(q)F⇤� (q)
⇥ZZ
Vd3R↵d
3R�G↵,� (R↵, R�) exp [iq · (R↵ �R�)]
= Id(q) +⌦F↵(q)S↵�(q)F
⇤� (q)
↵↵�
with:
Id(q) ⌘D|F↵(q)|2
E
↵� |hF↵(q)i↵|
2
S↵�(q) ⌘ 1 + ⇢V
Z
Vd3R↵�G↵� (R↵�) exp [iq ·R↵� ]
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
May 24, 2014 ACA Meeting Albuquerque 19
DWBA: interference between particles Decoupling Approximation:
⌧d�
d⌦(q)
�= Id(q) + |hF↵(q)i↵|
2 ⇥ S(q)
Local Monodisperse Approximation:
⌧d�
d⌦(q)
�=
D|F↵(q)|2 S↵(q)
E
↵
Size-Spacing Correlation Approximation:
D(↵0,↵1) = D0 + [�R(↵0) +�R(↵1)]
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
May 24, 2014 ACA Meeting Albuquerque 20
BornAgain features
As a start, functionality based on successful IsGISAXS software • Reproduce its functionality • Also use DWBA • Extend it (less restricted sample geometry, support for
neutrons, usability) Other requirements: • Open source • Multi platform (Linux, Mac OS, Windows) • Performance
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
May 24, 2014 ACA Meeting Albuquerque 21
BornAgain features
§ Multilayer § Interface roughness § Multiple nanoparticles
(shapes, densities) § Interference functions § Nanoparticles assemblies
(mesocrystals) § Polarized neutron
scattering
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
May 24, 2014 ACA Meeting Albuquerque 22
Exploring the data
GSL Boost
BornAgain: core library Samples and algorithms
BornAgain: FiAng library
User program/script: C++ or Python
External graphics (e.g. matplotlib)
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
May 24, 2014 ACA Meeting Albuquerque 23
Fitting the data
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
May 24, 2014 ACA Meeting Albuquerque 24
Fitting the data
I would smile now, if I wasn’t a picture…
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
§ MLZ Scientific Computing Group § A user story § Future development and support
May 24, 2014 ACA Meeting Albuquerque 25
Outline
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
• GUI: beta release in September 2014
May 24, 2014 ACA Meeting Albuquerque 26
Future development
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
• GUI: beta release in September 2014 • Polarized GISANS: interface roughness, magnetic domains • Performance: GPU, cluster • More complex sample structures
May 24, 2014 ACA Meeting Albuquerque 27
Future development
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
Issue and bug tracker Agile development model: • Short release cycles • Code quality • Code stability:
functional and unit tests
May 24, 2014 ACA Meeting Albuquerque 28
Support
Mitg
lied
der H
elm
holtz
-Gem
eins
chaf
t
For further information or questions: http://www.bornagainproject.org Or email me at: [email protected]
May 24, 2014 ACA Meeting Albuquerque 29
Thank you !