24小时热门版块排行榜    

查看: 379  |  回复: 0

fwang2011

金虫 (小有名气)

[求助] 有熟悉cclib method的吗

系统信息:
TOTAL NUMBER OF BASIS SET SHELLS             =  937
NUMBER OF CARTESIAN GAUSSIAN BASIS FUNCTIONS = 2343
NUMBER OF ELECTRONS                          = 1008
CHARGE OF MOLECULE                           =    0
SPIN MULTIPLICITY                            =    1
NUMBER OF OCCUPIED ORBITALS (ALPHA)          =  504
NUMBER OF OCCUPIED ORBITALS (BETA )          =  504
TOTAL NUMBER OF ATOMS                        =  340

从Python调用cclib:
>>> from cclib.parser import GAMESS
>>> from cclib.method import CSPA
>>> s=GAMESS("new_b_00.log"
>>> ps=s.parse()
[GAMESS new_b_00.log INFO] Creating attribute atomcoords[]
[GAMESS new_b_00.log INFO] Creating attribute atomnos[]
[GAMESS new_b_00.log INFO] Creating attribute gbasis[]
[GAMESS new_b_00.log INFO] Creating attribute nbasis: 2343
[GAMESS new_b_00.log INFO] Creating attribute charge: 0
[GAMESS new_b_00.log INFO] Creating attribute mult: 1
[GAMESS new_b_00.log INFO] Creating attribute homos[]
[GAMESS new_b_00.log INFO] Creating attribute natom: 340
[GAMESS new_b_00.log INFO] Creating attribute aooverlaps[]
[GAMESS new_b_00.log INFO] Creating attribute scftargets[]
[GAMESS new_b_00.log INFO] Creating attribute scfvalues[]
[GAMESS new_b_00.log INFO] Creating attribute scfenergies[]
[GAMESS new_b_00.log INFO] Creating attribute moenergies[]
[GAMESS new_b_00.log INFO] Creating attribute mosyms[]
[GAMESS new_b_00.log INFO] Creating attribute nmo: 2343
[GAMESS new_b_00.log INFO] Creating attribute mocoeffs[]
[GAMESS new_b_00.log INFO] Creating attribute atombasis[]
[GAMESS new_b_00.log INFO] Creating attribute aonames[]
[GAMESS new_b_00.log INFO] Creating attribute coreelectrons[]
>>> m=CSPA(ps)
>>>>>> len(m.fragresults[0])
2343
>>> len(m.fragresults[0][0])
204
为何这里的结果不是340 (natom)呢?

谢谢

有可能帮忙解读一下这个<http://sourceforge.net/apps/medi ... php?title=C_squared>:
fragresults: a Numeric array[3] with spin, molecular orbital, and atoms as the axes (atomresults[1][23][4] gives the contribution of the 5th atomic/fragment orbital to the 24th beta molecular orbital)
这里的描述似乎比较乱,请达人解读一下。

Happy New Year everyone!

[ Last edited by fwang2011 on 2011-12-27 at 17:38 ]
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

智能机器人

Robot (super robot)

我们都爱小木虫

相关版块跳转 我要订阅楼主 fwang2011 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 北科281学硕材料求调剂 +7 tcxiaoxx 2026-03-20 7/350 2026-03-23 09:28 by haoshis
[考研] 277材料科学与工程080500求调剂 +7 自由煎饼果子 2026-03-16 7/350 2026-03-22 22:40 by ACS Nano——
[考研] 310求调剂 +4 baibai1314 2026-03-16 4/200 2026-03-22 20:19 by edmund7
[考研] 315分,诚求调剂,材料与化工085600 +3 13756423260 2026-03-22 3/150 2026-03-22 20:11 by edmund7
[考研] 一志愿武理材料工程348求调剂 +5  ̄^ ̄゜汗 2026-03-19 7/350 2026-03-22 19:44 by 公瑾逍遥
[考研] 考研调剂 +4 来好运来来来 2026-03-21 4/200 2026-03-22 12:15 by 星空星月
[考研] 材料与化工(0856)304求B区调剂 +3 邱gl 2026-03-20 7/350 2026-03-21 19:05 by 15709483992
[考研] 一志愿南大,0703化学,分数336,求调剂 +3 收到VS 2026-03-21 3/150 2026-03-21 18:42 by 学员8dgXkO
[考研] 工科0856求调剂 +3 沐析汀汀 2026-03-21 3/150 2026-03-21 18:30 by 学员8dgXkO
[考研] 306求0703调剂一志愿华中师范 +5 纸鱼ly 2026-03-21 5/250 2026-03-21 17:11 by 学员8dgXkO
[考研] 301求调剂 +10 yy要上岸呀 2026-03-17 10/500 2026-03-21 03:14 by JourneyLucky
[考研] 一志愿中国石油大学(华东) 本科齐鲁工业大学 +3 石能伟 2026-03-17 3/150 2026-03-21 02:22 by JourneyLucky
[考研] A区线材料学调剂 +5 周周无极 2026-03-20 5/250 2026-03-20 21:33 by laoshidan
[考研] 广西大学家禽遗传育种课题组2026年硕士招生(接收计算机专业调剂) +3 123阿标 2026-03-17 3/150 2026-03-20 15:58 by 飞行琦
[考研] 08工学调剂 +5 用户573181 2026-03-20 5/250 2026-03-20 15:47 by xia_2003
[考研] 085410人工智能专硕317求调剂(0854都可以) +4 xbxudjdn 2026-03-18 4/200 2026-03-20 09:07 by 不168
[考研] 材料学硕318求调剂 +5 February_Feb 2026-03-19 5/250 2026-03-19 23:51 by 23Postgrad
[考研] 一志愿福大288有机化学,求调剂 +3 小木虫200408204 2026-03-18 3/150 2026-03-19 13:31 by houyaoxu
[考研] 085600材料与化工求调剂 +6 绪幸与子 2026-03-17 6/300 2026-03-19 13:27 by houyaoxu
[考研] 【同济软件】软件(085405)考研求调剂 +3 2026eternal 2026-03-18 3/150 2026-03-18 19:09 by 搏击518
信息提示
请填处理意见