Skip to content

How to slice an existing universe at specified timeframe to create new universe? #4388

Answered by IAlibay
rayanc72 asked this question in Q&A
Discussion options

You must be logged in to vote

@rayanc72 I believe that this class uses our standard AnalysisBase class type. To run your analysis over specific frames you can pass the start, stop, step arguments to the run method: https://docs.mdanalysis.org/stable/documentation_pages/analysis/base.html#example-of-using-a-standard-analysis-tool

There's also a frames argument you can use to pass through a list of frame indices you want to use it that's more useful (it's detailed a bit lower in the above link).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@rayanc72
Comment options

@IAlibay
Comment options

Answer selected by rayanc72
@rayanc72
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants