<div dir="ltr">Pete, the examples you give are all univariate timeseries. I think the solution will be really easy, but I want to better understand your goals. Is it enough to use a Z-score against a rolling window? You seem to be optimizing for something operational here, since you're thinking in terms of interrupts. What are you trying to optimize?<div><br></div><div>Kind regards,</div><div>Justis</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 24, 2015 at 5:49 PM, Pete Soper via TriEmbed <span dir="ltr"><<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div style="font-family:'Calibri','sans-serif'">Say I have a
      sensor for which a measured baseline signal can be used as a
      steady state but some predefined deviation greater than a given
      amount can can be defined "interesting" by virtue of an interrupt.
      With the interrupt can come a sequence of samples (either polled
      or by reusing the same or different deviation for an interrupt)
      before the sensor reading changes are declared ended, returning to
      the old or a new normal baseline level, and the process is set up
      to be repeated. Meanwhile, between interrupts and sample capturing
      tasks, a set of samples is compared with previously defined
      "signatures" to confirm that a set of samples is "complete" and a
      <something> has or has not been detected. I realize that in
      many cases there has to be a "moving window" to do with matching
      up samples and signatures: I'm just <br>
      <div><br>
      </div>
      <div>I'm looking for the math taxonomy to do with this for making
        filters and pattern matchers, but also practical examples that
        express specific calculations for use cases.<br>
      </div>
      <div><br>
      </div>
      <div>Example: A photodetector w a programmable comparator that
        triggers an mcu interrupt when a light level is above or below
        threshold, and arrangements for detecting these "signatures":</div>
      <div> . The moon obscured momentarily by a cloud</div>
      <div> . A passing car's headlights</div>
      <div> . Dawn</div>
      <div> . A cigarette lighter lighting a cigarette</div>
      <div> . A cigarette lighter used in "music concert style"</div>
      <div> . Lightning</div>
      <div><br>
        I guess the ideal would be a few Wikipedia references to help me
        begin my education, but some practical examples that allow
        correlating the math with code that implements the math would be
        much appreciated.<br>
        <br>
        Thanks,<br>
      </div>
      <div>Pete</div>
      <div><br>
      </div>
    </div>
    <br>
    <br>
  </div>

<br>_______________________________________________<br>
Triangle, NC Embedded Computing mailing list<br>
<a href="mailto:TriEmbed@triembed.org">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" rel="noreferrer" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
TriEmbed web site: <a href="http://TriEmbed.org" rel="noreferrer" target="_blank">http://TriEmbed.org</a><br>
<br></blockquote></div><br></div>