Git Product home page Git Product logo

bdld's People

Contributors

bpampel avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

bdld's Issues

Reconsider documentation / implementation of "stride" and "write_stride" parameters of [trajectory] action

It might be good to reconsider the documentation or implementation of the "stride" and "write_stride" parameters of the trajectory action, as these behave a bit differently than for the other actions:

  • The stride just specifies what (every Nth point) is written to the files, while always the full trajectory is stored in memory
  • The write_stride specifies how often these selected points are written to the file (to not open the files and append a single line every time)

The reason for storing the full trajectories in memory was the usage of the Trajectory for the Histogram, where the full trajectories were typically desired.

Two solutions:

  • Clarify the documentation
  • Change the code, such that changing the stride actually influences the number/stride of particle positition stored in memory. This would mean that a stride !=1 results also in a different behavior of the Histogram

The latter is probably the better option, but requires a lot more work and might break historic input files.

Usage of helpers submodul

At least document that you also need to do

git submodule init
git submodule update

to get the helpers module.

Alternative: restructure code, such that this is not a submodule.

Stride != 0 for trajectories omits initial position in output

When a stride N is specified for any actions, this will not process the action the first N times.
While this is fine for e.g. FES or DeltaF, this might not be the desired behavior for the trajectory action, if one wants to monitor the initial position.

Consider also writing the initial value to file for the trajectory action.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.