Giter Site home page Giter Site logo

ml-dias's Introduction

Note

지금 코드는 Calculator(charge=?)로 지정하는 방식이라서 charge가 제대로 부여되지 않음. set_charge를 통해서 Calculator에 charge를 제대로 부여해야 함

Tip

This is a tip. (Supported since 14 Nov 2023)

Important

Crutial information comes here.

Caution

Negative potential consequences of an action. (Supported since 14 Nov 2023)

Warning

Critical content comes here.

DOI

image

aim(AIMNet2) + DIAS(distortion interaction analysis)

aimDIAS is a Python package compatible with IPython that enables SUPER-FAST Distortion Interaction Analysis (or activation strain analysis) using aimnet2 models.


Colab Tutorials

aimDIAS is currently in beta version. Functions may change depending on the version, so please check the version number.

notebook aimDIAS version description
Open In Colab v. 1.0 basic tutorials

Basic Usage

For detail, see docs/*, notebooks/*

  • Draw your molecule
from aimDIAS import draw_xyz

draw_xyz("h2o.xyz", charge=0)
  • Run calculation
from aimDIAS import aimDIAS_run

fp = {
  "frag_1" : (-1, [1, 2]),
  "frag_2" : (+1, [3])
  }

aimDIAS_run(trajFile="h2o.xyz", fragments_params=fp)
  • Plot your Result without calculation
from aimDIAS import aimDIAS_run

gp = {"distance" : "1 2"}

fp = {
  "frag_1" : (-1, [1, 2]),
  "frag_2" : (+1, [3])
  }

aimDIAS_run(trajFile="h2o.xyz",
            fragments_params=fp,
            mode="plot",
            axis_type="distance",
            geo_param=gp)

Gallery

Diels-Alder reaction

image


Wittig Rection

image


How to Install

pip

  • pip install aimDIAS # old version
    
    pip install git+https://github.com/kangmg/aimDIAS.git # current version

git clone

  • terminal
    ### terminal ###
    git clone https://github.com/kangmg/aimDIAS
    
    
    pip install -q -r path/to/aimDIAS/requirements.txt
  • ipython
    ### python ###
    import sys
    sys.path.append("path/to/aimDIAS")

Requirements

python >= 3.10.0


Share your Data

Share your files and contribute to the community!

By sharing your xyz trajectory files in the Discussion section, you can make them available as sample data for everyone to use. Please refer to this discussion link for more information:

image

Files posted in the Discussion section will be uploaded to the samples/ directory in the project repository for easy download and utilization with the load_data() function.


Bug Report

[email protected] or issue in github

I'm always happy to hear feedback and suggestions. Feel free to contact me anytime.


ml-dias's People

Contributors

kangmg avatar

Watchers

 avatar

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.