-
Notifications
You must be signed in to change notification settings - Fork 7
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
Analysis functions for diatomic molecules. #329
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good, although a lot of the utility functions for the output aren't covered by tests. Might be worth to cover the ones that don't to completely drivial things
Need to re-work several bits of this PR since they're very memory-inefficient and some edge cases aren't covered. |
I've merged in various changes to decrease the memory footprint of |
Nicely done! |
@@ -0,0 +1,183 @@ | |||
module Structure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you please create a markdown file for structure.md in docs/API to explain in a few sentences what this module is about
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've slightly improved docs here.
@wgst there are a few new functions that could be useful for you |
- Added new DynamicsOutput: OutputDesorptionTrajectory #317 - Added new DynamicsOutput: OutputDesorptionAngle #317 - Created an `Analysis` submodule for common analysis functions - Add `Structure` submodule for common utility functions for atomic structure. * Add rudimentary tests for NQCDynamics.Structure * Improved method definitions, possible efficiency gain by using views * Add unit tests for diatomic analysis functions for desorption * Add "Analysis" group to unit testing * Added explanation for Structure module scope
…332) * Add Simulation-aware VelocityBoltzmann with support for frozen atoms. * Forgot to add new file * Basic docs * Forgot second arg in mobileatoms call * Add OutputInitial DynamicsOutput (#337) * Add OutputInitial DynamicsOutput * Fix allocation-based unit tests (#336) * Stopgap fix for failing unit tests based on memory allocation * Add allocation test debug messages * Fixed version logic to be defined for all Julia versions * Analysis functions for diatomic molecules. (#329) - Added new DynamicsOutput: OutputDesorptionTrajectory #317 - Added new DynamicsOutput: OutputDesorptionAngle #317 - Created an `Analysis` submodule for common analysis functions - Add `Structure` submodule for common utility functions for atomic structure. * Add rudimentary tests for NQCDynamics.Structure * Improved method definitions, possible efficiency gain by using views * Add unit tests for diatomic analysis functions for desorption * Add "Analysis" group to unit testing * Added explanation for Structure module scope * Add unit tests and fix a mistake * Wrong path for test asset * Add DynamicalDistribution constructor from Simulation, add test for correct atom freezing. --------- Co-authored-by: Reinhard Maurer <r.maurer@warwick.ac.uk>
Changes:
DynamicsOutputs
for Desorption Angles and DynamicsVariables during desorption (New DynamicsOutputs: OutputDesorptionTrajectory, OutputDesorptionAngle #317)Structure
submodule.Analysis
submodule to contain functions needed for more complex analysis of MD trajectories.