-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A Request for Intermediate Scattering function #1040
Comments
This seems like a reasonable feature to add to freud. This function has a time-dependence to it. We have only one other analysis, MSD, in freud which computes a function with explicit time dependence, so the API should mirror that and take the box as a parameter to the constructor, and then give a 3-dimensional array of positions to the compute method. In addition, it will be important to average over k-vectors properly. A good example to work from is in the With all of those things in mind, here's how I would propose the new class to look, along with all the properties that make sense to expose:
The @Roy-Kid How comfortable would you be trying to implement this yourself? It's not a simple calculation to write, but I would be able to assist to get past roadblocks in implementation. |
Thanks for your concern. I am try to do this work, but i'm not sure I can complete or give a robust code. |
Okay. The sampling of reciprocal space is done in When I have the time, I can assist with getting some of the boilerplate code and class structure in place first and then we can work more on implementation from after that. |
@tommy-waltmann I start a PR as a start for intermediate scattering calculation. I write boilerplate code for both python and c++. Here is my plan:
What do you think? Please indicate any physical errors or code-style differences. |
Description
The intermediate scattering function is defined as the Fourier transform of the Van Hove function:
Instead of Fourier transform, these functions can also be directly computed from the atomic trajectories:
Fs
andFd
are self and distinct parts.Is there any plan to support this function? Otherwise, I can write one following structure factor code and MSD part.
Proposed Solution
Additional Context
Reference:
https://www.lehigh.edu/imi/teched/AtModel/Lecture_11_Micoulaut_Atomistics_Glass_Course.pdf
Developer
Would someone else please implement this?
The text was updated successfully, but these errors were encountered: