Closed jessicaaustin closed 4 years ago
If abs(inp[0])>threshold or abs(inp[-1]>threshold), then the test marked that value as QC FAIL. But the spike test is not really defined for the first or last values in the array. So always set those flags to QC unknown.
abs(inp[0])>threshold
abs(inp[-1]>threshold)
@kwilcox do you have time to review? I hope this is straightforward enough. Honestly I don't know how we didn't catch this before.
Love thy neighbors, no?
If
abs(inp[0])>threshold
orabs(inp[-1]>threshold)
, then the test marked that value as QC FAIL. But the spike test is not really defined for the first or last values in the array. So always set those flags to QC unknown.