-
Notifications
You must be signed in to change notification settings - Fork 20
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
CRL disp calc fails with Py2 #92
Comments
Could you please provide simple test to reproduce this error? On Tue, Oct 18, 2016 at 1:02 PM, samoylv [email protected] wrote:
|
tutorial3_beamline_focusing_CRL_disp.ipynb, running on Py 2.7 |
BTW, numpy.exp() in srwlib.py does not help |
We should pass parameters for srwl_opt_setup_CRL as list crl_delta = list(be_data[:,1]) # Dummy numbers)
crl_attenuation_length = list(be_data[:,2]) #Dummy numbers) May be we should check it in our wrapper create_CRL_.... |
@buzmakov fixed? |
calculation CRL with dispersion under Py 2.7
this line brings TypeError: only length-1 arrays can be converted to Python scalars
The text was updated successfully, but these errors were encountered: