public void SaveProfile(String filePath, IList <DataPoint> dataPoints)
        {
            List <Double> times  = new List <Double>();
            List <Double> values = new List <Double>();

            foreach (DataPoint point in dataPoints)
            {
                times.Add(point.X);
                values.Add(point.Y);
            }
            DataExporter.SaveTimeAndValuesToCsv(times, values, filePath);
        }