Skip to content

Kz conversion with inner potential V0 incorrect #125

@joshpw

Description

@joshpw

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions