I am trying to display molecular orbitals with PyMOL and not having much success. Because PyMOL doesn't support any form of molecular orbital input, I first generate cube files with Molden, then load an xyz file and cube file with PyMOL to display the orbitals. When I view both, the orbitals (isosurfaces) are significantly displaced from the molecule. I have tried playing with the origin and axes in the cube file but there is no obvious scaling or change of axes that works. Even if I adjust the origin manually, the orbital orientation is incorrect and changing the sign of the axes does not change the orientation.
This does not appear to be a problem with Molden's cube file generation because I can load both molecular orbital files and cube files with JMol and they match in position and orientation.
It might be an issue with PyMOL assuming a certain format, so here are the header lines from the cube file:
I am trying to display molecular orbitals with PyMOL and not having much success. Because PyMOL doesn't support any form of molecular orbital input, I first generate cube files with Molden, then load an xyz file and cube file with PyMOL to display the orbitals. When I view both, the orbitals (isosurfaces) are significantly displaced from the molecule. I have tried playing with the origin and axes in the cube file but there is no obvious scaling or change of axes that works. Even if I adjust the origin manually, the orbital orientation is incorrect and changing the sign of the axes does not change the orientation.
This does not appear to be a problem with Molden's cube file generation because I can load both molecular orbital files and cube files with JMol and they match in position and orientation.
It might be an issue with PyMOL assuming a certain format, so here are the header lines from the cube file: