{"action":"created","issue":{"url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/800","repository_url":"https://api.github.com/repos/MDAnalysis/mdanalysis","labels_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/800/labels{/name}","comments_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/800/comments","events_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/800/events","html_url":"https://github.com/MDAnalysis/mdanalysis/issues/800","id":143008232,"number":800,"title":"Time aware slicing","user":{"login":"jbarnoud","id":1382074,"avatar_url":"https://avatars.githubusercontent.com/u/1382074?v=3","gravatar_id":"","url":"https://api.github.com/users/jbarnoud","html_url":"https://github.com/jbarnoud","followers_url":"https://api.github.com/users/jbarnoud/followers","following_url":"https://api.github.com/users/jbarnoud/following{/other_user}","gists_url":"https://api.github.com/users/jbarnoud/gists{/gist_id}","starred_url":"https://api.github.com/users/jbarnoud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbarnoud/subscriptions","organizations_url":"https://api.github.com/users/jbarnoud/orgs","repos_url":"https://api.github.com/users/jbarnoud/repos","events_url":"https://api.github.com/users/jbarnoud/events{/privacy}","received_events_url":"https://api.github.com/users/jbarnoud/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-23T16:21:11Z","updated_at":"2016-03-23T17:30:52Z","closed_at":null,"body":"When I run an analysis, I often discard the beginning of the trajectory, or I run it on a portion of the trajectory only. I think of these portions of trajectories in term of simulation time rather than number of frames. I discard the first 100 ns or I run the analysis on the last 5 µs; I do not discard the X first frame or run on the last Y frames. Also, I run my analyses with one frame every ns, not one frame every N ones.\r\n\r\nIt would be good if `AnalysisBase` could take times as `start`, `stop`, and `step`. It would be even better if it could be done at the reader level.\r\n\r\nWe should be careful that `dt` may not be constant throughout a trajectory."},"comment":{"url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/comments/200455248","html_url":"https://github.com/MDAnalysis/mdanalysis/issues/800#issuecomment-200455248","issue_url":"https://api.github.com/repos/MDAnalysis/mdanalysis/issues/800","id":200455248,"user":{"login":"jbarnoud","id":1382074,"avatar_url":"https://avatars.githubusercontent.com/u/1382074?v=3","gravatar_id":"","url":"https://api.github.com/users/jbarnoud","html_url":"https://github.com/jbarnoud","followers_url":"https://api.github.com/users/jbarnoud/followers","following_url":"https://api.github.com/users/jbarnoud/following{/other_user}","gists_url":"https://api.github.com/users/jbarnoud/gists{/gist_id}","starred_url":"https://api.github.com/users/jbarnoud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbarnoud/subscriptions","organizations_url":"https://api.github.com/users/jbarnoud/orgs","repos_url":"https://api.github.com/users/jbarnoud/repos","events_url":"https://api.github.com/users/jbarnoud/events{/privacy}","received_events_url":"https://api.github.com/users/jbarnoud/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T17:30:52Z","updated_at":"2016-03-23T17:30:52Z","body":"\n\nOn 23-03-16 18:28, mnmelo wrote:\n>\n> @dotsdl <https://github.com/dotsdl>, I'm not so sure that storing XTC \n> frame times is the best idea: some trajectories might have all frames \n> with the same time, others might be the result of concatenation and \n> have the same time period repeated.\n>\nHow does Gromacs analysis tolls deal with such trajectories?\n>\n> Can't we just fallback on the same strategy that assigns a |dt| if \n> none is provided to the |Reader|?\n>\nHow do we currently deal with non homogeneous `dt`?\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly or view it on GitHub \n> <https://github.com/MDAnalysis/mdanalysis/issues/800#issuecomment-200453767>\n>\n\n"}}