cff-version: 1.2.0
title: "EDref: Electron Diffraction Refinement Engine"
message: "If you use this software, please cite it as below."
type: software
authors:
  - name: "EDref Development Team"
repository-code: "https://gitlab.com/crystaldiffractor/edref"
url: "https://gitlab.com/crystaldiffractor/edref"
license: MIT
version: "3.0.0"
date-released: "2026-01-20"
keywords:
  - crystallography
  - electron-diffraction
  - 3D-ED
  - microED
  - structure-refinement
  - SHELXL
  - least-squares
abstract: >-
  EDref is a Python library for crystallographic structure refinement
  compatible with SHELXL. It implements least-squares refinement on F²
  and supports both X-ray and electron diffraction data. EDref provides
  a modular, well-documented implementation that can reproduce SHELXL's
  kinematic refinement workflow while offering additional features like
  robust scaling methods for handling dynamical scattering outliers in
  electron diffraction data.
