Skip to content
This repository was archived by the owner on Feb 25, 2019. It is now read-only.
This repository was archived by the owner on Feb 25, 2019. It is now read-only.

basis set computation doesn't seem to work right #8

@franknoe

Description

@franknoe

This code:

import variational
from variational.basissets.ramachandran import RamachandranBasis
alabasis = RamachandranBasis('A', radians=False)
import numpy as np
atraj = np.array([[-120, 60],[120, 120]])
alabasis.map(atraj)

leads to this output:

array([[ 1.        ,  0.2007158 , -0.79413052],
       [-0.        ,  0.        , -0.        ]])

which can't be right. The last row shouldn't be zero. At least the first column must always be 1.0

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