Hi guys, this PR is definitely not merge ready, but this is how I went about extending the repository for neutron scattering structure factors. I'm not so sure about purely MD papers, but for current experimental/EPSR papers, the most common definition of the total structure factor is what I've implemented. I haven't extensively tested my implementation, but for work I spent a while comparing forcefields to structure factor data and always got good agreement using this definition in a separate program. Maybe someone with a water trajectory or another system they have neutron diffraction data for can give this branch a try and tell me if it's working for them.
Please give me any suggestions for code cleanup or organization. I'm only opening this pull request now because I need this definition for Ramanish's paper, but in the future it would be nice to have this package support a little more functionality.
Hi guys, this PR is definitely not merge ready, but this is how I went about extending the repository for neutron scattering structure factors. I'm not so sure about purely MD papers, but for current experimental/EPSR papers, the most common definition of the total structure factor is what I've implemented. I haven't extensively tested my implementation, but for work I spent a while comparing forcefields to structure factor data and always got good agreement using this definition in a separate program. Maybe someone with a water trajectory or another system they have neutron diffraction data for can give this branch a try and tell me if it's working for them.
Please give me any suggestions for code cleanup or organization. I'm only opening this pull request now because I need this definition for Ramanish's paper, but in the future it would be nice to have this package support a little more functionality.