Pump sampling in unidirectal and oscillatory flow