title: Visible Deprecation warning...?
body: <p>I have some data that Im reading from a h5 file as a numpy array and am doing some analysis with. For context, the data plots a spectral response curve. I am indexing the data (and a subsequent array I have made for my x axis) to get a specific value or range of values. Im not doing anything complex and even the little maths I'm doing is pretty basic. However I get the following warning error in a  number of places</p>
  
  <p>"VisibleDeprecationWarning: boolean index did not match indexed array along dimension 0; dimension is 44 but corresponding boolean dimension is 17"</p>
  
  <p>even though the output I get is the correct one when I check it. </p>
  
  <p>Can someone explain what this warning means and whether I need to be more concerned about it than I currently am?</p>
  
  <p>Im not sure example code would shed much light on this, but seeing as it is a warning that occurs when I index and slice arrays, here is some anyway:</p>
  
  <pre><code>data = h5py.File(file,'r')
  dset = data['/DATA/DATA/'][:]
  vals1 = dset[0]
  
  AVIRIS = numpy.linspace(346.2995778, 2505.0363678, 432)
  AVIRIS1 = AVIRIS[vals1&gt;0]
  AVIRIS1 = AVIRIS[vals1&lt;1]
  </code></pre>