Skip to content
Snippets Groups Projects
Commit 87a999c1 authored by Coda Phillips's avatar Coda Phillips
Browse files

Use scan_for_outliers for HBB too

parent 676dd5a1
No related branches found
No related tags found
No related merge requests found
......@@ -9,9 +9,10 @@ def find_bb_outliers(frame, parameters, bb):
window_length = parameters.get('window_length', 50)
if bb == 'HBB':
bbb_outliers = _find_6sigma_outliers(frame['{}bottomTemp'.format(bb)], window_length)
bba_outliers = _find_6sigma_outliers(frame['{}apexTemp'.format(bb)], window_length)
bbt_outliers = _find_6sigma_outliers(frame['{}topTemp'.format(bb)], window_length)
delta_thresh = .001
bbb_outliers = np.array(list(_scan_for_outliers(frame, '{}bottomTemp'.format(bb), delta_thresh)))
bba_outliers = np.array(list(_scan_for_outliers(frame, '{}apexTemp'.format(bb), delta_thresh)))
bbt_outliers = np.array(list(_scan_for_outliers(frame, '{}topTemp'.format(bb), delta_thresh)))
else:
delta_thresh = .01
bbb_outliers = np.array(list(_scan_for_outliers(frame, '{}bottomTemp'.format(bb), delta_thresh)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment