Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

joeyelk/MD-Structure-Factor

Open more actions menu

Repository files navigation

MD-Structure-Factor

Calculates 3d structure factor and simulated x-ray diffraction pattern from molecular dynamics trajectories

Badges

Codacy Badge Build Status

Dependencies

Installation

pip install --upgrade pip                                                   
pip install cython                                                          
pip install vtk                                                             
pip install pandas                                                          
pip install -r requirements.txt

Example

example program usage:

main_gromacs.py -i foo    

(loads foo.gro and foo.trr)

main_gromacs.py -top foo.gro -traj foo.trr

The program will then create two intermediate files, out_foo_traj.npz and out_foo_sf.npz. On subsequent runs of the program with the same inputs, these files will be automatically reloaded.

Output:

The program will create a folder foo_plots, which will contain subfolders with various cross sections through the 3d structure factor. Additionally, Ewald-corrected plots will be produced. These more accurately show what would be seen in an x-ray diffraction experiment.

Papers

Coscia, B. J., Yelk, J., Glaser, M. A., Gin, D. L., Feng, X., & Shirts, M. R. (2019). Understanding the Nanoscale Structure of Inverted Hexagonal Phase Lyotropic Liquid Crystal Polymer Membranes. Journal of Physical Chemistry B, 123(1), 289–309. https://doi.org/10.1021/acs.jpcb.8b09944

About

Calculates 3d structure factor and simulated x-ray diffraction pattern from molecular dynamics trajectories

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.