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

demos.optics.ex6.py does not work #36

Open
sergey-tomin opened this issue Jun 17, 2015 · 1 comment
Open

demos.optics.ex6.py does not work #36

sergey-tomin opened this issue Jun 17, 2015 · 1 comment
Assignees

Comments

@sergey-tomin
Copy link
Collaborator

Traceback (most recent call last):
File "C:/Users/tomins/Documents/Dropbox/DESY/repository/ocelot/demos/optics/ex6.py", line 92, in
s2 = fwhm(x,np.abs(of.mesh.points[:,of.ny/2]))
File "C:\Users\tomins\Documents\Dropbox\DESY\repository\ocelot\common\math_op.py", line 126, in fwhm
return x[downs[-1]] - x[ups[0]]
IndexError: list index out of range

@sergey-tomin
Copy link
Collaborator Author

Please fix or remove it

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

2 participants