public double[] ApplyPurityCorrection(IEnumerable<double> rawData) { return ApplyPurityCorrection(rawData.ToArray()); }