Chapter 8. How can I create an electron density difference map?

(Gaussian only)

For GaussSum, an electron density difference map is what you get when you subtract the electron density before an electronic transition, from the electron density after. This allows visualisation of charge transfer associated with a given transition. This is particularly useful when a transition has a number of contributions from different singly-excited configurations.

Empty the gausssum1.0 directory of any files that don't relate to the current molecule. In particular, you should make sure that there aren't any cube files present that don't relate to the current molecule.

This section uses the Python script EDDM.py. It requires that the Gaussian directory is in the PATH. Please see the Installation section for instructions on adding a directory to the PATH. You can test to see whether the Gaussian directory is already included in the PATH by typing: cubman at the command prompt. If it works, just press CTRL+C to exit.

EDDM.py requires a file UVData.txt in the gausssum1.0 directory. This file is created using UVVis.py as described in the section "How do I get the UV-Vis spectrum of a molecule?".

Place a checkpoint file or formatted checkpoint file for the molecule (e.g. the output of a geometry optimisation) in the folder containing the gausssum1.0 folder. Open the checkpoint file using GaussSum. This will be used to generate cube files.

Choose the script EDDM.py. At this point you should open UVData.txt using Excel or a simple text editor, and choose for which transitions you wish to calculate the electron density difference map.

Enter the transitions into the box in the format shown and click on the GaussSum logo to start.

The steps that EDDM.py takes are as follows (note: all the cube files are stored in the gausssum1.0 directory):