Open MBartkowiakSTFC opened 6 months ago
I guess the weight scheme should be like this then
where $a$ is the atom, $i$ is the index of an atom $a$ and $n_i$ is whether the atom with index $i$ is selected or not.
Currently I think its something like this
so the selection changes the normalization.
Yes, this would be my preference. Probably not a big deal since we are working with arbitrary units here, but still it would make the results more consistent.
Description of the error I have run the Density of States on a trajectory of SrTiO3. Here are the results, depending on the atom selection: Each one of those curves has been calculated for ALL the Sr atoms. The selection was:
Similarly, the Ti results are not what I expected: By deselecting the O atoms I made the Ti signal increase.
Describe the expected result I would prefer if the result for Sr atoms did not change when the selection of other atoms is changed.
Describe the actual result At the moment, changing anything in the atom selection affects all the results.
Suggested fix In the first approximation, we could normalise the results to ALL the atoms in the system, and not just the selected ones.
Additional details N/A