We added the conversion of Type B photometry IES files to EULUMDAT to the existing conversion of Type C files.
Some background theory
The photometric intensity distribution in EULUMDAT files is similar to that a Type C IES file. The center of beam is straight down (or up) and there are vertical (IES: lateral) planes rotating around this central down axis. In each vertical (IES: lateral) plane there are a number of vertical angles. For more info see AGI32 website.
To determine the intensity at a pair of the C and γ angles, we need to interpolate at a corresponding pair of B and β angles. The corresponding B and β angles can be found using these formulas:
tan B = cos C * tan γ
sin β = sin C * sin γ
We added some extra logic to handle the determination of the right quadrant.
Interpolation is done using standard lagrange over 3 planes and then over the 3 resulting points.
See this book for more details.