Searched refs:interval_sum (Results 1 – 3 of 3) sorted by relevance
/external/bart/tests/ |
D | test_common_utils.py | 40 self.assertEqual(Utils.interval_sum(series, 1, step="post"), 8) 41 self.assertEqual(Utils.interval_sum(series, 1, step="pre"), 7) 47 self.assertEqual(Utils.interval_sum(series, 1, step="post"), 2) 48 self.assertEqual(Utils.interval_sum(series, 1, step="pre"), 1) 54 self.assertEqual(Utils.interval_sum(series, 1, step="post"), 1) 55 self.assertEqual(Utils.interval_sum(series, 1, step="pre"), 2) 59 self.assertEqual(Utils.interval_sum(series), 4)
|
/external/bart/bart/common/ |
D | signal.py | 51 from bart.common.Utils import area_under_curve, interval_sum 245 duration = interval_sum(mask[pivot_val], step=step) / duration
|
D | Utils.py | 168 def interval_sum(series, value=None, step="post"): function
|