Giter Club home page Giter Club logo

Comments (5)

davidlmobley avatar davidlmobley commented on August 23, 2024

Can you provide some sample data to reproduce this? We've not run into this
yet and a fix will be simpler if we can reproduce the problem.

On Wed, Jan 13, 2016 at 2:54 AM, MatteoA [email protected] wrote:

I find that when using certain values with the flag "-f", I get an index
out of bounds error because the array ts in the function dF_t() is one
element longer than expected I found this issue with -f values of 6 or 28
so far

I believe it has to do with the fact the array tf is defined with
numpyarange:
tf = numpyarange(0,1+increment,increment)

(max(nsnapshots)-1)+1 In some cases (like for 6 or 28) it seems that the
'stop' (1+increment) element is included in the array, later on resulting
in a ts array that is one element longer than expected, and with ts[-1]
having a time over the end time of the simulation I imagine it could be a
problem related to the representation of floating numbers, and possibly
replacing arange with linspace might be enough to solve the issue: tf =
numpylinspace(00, 10, n_tf)
(max(nsnapshots)-1)+1


Reply to this email directly or view it on GitHub
#64.

David Mobley
Associate Professor
Department of Pharmaceutical Sciences
Department of Chemistry
3134B Natural Sciences I
University of California, Irvine
Irvine, CA 92697
[email protected]
work (949) 824-6383
cell (949) 385-2436

from alchemical-analysis.

matteoaldeghi avatar matteoaldeghi commented on August 23, 2024

Of course, here are the xvg files with the first 0.5ns of some data I was looking at:
https://www.dropbox.com/sh/1xngv1t3isx7a23/AACvL9zB6n12lbC78Ywpspy1a?dl=0

from alchemical-analysis.

davidlmobley avatar davidlmobley commented on August 23, 2024

Should be resolved by #72 . Can you check?

from alchemical-analysis.

matteoaldeghi avatar matteoaldeghi commented on August 23, 2024

Just checked, this seems resolved now indeed.

from alchemical-analysis.

davidlmobley avatar davidlmobley commented on August 23, 2024

Marking as closed.

from alchemical-analysis.

Related Issues (20)

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.