title: condition on dimensional numpy array
body: <p>I have a 2-D dimensional NumPy array of shape <code>(120, 16)</code> which consists of phase oscillators <code>(16)</code> value over time step <code>(120)</code></p>
  <p>from this array of shape <code>(120, 16)</code> I want to put something like an if condition, where I am able to only take values of phase oscillators belonging to an interval, <code>[0, pi]</code> for example.</p>
  <p>I am new to working with NumPy so any help?</p>