private static double GetArousalPoint(double height, HeatmapDataPoint point, double arousalRange) { return(height - (((point.Arousal + arousalRange) / (arousalRange * 2)) * height)); }
private static double GetValencePoint(double width, HeatmapDataPoint point, double valanceRange) { return(((point.Valence + valanceRange) / (valanceRange * 2)) * width); }