Linear shift between 2 sets of coordinates Linear shift between 2 sets of coordinates numpy numpy