Return a copy of particle trajectores with the overall drift subtracted out.
Parameters: | traj : DataFrame of trajectories, including columns x, y, and frame drift : optional DataFrame([x, y], index=frame) like output of
|
---|---|
Returns: | traj : a copy, having modified columns x and y |