public void addValue(double value, int condition) { // BETTER NAME?
				assert (NumVals < NumChannels);
				if (NumVals == 0) // if this is the first value for the current
					Condition.add(condition); // row, then set row's condition
				// number
				Sum += value; // add this value to the total
				NumVals++; // increase the count of values in the sum
				// if we now have enough data to add another average value...
				if (NumVals == NumChannels) { // ...to the time series,
					// then average & add it:
					DataSequence.add(Sum / ((double) NumChannels));
					Sum = 0; // reset Sum...
					NumVals = 0; // ...and the number of values in it
				}
			}