QuantumATK W-2024.09-SP2 version released on Mar 10, 2025
0 Members and 1 Guest are viewing this topic.
ed = nlread('analysis.nc', ElectronDensity)[0]cut = 20s = ed[:, :, :].sum()print ed[:,:, :cut].sum()/sprint ed[:,:, cut:].sum()/s
Hmm, an alternative to the Mulliken population could be using the ElectronDensity. A rough example I have made: Codeed = nlread('analysis.nc', ElectronDensity)[0]cut = 20s = ed[:, :, :].sum()print ed[:,:, :cut].sum()/sprint ed[:,:, cut:].sum()/sWhere 20 is some grid number in the z-direction. Also take a look at the manual entry for ElectronDensity