Calculating the area of a radar chart over time by combining multiple arrays in Python
Suppose I have an array containing scores for n
characters over t
days. I have some more arrays of the same shape (t, n)
containing different types of scores for the same n
characters. For concreteness, let’s say I have 5 scores, i.e. 5 arrays of shape (t, n)
. The individual scores (each normalized between 0 and 100) will change over time and my goal is to create a composite score using the area of the radar chart of the five scores for each character per day. (FYI: the area of the polygon is calculated by first assigning polar coordinates for each score (score_value, theta)
, converting these to (x, y)
co-ordinates and then using a standard formula.) The final output containing the areas should also be a (t, n)
array.