title: Finding peaks at data borders
body: <p>I would like to use scipy.signal.find_peaks to find peaks in some 2D data but the function defaults to ignore all edge peaks (peaks that occur on the left or right border of the array).  Is there a way to include edge peaks in the results?</p>
  
  <p>For example, I would like this code: </p>
  
  <pre><code>find_peaks([5,4,3,3,2,3])
  </code></pre>
  
  <p>to produce</p>
  
  <pre><code>[0,5]
  </code></pre>
  
  <p>but instead it produces</p>
  
  <pre><code>[]
  </code></pre>