Giter Site home page Giter Site logo

easyeda's Introduction

Hits

  • 🧪 I'm an undergraduate student majoring in chemistry.
  • 💻 I'm interested in theoretical and computational chemistry.
  • 📊 I'm also interested in Data analysis, as well as ML/DL.
  • 🐣 I'm a novice in code development.
  • 🔎 I pursue a mile wide and an inch deep philosophy.
  • 📧 Please contact me via email. My email address is [email protected].

easyeda's People

Contributors

kangmg avatar

Watchers

 avatar

easyeda's Issues

range issue of dihedral_angle()

source/plot.py 파일 내에 아래 함수의 range가 [0,360]가 아닌 [0,180]인 문제 발견

def dihedral_angle(atom1, atom2, atom3, atom4):
    
    b2 = np.array(atom3) - np.array(atom2)
    b1 = np.array(atom2) - np.array(atom1)
    b3 = np.array(atom4) - np.array(atom3)

    v1 = np.cross(b1, b2)
    v2 = np.cross(b2, b3)

    angle = np.arctan2(np.linalg.norm(np.cross(v1, v2)), np.dot(v1, v2))
    angle_degrees = np.degrees(angle)

    if angle_degrees < 0:
        angle_degrees += 360.0
    return angle_degrees

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.