Skip to main content

Tools for analyzing Scanning X-ray Diffraction Microscopy data

Project description Documentation status

SXDM is a library for analyzing Scanning X-Ray Diffraction Microscopy data for materials science, chemistry and similar fields. The major focus is on Scanning Microscopy frames collected at multiple incident angles. One can import, retrieve, and analyze 26 - ID - C datasets, including X-ray Fluorescence data, all from a Python format.

Motivation & Features

  • Importing and analysis of scanning x-ray diffraction microscopy framesets

  • Analysis of scanning x-ray diffraction microscopy (centroids, region of interest, and general user analysis)

  • Provide a python toolkit for analysis of X-ray diffraction frames.

  • Privide a python toolkit for importing and retrieving X-ray Fluorescence data.

  • Store data in an open format for easy distribution.

  • Provide framework 26-ID-C data handling.

Installation (pip)

  • pip install sxdm

Developer Installation (git)

  • conda create -n sxdm python=3.6

  • source activate sxdm

  • git clone clone

  • pip3 install -r sxdm/requirements.txt

  • pip3 install ipykernel

  • ipython kernel install –user –name=sxdm

Developer Virtual Environment & Jupyter Setup (git)

Run Commands In Jupyter Shell

  • %matplotlib qt

  • import sys

Linux - sys.path.append(‘/path/to/sxdm/folder’)

MacOS - sys.path.append(‘/Users/usr/virtual_environment/lib/python3.7/site-packages/’)

  • from sxdm import *


Please see the for more details


This project is released under the GNU General Public License version 3.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sxdm-1.0.0.tar.gz (6.4 MB view hashes)

Uploaded source

Built Distribution

sxdm-1.0.0-py3-none-any.whl (92.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page