Skip to content

Instantly share code, notes, and snippets.

View Asif-Iqbal-Bhatti's full-sized avatar
☢️
Manufacturing consent Noam Chomsky

Asif_em2r Asif-Iqbal-Bhatti

☢️
Manufacturing consent Noam Chomsky
  • Belgium
View GitHub Profile
@yqshao
yqshao / ase-gui_for_windows.md
Last active January 20, 2024 01:04
ASE-Gui for windows

Intro

ase-gui is the most handy model editor I've used to setup my VASP calculations.

It supports VASP POSCAR/CONTCAR files perfectly and a variety of other formats. The editting features (moving/rotating) are handy for adjusting surface adsorption structues.

Yet, it's a little tricky to get a nice ase-gui on windows mechaines.

  • Old versions require pyGTK which is hardly available for windows, I remember attempting with miniconda and official build http://www.pygtk.org/downloads.html, but the process is tedious.
  • Newer versions use tk, however the interface is ugly and some functions are not available (Ctrl+R for rotation, and zooming is buggy right now).
  • VASP configuration files don't have extentions, meaning it's hard to associate them using the windows options
@amitsaha
amitsaha / tail.py
Last active April 30, 2024 11:49
Simple implementation of the tail command in Python
'''
Basic tail command implementation
Usage:
tail.py filename numlines
'''
import sys
import linecache
@rmcgibbo
rmcgibbo / neb.py
Created January 30, 2013 03:51
Nudged Elastic Band in Python
from __future__ import division
import numpy as np
import IPython as ip
import matplotlib.pyplot as pp
import warnings
from collections import namedtuple
import scipy.optimize
#symbolic algebra
import theano