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

PRISM algorithm (RuntimeError: Integration limit exceeded.) #149

Closed
nmd5719 opened this issue Apr 1, 2024 · 3 comments
Closed

PRISM algorithm (RuntimeError: Integration limit exceeded.) #149

nmd5719 opened this issue Apr 1, 2024 · 3 comments

Comments

@nmd5719
Copy link

nmd5719 commented Apr 1, 2024

Hi there,

I am trying to simulate some HAADF-STEM images using PRISM algorithm but I am receiving the error- "integration limit exceeded"

"flexible_measurement.compute()
bf_measurement = flexible_measurement.integrate_radial(0, s_matrix.semiangle_cutoff)
haadf_measurement = flexible_measurement.integrate_radial(42, 160)
Error = integration limit exceeded."

Even though the scattering cut-off angle is (170.22906781380374, 170.2240901847696). Could you please explain the reason and how can I resolve it? Thanks

Nikalabh

@TomaSusi
Copy link
Member

Sorry for the delayed response! @jacobjma could you check if this is still an issue?

@jacobjma
Copy link
Member

I am aware of this issue, it is related to this issue: #141

I will fix it it, but it may take a couple of days.

@jacobjma
Copy link
Member

This should be fixed in the main branch now, it will be in next release. Sorry about the delay.

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

No branches or pull requests

3 participants