ImagingWithNeutrons FULL
ImagingWithNeutrons FULL
Hassina Bilheux
VENUS Instrument Scientist
Yuxuan Zhang
MARS Instrument Scientist
Jean Bilheux
Computational Instrument Scientist
August 7, 2024
Chen Zhang
Imaging Software
Developer Roger Hobbs, Hassina Bilheux,
Kevin Yahne, Harley Skorpenske,
Imaging Scientific Imaging SA SNS Group Leader SNS VENUS Scientist
Associate (SA)
2
Outline
• Imaging at the High Flux Isotope Reactor MARS beamline:
– Principle of neutron radiography and computed tomography at a
continuous source
Yuxuan
– The CG-1D imaging beamline
– Examples
Hassina
– Principle of neutron radiography at a pulsed source
– Examples
– The VENUS !!!construction project
Jean
• Scientific programming
3
Outline
• Imaging at the High Flux Isotope Reactor MARS beamline:
– Principle of neutron radiography and computed tomography at a
continuous source
Yuxuan
– The CG-1D imaging beamline
– Examples
Hassina
– Principle of neutron radiography at a pulsed source
– Examples
– The VENUS !!!construction project
Jean
• Scientific programming
4
Neutron imaging measures the transmitted neutrons
though an object
θ
I0 I
Incident Transmitted y) θ)
I(x, y,
Volume
reconstruction
6
Neutrons interact uniquely with matter
• Non-destructive
• High penetration through metals
• Sensitive to light elements (H, Li, etc.)
• Isotopic contrast
A. Tengattini, et al. Geomechanics for Energy and the Environment 27 (2021)
7
Neutrons interact uniquely with matter (cont’d)
X-ray
Neutron
H D2O H2O
D
7Li
9
The MARS instrument at HFIR
Sample table
10
Example: visualize live root system
Switchgrass Maize
Al chamber
12 (J. Warren (PI), H, Bilheux, M. Kang, S. Voisin, C. Cheng, J. Horita, E. Perfect, Plant Soil, 2013)
Resolve the composition gradient in graded superalloy
René41
IN718
Transmission image
Huang S., Shen C., An K., Zhang Y., Spinelli I., Brennan M., Yu D., Frontiers in
Metals and Alloys, 1, 1070562 (2022)
Reconstructed 3D volume Cross-sectional view after
(virtual slicing location in orange) virtually slicing
13
Measures molten salt densities at MSR operating
temperatures
Moon J., Andrews H.B., Agca C., Bilheux J., Braatz A.D., McAlister A., McFarlane J., McMurray J.W., Robb K.R., Zhang Y., Industrial &
14 Engineering Chemistry Research, 61, 17665-17673 (2022)
Resolutions and FOVs
Type of Highest spatial Typical acquisition time
Field-of-view (FOV) Pixel size (μm) Maximum speed @16 bit
detector resolution (μm) of 1 radiograph
Gap between
lines = 20 μm
Gap between
lines = 100 μm
(Sample credit: George Williams)
15 IPTS-27734, Y. Zhang, 2022 IPTS-27734, Y. Zhang, 2022
Resolutions and FOVs
Type of Highest spatial Typical acquisition time
Field-of-view (FOV) Pixel size (μm) Maximum speed @16 bit
detector resolution (μm) of 1 radiograph
Transmission mode
High-res (.5x) 50 x 48 mm2 7.63 20-25 300 s 1 image/second
Gap between
lines = 100 μm
(Sample credit: George Williams)
16 IPTS-27734, Y. Zhang, 2022 IPTS-27734, Y. Zhang, 2022
What is neutron grating interferometry (nGI)?
A neutron imaging instrumentation that enable
the utilization the wave properties of neutron, to
spatially resolve sub μm internal features
Interference
Sample pattern
(cm size)
T. Reimann et al., J. Applied
Crystallography. (2016)
Ls
17
What is neutron grating interferometry (nGI)?
A neutron imaging instrumentation that enable
the utilization the wave properties of neutron, to
spatially resolve sub μm internal features
Interference
Sample pattern
(cm size) T. Reimann et al., J. Applied
Crystallography. (2016)
Ls
18
More about this sample along with the nGI results
Two different
cooling rate regions
in an Inconel
sample
(Sample courtesy of Dr. Chris Fancher)
Color relates to the
SANS from features
EBSD image is from Plotkowski et al., Additive Manufacturing. 46, 102092, (2021).
in certain sizes
19
More about this sample along with the nGI results
Two different
cooling rate regions
in an Inconel
sample
(Sample courtesy of Dr. Chris Fancher)
Color relates to the
SANS from features
EBSD image is from Plotkowski et al., Additive Manufacturing. 46, 102092, (2021).
in certain sizes
20
Scan through various correlation lengths to understand
the length scale
Interference
Sample pattern
(cm size)
Neutron
p Autocorrelation length
Wavelength
𝜉 = 𝜆𝐿𝑠 /𝑝
Ls
21
Scan through various correlation lengths to understand
the length scale Neutron Correlation length
Wavelength
Interference
Sample
(cm size)
pattern 𝜉 = 𝜆𝐿𝑠 /𝑝
22
Plotting the dark field intensity vs. ξ in region-of-interest
(ROI)
1
0.8
0.4
0.2
ROI#1 ROI#2 ROI#1 ROI#2
0
0 1000 2000 3000 4000
Autocorrelation length (nm)
0.8
0.4
0.2
ROI#1 ROI#2 ROI#2
0
0 150 300 450 600 750 900
Autocorrelation length (nm)
24
nGI capability at MARS
Two setups to cover ACL ranges from ~40 nm to ~3400 nm
Yuxuan
– The CG-1D imaging beamline
– Examples
Hassina
– Principle of neutron radiography at a pulsed source
– Examples
– The VENUS !!!construction project
Jean
• Scientific programming
26
Imaging at a pulsed source (SNS)
Energy-dependent
Detector radiographs
Neutron pulse
Hg
Target
Proton
pulse I0 I
Moderator
Incident Transmitted
T0 T I(x, y, t)
L
Courtesy of Y. Zhang, ORNL
I(x, y, 𝜆)
− ( ) x
N A or
I ( ) = I 0 ( )e ( ) = t ( )
M I(x, y, E)
27
Higher energy neutrons can also be used for imaging (neutrons of energies
higher than 1 eV): Resonance Imaging
Zhang Y., Myhre K.G., Bilheux H.Z., Tremsin A.S., Johnson J.A., Bilheux J., Miskowiec
A., Hunt R.D., Santodonato L., Molaison J.J., "Neutron Resonance Radiography
and Application to Nuclear Fuel Materials", Transactions of the American Nuclear
28 Society, (2018).
Resonance imaging (> 1eV or < 0.286 Å): preparing
your experiment
• Soil surveys, contaminants in soil, etc.: neutrons Overall
thickness
through beam
– transmission through 0.01 mm thickness of natCo (between 1 and 5 Å) = 99.5 %
– transmission through 1 mm thickness of natZn (between 1 and 5 Å) = 96.4 %
100 eV = 0.0286 Å
• Hg contamination in soil
– Assumptions: 0.1 mm Hg (13.6 g/cm3) + 12.5 mm SiC (with 1.5 g/cm3)
• Transmission (1 and 5 Å) = 66.4 %
30
Using epithermal neutrons (energy > 1 eV), resonance
imaging can map the isotopic content in advanced
nuclear fuel materials in 3D
Gd
specific phase.
λhkl
Neutron Wavelength
3D printed
Inconel 718 The position of the Bragg
Radiograph
at HFIR edge, λhkl = 2 dhkl, is a measure
32
1 cm of the strain in the sample
Principle of Bragg edge Transmission
✓ Utilizes thermal and cold neutrons (approximately between 1 and 10 Å)
✓ Obeys Bragg’s Law λhkl = 2dhkl sin θhkl simplifies: λhkl = 2dhkl
March-Dollase Sabine’s primary
model extinction model 𝑉0: volume of unit cell
𝜆2 2𝑑ℎ𝑘𝑙 >𝜆 Fhkl: Structure factor including Debye-
𝜎𝐵𝑟𝑎𝑔𝑔 𝜆 = 𝐹ℎ𝑘𝑙 2 𝑑ℎ𝑘𝑙 𝑃 𝛼ℎ (𝜆൯ 𝐸ℎ𝑘𝑙 𝜆, 𝐹ℎ𝑘𝑙 Waller factor
2𝑉0 ℎ𝑘𝑙
Crystallite orientation
Total cross section for d111 Crystallite size effect
Inconel 718 (Ehkl) effect (𝑷 𝜶𝒉 (𝝀൯ : r and β)
tot (Barns)
tot (Barns)
() r= =
Barns
60 200
() r= =
222 311 220 200 111
40 60 () r= =
100
20
0 40 222 311 220 200 111 222 311 220 200 111
0
1.5 2.0 2.5 3.0 3.5 4.0 4.5 1.5 2.0 2.5 3.0 3.5 4.0 4.5 1.5 2.0 2.5 3.0 3.5 4.0 4.5
Wavelength (Å) Wavelength (Å) Wavelength (Å)
G. Song et al., Journal of Imaging, 3, 65 (2017).
33
The perfect case study: powders
(200)
Song G., Lin J.Y., Bilheux J., Xie Q., Santodonato L., Molaison J.J., Skorpenske H.D., dos Santos A.M., Tulk C.A., An K., Stoica A.D., Kirka M.M., Dehoff
R.R., Tremsin A.S., Bunn J.R., Sochalski-Kolbus L.M., Bilheux H.Z., "Characterization of Crystallographic Structures Using Bragg-Edge Neutron
34 Imaging at the Spallation Neutron Source", Journal of Imaging, 3, 4, 65 (2017).
Materials Behavior: Monitoring residual strain relaxation and preferred grain orientation of
additively manufactured Inconel 625 by in-situ neutron imaging
Microstrain
35
Engineered Materials: Monitoring residual strain relaxation and
preferred grain orientation of additively manufactured Inconel
625 by in-situ neutron imaging (10 min measurements)
Microstrain
Microstrain
Modeled and experimental results.
C
Stop Up to factor 5 improvement in time
Optimization of the scan based on the unique
sample geometry
Ability to provide real-time reconstructed data
Autonomous using advanced iterative reconstruction
Decision methods
4.2
1.5
AI Quality Sample Adaptive
Evaluation Scanning Angles
37
(active learning)
<311> Bragg edge reconstruction at ~ 2.17 Å ± 0.2 Å
Conventional reconstruction methods Our advanced algorithms/methods
Final result
Ni
Cu
Thresholds
MSE1 5.689x 10-3
SSIM2 0.634
39
https://neutrons.ornl.gov/venus
Bragg edge imaging:
20 x 20 cm2, spatial resolution ~ 100
Cave µm, time resolution is 5 µs.
shielding
Resonance imaging:
4 x 4 cm2, spatial resolution ~ 150 µm,
time resolution is 150 ns.
Beam stop
Front-end optics
buried in shielding VENUS wall of signatures
Cave door
Control hutch
Radiological
Materials Area
(RMA)
40
Largest field of view: 20 x 20 cm2
20 cm
42
Bragg edge radiography demonstrated with Nickel powder
and the microchannel plate (MCP) Timepix (TPX) detector
43
We hope to see you at VENUS!
The VENUS control hutch VENUS
44
Outline
• Imaging at the High Flux Isotope Reactor MARS beamline:
– Principle of neutron radiography and computed tomography at a
continuous source
Yuxuan
– The CG-1D imaging beamline
– Examples
Hassina
– Principle of neutron radiography at a pulsed source
– Examples
– The VENUS !!!construction project
Jean
• Scientific programming
45
Scientific programming
Jean Bilheux
Neutron Imaging Computer Instrument Scientist
47
The 5 things that will save your life
48
Which language ?
Python
Matlab
49 https://www.tiobe.com/tiobe-index/
Which language ?
50 https://www.tiobe.com/tiobe-index/
Python
51
Notebooks
https://imaginglectures.github.io/Quantitative-Big-Imaging-2024/
52
Notebooks
53
Notebooks
54
The 5 things that will save your life
2 Stay green
55
Stay green We need to preserve our environment!
Anaconda.com
3.8
3.12
MyProgram
Python
environments
3.12
3.13
3.9.0
3.9.2
56
The 5 things that will save your life
2 Stay green
57
Write good code
58
Write good code
• Name of variable is
what they represent
• Name of method
indicates what they do
• Explain strange choices
• Add examples at top of
methods/classes
59 https://www.youtube.com/results?search_query=clean+code+uncle+bob
Write good code
Advantages
Workflow • The unit tests are often used as documentation to
• decide the code to write learn how the software works
• Write the test • You write better code (simpler)
• It should fail • People will trust your code
• Write the code to pass the test • You can check the unit test coverage
• It should pass • Later on, when you make changes, you will quickly
• Move on to the next one find out if the software still works
• If someone report a bug, first write a unit test to
reproduce the bug, then fix it!
Disadvantages
• It seems slower to code (but overall, it’s not)
60
Write good code
DOI
Code
Unit tests
Documentation
JOSS
License file
Future work file
… Software X
61
The 5 things that will save your life
2 Stay green
62
iBeatles
63
iBeatles
Demo time !
64
65
66
67
Repositories
• Documentation
68
The 5 things that will save your life
2 Stay green
69
Each of you will
Best debugging tool leave today with
that tool!
• Any OS
70
Best debugging tool
1 Python
2 use environments
4 Repository
72
Acknowledgements
Research sponsored by the Laboratory Directed Research and Development Program of Oak
Ridge National Laboratory, managed by UT-Battelle LLC, for DOE.
Resources at the High Flux Isotope Reactor (HFIR) and Spallation Neutron source (SNS), U.S. DOE
Office of Science User Facilities operated by ORNL, were used in the research.
73
https://forms.office.com/g/gtdnJGM87r
Thank you
Questions
neutronimaging.ornl.gov