-
Notifications
You must be signed in to change notification settings - Fork 663
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
Update ChainReader to use trajectory time or calculated frame, fail cleanly #309
Comments
Working on this one this week. Should be easier given the work that's been done by @richardjgowers in #306 and #307. |
Is anything else blocking this one anymore? It would be good to have this within Milestone:0.11 as part of the trajectory overhaul. |
Agreed. Hoping to submit PR today. |
@dotsdl I'm going to bump this to 0.12 unless I hear screams otherwise |
Agreed. I am working to overhaul the ChainReader, but it will take more time and thought. Anyhow, as written the ChainReader does work with 0-based frames, so at least the changes for this release don't break it. |
We can put it in a 0.11.1 On 31 Aug, 2015, at 10:22, David Dotson wrote:
Oliver Beckstein * orbeckst@gmx.net |
How much of this issue was done in #523? Should me move this to 0.14? |
Sorry, I hadn't noticed the previous question had been directed at me. With #523 we can now always tell a time from the ChainReader. However, this time is now computed solely from the dts of the underlying Readers and assumes we start at t=0. In short, we are ignoring time information from the trajectories, and therefore currently can't correctly read times when:
The case of times in a sub-trajectory being smaller than times in a previous sub-trajectory isn't handled, but also doesn't fail. From here, I think if we take into account the starting times of each sub-trajectory we'll already be on a sensible path. To cover all aspects maybe then implement a ChainReader flag that lets the user specify if they want a |
This still seems like a sizable chunk of work so I am bumping it to It would be good to come at least to a conclusion what we want to implement here. It might be easier if we stored frame times (ir they can be read from trajectory) with the persistent offsets because we could then do searching and all kind of array operations on the time arrays. |
Subtask for #252:
Update
ChainReader
ChainReader
try to use the trajectory time or the calculated time.time_offset
with some heuristic guesses to appropriately glue trajectories together.The text was updated successfully, but these errors were encountered: