Skip to content

Commit 41fc9b9

Browse files
committed
Updating script
1 parent aeb0439 commit 41fc9b9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

examples/atomic_energies.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,15 @@ def occupied_mo_energies(res):
9494
'energy': orbe_alpha[i]
9595
})
9696

97+
# Unoccupied orbitals (alpha)
98+
for i in range(ndoubly + nsingly, len(orbe_alpha)):
99+
occ.append({
100+
'index': i,
101+
'occupation': '0e',
102+
'spin': 'alpha',
103+
'energy': orbe_alpha[i]
104+
})
105+
97106
return occ
98107

99108
if __name__ == '__main__':

0 commit comments

Comments
 (0)