resampleSPpairs function

Resample a pair of profiles