EnergyProfile.get_smoothed() — get a smoothed energy profile

get_smoothed(window=1)
This returns a new energy profile, in which each residue's energy is smoothed by weighted window averaging, using its own energy and the energy of window residues either side of it; energies of residues are weighted by how close they are to the center residue in sequence. (Note that this differs from that used by Selection.energy().)