Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhu2017 authored Oct 3, 2017
1 parent 512dca6 commit 2fae1c6
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,21 @@ X-ray diffraction calculations
This branch is initally planned for my Computational Physics class in 2017 fall.
https://github.com/qzhu2017/2017-cmp

It might be expanded in near feature.
Currently, there are three classes,
- Element
- crystal
- XRD

One could load the crystal from
- dictionary
- POSCAR
- CIF file (to add in near future)

To perform XRD calculation, one needs to provide the following info
- crystal structure
- wavelength (default is Cu-Ka: 1.54184 \AA)
- maximum 2\theta value (defult: 180 degree)

The atomic scattering factor is calculated from 9-parameter equation by Don Cromer and J. Mann.

More detailed usage could be found in the jupyter notebook.

0 comments on commit 2fae1c6

Please sign in to comment.