Add widget for MSD analysis#35
Conversation
Documentation build overview
14 files changed ·
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
@PardhavMaradani, the PR looks like a good start for other lag-time based analyses. There are some issues with the current implementation that I have pointed out. Once resolved, it should be good to go.
Let me know if you need any help or clarification with any points raised or want to discuss possible solutions.
- Add a new SlidingWindowMSD class that is O(n) for each window
|
Hi @amruthesht , updated the code based on your example in #34 . I had to make a few minor changes to get this working correctly (verified that the plots were identical to the MDA's MSD ones):
Could you please review and let me know if there are any changes needed. Thanks |
Changes made in this Pull Request:
PR Checklist
Hi @orbeckst, @jeremyleung521, @amruthesht, @HeydenLabASU,
This PR adds a new 'MSD Analysis' widget based on issue #34 raised by @amruthesht that uses
MDAnalysis.analysis.msd.EinsteinMSD.The widget runs every-frame and uses the timestep values from the sliding window buffer to create the plot. In the screenshots shown below, the 'Batch size' / 'Buffer size' is configured as 100 in 'Settings > Universe configuration' and hence the lag time shows up to 2 ps (each step is 0.02 ps in this example simulation).
Here is an example plot with all default values (
select='all', msd_type='xyz', fft=False, non_linear=False):Here is the same plot with a log scale (configurable from the GUI):
Here is the plot with
fft=True:Here is the plot with
non_linear=True:Here are the configurable inputs for this widget:
I added parallel support for this as it seemed to take a bit of time.
Here is a plot with a different selection phrase:
Thanks