ave/atom, rewrap coordinates

I’m using periodic boundary conditions for my simulation. Concerning the command ave/atom and the following note in its description :

IMPORTANT NOTE: The x,y,z attributes are values that are re-wrapped inside the periodic box whenever an atom crosses a periodic boundary. Thus if you time average an atom that spends half its time on either side of the periodic box, you will get a value in the middle of the box. If this is not what you want, consider averaging unwrapped coordinates, which can be provided by the compute property/atom command via its xu,yu,zu attributes.

Is there a way to rewrap the coordinates after the averaging ? Thank you very much,


no - but you can dump them to a dump file and post-process
them however you wish.