Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arc.alkali_atom_functions.getEnergy does not use quantum defect calculation for low n #61

Closed
svenjandura opened this issue Apr 8, 2021 · 1 comment

Comments

@svenjandura
Copy link

The function arc.alkali_atom_functions.getEnergy does not use quantum defect calculations if n < arc.alkali_atom_functions.minQuantumDefectN . While this is supposedly desired behavior, it is in contrast to the documentation of getEnergy: "For preferQuantumDefects =True, program will always calculate energies from quantum defects (useful for comparing quantum defect calculations with measured energy level values)"

@nikolasibalic
Copy link
Owner

Many thanks for reporting this. Clarification of this is added in the documentation (e5d558a).

Indeed, below minQuantumDefectN quantum defects do not give good results (in low n limit, there is usually clear limit of extrapolation since most quantum defect values are fitted for higher lying states).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants