MEDVED: Modulation-Enhanced Diffraction Viewer and EDitor

Information and requirements

MEDVED (Modulation-Enhanced Diffraction Viewer and EDitor) is software that allows a user to load a number of powder patterns (standard two- or three-column ASCII data files) or hkl files (in SHELX format), inspect them separately or together, calculate Fourier transforms (using fast Fourier transform algorithms) and inspect separate harmonics as well as their real or imaginary parts.
If you use this program please cite this paper: Frequency analysis for modulation-enhanced powder diffraction.

Medved is open source software covered by the GPLv3 license.

Source code is freely available at the mercurial repository:


If you have installed Python 3.6 on your computer, you may install MEDved just using pip:

pip install medved

Beforehand you need to install PyQt5:

pip install PyQt5
On Windows you may need the MS Visual C++ Build Tools 2015 to compile the C-extensions.




  • 2017.11.20.1 (d5fbc19b6f0e)
    • New UI

    • Fix update checking

    • Fix for the crash when a new dataset is loaded

  • 2017.9.12.1 (401e64c7806c)
    • Minor bug fixes

  • 2017.9.12 (88aaf6d3b2e4)
    • MEDVED checks updates at

    • New UI based on standard Qt widgets

    • Fourier calculations are done n times faster now, where n is a number of loaded files

    • Fixing the About window: new web site; the links are clickable now

    • Fourier view correctly shows plot ticks when switches something->phase->something

    • Refactoring of the code

    • Minor bug fixes

  • 2016.12.2 (a807bc7b7cc8)
    • Porting to Qt5

    • Small improvements