silx-kit / pyFAI

Fast Azimuthal Integration in Python
Other
106 stars 95 forks source link

assertion error in separate method #209

Closed kif closed 9 years ago

kif commented 9 years ago

Ref: ID13, Anastasya Shilova anastasya.shilova@esrf.fr & Nicolas Coquelle nicolas.coquelle@ibs.fr

When I am trying to do Azimuthal integration NPC giving me every time this error:

Process MProcess-2: Traceback (most recent call last): File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/users/opid13/.local/lib/python2.7/site-packages/NPC-0.0.1-py2.7.egg/NPC/MultiProcess.py", line 31, in run result = self.data_mappingself.options['experiment'] File "/users/opid13/.local/lib/python2.7/site-packages/NPC-0.0.1-py2.7.egg/NPC/MultiProcess.py", line 38, in set_data_ssx return self.set_data_eiger(filename) File "/users/opid13/.local/lib/python2.7/site-packages/NPC-0.0.1-py2.7.egg/NPC/MultiProcess.py", line 53, in set_data_eiger return self.HitFinder.get_hit(task) File "/users/opid13/.local/lib/python2.7/site-packages/NPC-0.0.1-py2.7.egg/NPC/HitFinder.py", line 57, in get_hit self.bkg_sub() File "/users/opid13/.local/lib/python2.7/site-packages/NPC-0.0.1-py2.7.egg/NPC/HitFinder.py", line 96, in bkg_sub restore_mask=True)[0] File "/usr/lib/python2.7/dist-packages/pyFAI/azimuthalIntegrator.py", line 3391, in separate assert (pos < npt_azim).all() AssertionError Process MProcess-1:

Could be a multithreading issue ... to investigate.

kif commented 9 years ago

related to presence of a mask