public float[] NormalizeAndPlotEvents(Action <string> writer) { var result = this.Normalize(); FrequencyAnalysis.Plot(result, writer, "Event Distribution"); return(result); }
public void PlotOccurence(Action <string> writer) { var data = this.data.Select(n => n > 0f ? 1.0f : 0.0f).ToArray(); FrequencyAnalysis.Plot(data, writer, "Occurrence Distribution"); }