“cmd.smooth” performs a window average of coordinate states.
def smooth(selection="all", passes=1, window=5, first=1, last=0, ends=0, quiet=1):
smooth | cmd.load_traj | api