Gradient sensing in defined chemotactic fields.