Giter Club home page Giter Club logo

ase-bimetall's Introduction

ase-bimetall

Atomic Simulation Environment scripts for BIMETALLic nanoparticles

Description

The collection of my scripts for Atomic Simulation Environment (ASE) used for study of bimetallic nanoparticles. The required ASE libraries are available at official site under free license.

Implemented (Reverse) Monte-Carlo method for the search of two-component structures based on the coordination numbers information. The MC class and Move nethods are heavily based on ASAP3 implementation.

Scripts

  • analyzecn.py -- procedure-driven calculation of coordination numbers and similar quantities. Should be replaced by object oriented version QSAR;

  • qsar.py -- class for calculation of coordination numbers and similar quantities;

  • coreshell.py -- procedures to build atomic clusters with particular architecture;

  • mc_search.py -- Monte-Carlo search of structures with known coordination numbers. Based on MC code from ASAP project.

Examples

  • Import libraries

    from ase import Atom, Atoms
    from coreshell import sphericalFCC, randomize_biatom
  • Build a spherical nanoparticle and stores it in Atoms object:

    atoms = sphericalFCC('Ag', 4.09, 8)
  • Add some Pt atoms:

    atoms = randomize_biatom(atoms, 'Pt', 'Ag', ratio=0.6)
  • You can view the structure using ASE in a very simple way:

    from ase.visualize import view
    view(atoms)

    Screenshot of ASE GUI widndow

  • Find out coordination numbers:

    from qsar import QSAR
    
    qsar = QSAR(atoms)
    
    qsar.biatomic('Pt', 'Ag')
    
    print( qsar.report_CNs() )

    The output will like:

    Coordination numbers:
        Pt-Pt   6.364
        Pt-Ag   4.058
        Ag-Pt   6.097
        Ag-Ag   4.340
    
    
  • The Monte-Carlo example can be found in __main__ method in mc_search.py.

ase-bimetall's People

Contributors

lavakyan 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.