<div dir="ltr">Hello,<div><br></div><div>I'm using the function local_min_1d to identify local minima in a 1 dimensional array (non-cyclic). </div><div>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(128,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>qmin = local_min_1d(ref_gr_tmp, False, 0, 0)</span></p></div><div><br></div><div>In some instances, I get a missing value. For instance, when the ref_gr_tmp array is as follows: </div><div>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(128,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>-32.48587</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(128,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(1)<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>-29.68181</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(128,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(2)<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>-25.42006</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(128,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(3)<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>-20.03051</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(128,0,128)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(4)<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>-19.69697</span></p><div><br></div><div>Is this expected to occur when there is no isolated minimum or "peak" in the data? <br></div><div><br></div><div>Thanks,</div><div>Manisha</div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Dr. Manisha Ganeshan<div>Morgan State University</div><div>Maryland, U.S.A.</div></div></div></div></div>