private TimeSeries MathTransform(string name, Func<double, double> func) { var ts = new TimeSeries(name, this.description, -1); for (int i = 0; i < Count; i++) ts.Add(GetDateTime(i), func(this[i, 0])); return ts; }