How convert an IES file to a remap graph?


I’ve been doing quite a bit of research on this topic, I haven’t found a tool that does what I’m trying to achieve, so I plan to make a very quick one.

The idea is to convert Angles to Light data, remapping angles to light quantities. Think of it as a graph mapper where the corresponding x is converted to a y value.

The problem is reading the IES files, they have quite a bit of data.

Any thoughts or ideas on how to start?