It doesn’t look like this is immediately obvious but is there a simple way of outputting an optimised geometry to an xyz file in Angstrom? I know I can get coordinates from wfn.molecule.geometry() in Bohr (and atom types, total charge, and multiplicity through some yet to be found functions) but I thought I’d check before putting something together myself to output an xyz file fo the final optimised geometry. (This would be using Psi4 as a python module.)
1 Like
You can use this function: http://psicode.org/psi4manual/master/psi4api.html#psi4.core.Molecule.save_xyz_file
If mol
is your Molecule object:
mol.save_xyz_file('name.xyz',1)
The bool at the end asks about to include/exclude ghost atoms.
2 Likes
How did I not spot that?! DOH!
Many thanks.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.