pace-neutrons / pace-python

Python module of the PACE inelastic neutron data analysis suite of programs.
GNU General Public License v3.0
3 stars 4 forks source link

Calling a python function with sqw_eval sometimes hangs #38

Open henrikjacobsenfys opened 1 month ago

henrikjacobsenfys commented 1 month ago

The example code found here: https://github.com/pace-neutrons/pace-python/blob/main/examples/sqw_eval_example.py

hangs on line 68 when running w_cal_py = m.sqw_eval(my_cuts[0], py_fe_sqw, [35, 0, 30, 10, 300])

I am using the demo .sqw file generated in the Horace tutorial: https://github.com/pace-neutrons/Horace/blob/master/demo/setup_demo_data.m