In [1]:
#reload(sys.modules['SCF'])
from SCF import SCF
from Molecule import Molecule
import sys
water = Molecule('Molecules/wat.mol')
meth = Molecule('Molecules/meth.mol',units='angstrom')
Ox = Molecule('Molecules/O.mol')
ethane = Molecule('Molecules/ethane.mol',units='angstrom')
from visual import *
from atomicParam import *
In [3]:
res = SCF(water)
res.SCFEnergy
Out[3]:
In [8]:
res = SCF(meth,basis="6-31++G")
res.SCFEnergy
Out[8]:
In [20]:
res.orbList[11].qnums
Out[20]:
In [7]:
from RotationalParam import RotationalParam
meth.toBohr()
#rot = RotationalParam(ethane.cartMatrix,ethane.atomType)
#ethane.cartMatrix = rot.cartMatrix
meth.cartMatrix
Out[7]:
In [ ]:
from renderMolecule import renderMolecule
cA = [ethane.cartMatrix]
c[3].apply(renderMolecule(cA,ethane))
In [12]:
import matplotlib.pyplot as plt
import numpy as np
%matplotlib inline
In [2]:
for idx,i in enumerate(water.cartMatrix):
col = tuple(getAtomColor(water.atomType[idx])[0:3])
print col
rad = getAtomRadius(water.atomType[idx])
sphere(pos = i, radius = rad,color=col)
In [3]:
import numpy
numpy.set_printoptions(linewidth=200)
In [ ]: