Systematic differences between PETS and DIALS raw intensity extraction for 3D electron diffraction datasets

オープン
#3,076 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
12/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
cpp, python
領域
data

調査の方向性

The payload names no source files or tests; the attached DIALS_3DED_COMMANDS.txt and the LuAG log-log plot are the starting points. Reproduce the LuAG run from the public Zenodo raw data, then compare the low-intensity reflections and the negative-intensity count against the PETS results. Done means a diagnosed cause for the low-intensity deviation, which needs domain knowledge of 3D-ED integration.

索引モデルが issue の本文から書いたものです。

説明

Hi,

I am investigating the use of DIALS as an open-source alternative to PETS for electron diffraction data reduction, with the longer-term goal of using DIALS-extracted intensities as input for dynamical refinement workflows. As part of this, I attempted to benchmark intensity extraction in DIALS against PETS for several well-characterized 3D-ED datasets.

I observe systematic differences in the extracted intensities, particularly in the low-intensity regime, and a substantially higher number of negative intensities in DIALS compared to PETS. I tested four datasets with publicly available raw data:

-LuAg, CsPbBr₃, Borane (Suresh et al., 2024) (link to raw data : https://zenodo.org/records/13359514)
-Urea (Dominiak et al., 2025) (link to raw data: https://repod.icm.edu.pl/dataset.xhtml?persistentId=doi:10.18150/FNLNWC)

For each dataset, I processed the raw images entirely in DIALS and compared the resulting extracted intensities directly against the PETS results provided with the original publications. To quantify agreement, I computed an R-type residual defined as
R = sum(|sqrt(I_DIALS) − sqrt(I_PETS)|) / sum(sqrt(I_DIALS)), for reflections considered observed (I > 3 sigma) in both datasets. The resulting reflection counts and R values are summarized in the attached table.

One consistent observation across all datasets is that DIALS produces a substantially larger number of negative intensities than PETS at the raw extraction stage. This is reflected both in the total counts and in the number of reflections falling below the I > 3σ threshold. Otherwise all datasets index cleanly, with practically identical UB matrices between PETS and DIALS, so this does not appear to be an indexing issue.

I am also attaching a log–log intensity–intensity plot with PETS on the x-axis and DIALS on the y-axis for LuAG. This shows good agreement at higher intensities but a systematic deviation in the low-intensity tail, where DIALS intensities are consistently lower. I tested removing the lowest-intensity reflections from the R calculation, but this did not significantly improve the agreement.

I have included a .txt file with my exact DIALS command sequences, as well as the relevant python code for R calculations and data analysis. I would be happy to share any additional information that would be useful for diagnosis. Please feel free to contact me either via github or at [email protected]

Thank you for your attention to this matter.

Best,
Benjamin Colmey

Image Image

DIALS_3DED_COMMANDS.txt

主要言語
Python
スター
107
フォーク
61
平均マージ
2日 15時間
マージ済み PR(30日)
12

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dials/dials のほかの issue

dials/dials の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。