Pump sampling in unidirectial and oscillatory flow