Skip to content

Commit b26fa31

Browse files
authored
Merge pull request #11 from diff-use/md_vs_data
MD vs data post
2 parents b0a2244 + 72ed9bf commit b26fa31

4 files changed

Lines changed: 71 additions & 0 deletions

File tree

_posts/2025-10-20-3-2-1-contact.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
layout: single
3+
title: "3-2-1 Contact: Comparing MD simulations with diffuse data"
4+
author: Michael Wall
5+
date: 2025-10-20
6+
classes: wide
7+
tags:
8+
- diffuse scattering
9+
- molecular dynamics
10+
- data processing
11+
- mdx2
12+
gallery:
13+
- url: /assets/images/posts/h8_md_view.png
14+
image_path: /assets/images/posts/h8_md_view.png
15+
alt: "Slice through the MD simulated diffuse map"
16+
title: "Slice through the MD simulated diffuse map"
17+
- url: /assets/images/posts/h8_initial_processing.png
18+
image_path: /assets/images/posts/h8_initial_processing.png
19+
alt: "Slice through the diffuse data with initial processing"
20+
title: "Slice through the diffuse data with initial processing"
21+
- url: /assets/images/posts/h8_final_processing.png
22+
image_path: /assets/images/posts/h8_final_processing.png
23+
alt: "Slice through the diffuse data with final processing"
24+
title: "Slice through the diffuse data with final processing"
25+
excerpt: >
26+
Insights from the first comparisons of MD simulations to diffuse data
27+
toc: false
28+
---
29+
30+
## Overview
31+
32+
{% include gallery caption="First diffUSE project comparisons of MD simulations with diffuse data. Slices through the anisotropic diffuse map are visualized in the *l* = 0 plane. (Left) MD simulation. (Center) Data with initial processing. (Right) Data with refined processing." %}
33+
34+
## Overview
35+
36+
This post describes the **first systematic comparisons** between molecular dynamics (MD)–derived diffuse scattering and experimental measurements on the diffUSE project.
37+
These early analyses establish a baseline for evaluating how well MD simulations reproduce the observed isotropic and anisotropic features of the data. They also suggest possible improvements in the way we compare MD simulations to diffuse data.
38+
39+
40+
---
41+
42+
## Initial Comparisons
43+
44+
Data from the first diffUSE experiments were used for comparisons (see [Getting our feet wet]({% post_url 2025-07-30-wetfeet %}) post). The **H8 dataset** was used, which was obtained using a medium radiation dose (see [preliminary analysis of the diffuse scattering](https://diffuse.science/logbook/analysis/20250624-als831-macrodomain-analysis/)).
45+
46+
The H8 dataset was originally sampled on a grid using **2×2×4** points per integer *hkl* value. To align with the 2x2x2 supercell MD simulation output, it was resampled onto a **2×2×2** grid for direct comparison.
47+
48+
This initial processing yielded a correlation with the MD simulation of 0.88 for the total diffuse intensity, and a correlation of 0.32 for just the anisotropic component.
49+
50+
---
51+
52+
## Refinement and Improvements
53+
54+
The MD simulations were performed using 2x2x2 supercell, which is too small to include contributions from long-range correlations in the lattice. We therefore wondered whether the agreement of the MD with the diffuse data might be diminished in the immediate neighborhood of the Bragg peak, which is associated with lattice vibrations ([GOODVIBES](https://doi.org/10.1038/s41467-023-36734-3) is specifically designed to accurately model this part of the signal). We also noticed certain outlier intensity values in the data (specifically, negative values), and wished to avoid using those in comparisons.
55+
56+
Another round of data processing was performed considering these ideas. First, Steve re-processed the diffraction images, sampling more finely onto a **4x4x4** grid. The intensities at integer *hkl*, correspinding to the immediate neighborhood of the Bragg peaks, were then masked out prior to downsampling to 2x2x2. Negative intensities were additionally masked out.
57+
58+
The revised processing improved the agreement with the MD substantially:
59+
60+
- **Total correlation:** 0.96
61+
- **Anisotropic correlation:** 0.56
62+
63+
---
64+
65+
## Outlook
66+
67+
We now have our first assessment of the agreement of MD simulations with diffuse data collected on the diffUSE project. This is our baseline for improving the MD models. We also identified specific regions of the diffuse map -- close to the Bragg peaks -- where the MD might be currently lacking. These regions of the model might be improved by using a larger supercell for the MD.
68+
69+
---
70+
71+
*This post was initially drafted in ChatGPT based on a Slack exchange between Steven Meisburger and Michael Wall, and was rewritten and posted by Michael Wall on October 20, 2025.*
2.03 MB
Loading
2.15 MB
Loading

assets/images/posts/h8_md_view.png

1.06 MB
Loading

0 commit comments

Comments
 (0)