Search the Community
Showing results for tags 'interpolation'.
-
A question came up recently that I thought would be of wider interest: how can I prevent interpolation across batch/capsule boundaries? In batch processes, lab samples are often taken periodically throughout the course of a batch. When viewing these samples in Seeq, you may encounter times when samples are interpolating between batches rather than just within a batch. In the image below, the periods highlighted in yellow correspond to this unwanted interpolation. The following formula is one way of preventing this interpolation. $signal corresponds to your signal of interest and $condition corresponds to your batches you want to prevent interpolation across. combineWith( $signal, Scalar.Invalid.toSignal().aggregate(startValue(), $condition.removeLongerThan(40h), startKey()) ) This results in the following signal that has our desired behavior:
-
Hi, I would like to run calculations e.g. min or max per time over multiple non-continuous signals. Unfortunately the sampling time points are slightly shifted. It would be great to transform the non-continuous signals into continuous signals (linear interpolation) to apply SeeQ methods on it. I haven't found a feasible solution so far. Could you please help me? Inserting image did not work: https://drive.google.com/file/d/16oVHGDeVp86WqHXKe5fMf8wmvBhCC08A/view?usp=sharing