This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# | |
#### DATE : 08/July/2018 | |
#### Author : Asif Iqbal | |
#### Script : For changing mol2 variables | |
#### USE : ./script.py filename.mol2 | |
#### Edit mol2 file to remove empty line generated from chimera | |
# coordinate counting should start form the 7th ROW!!!!! | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#**************************************************************************************************# | |
# # | |
# Created on 06/05/2016 at 02:00 PM # | |
# Author: Asif Iqbal Bhatti # | |
# Extracting site projected orbitals for a selected atom # | |
# Usage: Run the file in the directory where VASP files are located !!! # | |
# # | |
#**************************************************************************************************# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
echo " ------------------------" | |
echo " Bader analysis " | |
echo " ------------------------" | |
echo " Reading "free-Atoms/Bonds.csv/txt" from Mercury software file !!!" | |
echo " Reading "dipole.yaml" from bader output file" | |
if [[ -e charges.dat ]] ; then | |
rm -r charges.dat |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import subprocess | |
import os | |
##usage: python Hirshfeld_extract.py FHI-aim_outputfile | |
print "Writing to a file..." | |
f = open('hir.dat', 'w') | |
print "Name of the file: ", f.name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <fstream> | |
#include <string> | |
#include <iomanip> | |
#include <stdlib.h> | |
#include <sstream> | |
#include <vector> | |
#include <algorithm> | |
#include <iterator> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <fstream> | |
#include <sstream> | |
#include <stdlib.h> | |
#include <iomanip> | |
#include <stdio.h> | |
#include <string> | |
#include <cmath> | |
#include <vector> | |
#include <algorithm> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from lxml import etree | |
import xml.etree.ElementTree as xml | |
from math import * | |
import sys, getopt, os | |
from sys import stdout | |
from array import * | |
import numpy as np |
NewerOlder