dkuecker Posted October 24, 2018 Share Posted October 24, 2018 I need to add four signals that have missing data. SEEQ is giving a "There is no data in your current display range" warning and not displaying the sum of the series. Is there a way to add the existing values and ignore missing or invalid values? Link to comment Share on other sites More sharing options...
Seeq Team Ben Johnson Posted October 25, 2018 Seeq Team Share Posted October 25, 2018 I think you're on to something with the other topic about replacing gaps with zeros. If you applied that formula to each of these 4 gappy signals, then $a+$b+$c+$d should give you the signal you're looking for. As background, the gaps are considered "invalid" and doing any math with an invalid value is going to result in an invalid. The gaps in each signal become viral and wipe out the others when added together. Link to comment Share on other sites More sharing options...
Guest Jon Peterson Posted October 29, 2018 Share Posted October 29, 2018 I'm not sure if splicing in zeros is correct. Zero is just an arbitrary value, why not -100 or +200? But, @dkuecker, let us know if a replacement fits your need. Replacement is easy to do. Technically, if we need to add say 4 signals, we could only do the math when the there's valid data for a 4 signals--and Seeq does support that. Implying no data is a value of zero is not correct. But, as mentioned, Seeq supports splicing in other data where data is missing. Link to comment Share on other sites More sharing options...
Adam Georgeson Posted January 15, 2019 Share Posted January 15, 2019 If the gaps are considered "invalid", could you write $a.validValues()+$b.validValues()+$c.validValues()+$d.validValues() ? Link to comment Share on other sites More sharing options...
Seeq Team Ben Johnson Posted January 16, 2019 Seeq Team Share Posted January 16, 2019 It's not just valid samples that are the problem, it's the gaps between samples that are longer than the "maximum interpolation" of the signal. validValues() doesn't change that. Setting a long maxInterpolation on the signal probably doesn't do what you want either, since then line between the first and last sample of the gap would now interpolate and contribute to the sum of the signals. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now