Skip to content

Bug in Histogram2D.from_single_trajectory() #7

Description

@roponnet

When computing a histogram with Histogram2D.from_signle_trajectory() I get an array with all values zeros. I believe this is due the a mix up in columns and rows in line 690 in fep.py ns, cv1_edges, cv2_edges = np.histogram2d(data[0,:], data[1,:], bins=bins, density=False). Changing this line to ns, cv1_edges, cv2_edges = np.histogram2d(data[:,0], data[:,2], bins=bins, density=False) seems to fix the problem for my system.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions