Code Monkey home page Code Monkey logo

mot's Introduction

Molecular Orbital Transitions (MOT)

Animate molecular orbital transitions using Psi4 and Blender

Author: Maximilian Paradiz Dominguez, University of Amsterdam

This is a personal project still in the very early stages of development.

Given a molecule, it will generate an animation depicting the wave function of an electron as it undergoes a Rabi cycle that moves the electron from one orbital into another. This can be useful for obtaining a visual representation of a simple electronic excitation in which the first excited state is well described by a single configuration, such as a HOMO -> LUMO transition.

This small program is meant to be an educational tool. It is written in a way that should allow you to adapt it to your particular needs. This program depends only on FOSS software.

Dependencies

Python (Tested with Python 3.9)

Psi4 (Tested with Psi4 1.5a1.dev151)

Blender (Tested with Blender 2.93.5)

FFmpeg (Tested with ffmpeg n4.4.1)

Python libraries:

numpy

scikit-image

Usage

Make sure that the dependencies are installed.

Set the MOT environmental variable to the path of the MOT folder which contains the scripts.

Use chmod +x animate.py and chmod +x setup_view.py to allow these scripts to be executed.

Running python $MOT/animate.py will create an animation of the HOMO -> LUMO molecular orbital transition.

This set of scripts has been tested using the following setup:

mot's People

Contributors

maxparadiz avatar

Stargazers

Thiago Santos avatar Salmanul Faris avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

chrinide

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.