Skip to content

pzzhang2019/diffractionsim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Module for Simulating Crystallographic Rotation Series

This is a very simple module for selecting reflections that intersect the reflecting sphere at a given crystal orientation.

Installation

It is recommended to use the Anaconda python distribution with this library. Aside from standard libraries, the only prerequisites for running this code are

  • Pandas
  • Numpy
  • Matplotlib

With those prerequisites met, all you should have to do is add this directory to your PYTHONPATH variable.

Additionally, it is a good idea to have Phenix installed for calculating structure factor amplitudes.

Examples

The test directory contains some sample code for computing reflection positions (see test/plot_rot_series.py).

About

Compute Bragg peak locations from crystal geometries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%