Hello,
I wanted to report a potential bug that I found (or please let me know if you disagree).
In kz_conversion.py the function "_kp_to_polar" explicitly depends on the inner_potential, summing it into the formula for phi[i]. However, I am not sure this is correct and think that here the inner_potential should just be removed from the code. The specific line is:
phi[i] = (
np.arcsin(
kp[i]
/ (arpes.constants.K_INV_ANGSTROM * np.sqrt(kinetic_energy[i] + inner_potential))
)
+ angle_offset
)
Thank you for maintaining this code base.