Jump to content

JohnL

Members
  • Posts

    1
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

JohnL's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I've seen some discussions on creating boundaries using periodic conditions. But am interested in seeing if now() can help with creating a relative, rolling window for calculations. For example, I am trying to create boundaries for temperature signal A (TempA) based on a prediction model for TempA, +/- the standard deviation of the model. Ideally, the StdDev would be calculated continuously over the preceeding 24hrs, offset by 1hr (i.e. the standard deviation of the model between -25h and -1hr). Right now I've started with this: ($p = prediction model for TempA) $p.standarddeviation(capsule(now()-25h,now()-1h)) But that yields a constant. And I would like it to continuously calculate over that relative -25hr:-1hr window.
×
×
  • Create New...