structure factor (Scripts) Publisher's description
from ben payne
Calculate structure factor based on positions of scatterers in real-space
Calculate structure factor based on positions of scatterers in real-space. Functions for one and two dimensions.
You supply system size and scatterer positions on a integer lattice, function returns structure factor and momentum-space coordinates for plotting. Two or three dimensional plot is also created with appropriate axis labels.
http://en.wikipedia.org/wiki/Structure_factor for more background://http://en.wikipedia.org/wiki/Struct...more background.
Calculations for systems with length larger than 100 take a long time since loops are not vectorized. This is because the purpose is educational rather than for use with data from actual experiments.
System Requirements:MATLAB 7.10 (2010a)
Program Release Status: New Release
Program Install Support: Install and Uninstall