Closed sellberg closed 11 years ago
@sellberg good catch. we just have to re-generate it.
updated examples/my_cspad.cspad in https://github.com/tjlane/pypad/commit/cf1cbfc2fac9770104e9055b8ee153ea0056b277 it is not as nice as @tjlane 's magical optimizations, but it will suffice for now
I can fix this later, just to tired to rerun the gold right now...
[pypad(master):610 21:31:23] assemble examples/gold-minus490mm.h5 -m examples/my_cspad.cspad Loading: examples/gold-minus490mm.h5 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/Current/bin/assemble", line 5, in
pkg_resources.run_script('pypad==0.0.1', 'assemble')
File "/Library/Frameworks/Python.framework/Versions/6.3/lib/python2.6/site-packages/pkg_resources.py", line 467, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/Library/Frameworks/Python.framework/Versions/6.3/lib/python2.6/site-packages/pkg_resources.py", line 1200, in run_script
execfile(script_filename, namespace, namespace)
File "/Library/Frameworks/Python.framework/Versions/6.3/lib/python2.6/site-packages/pypad-0.0.1-py2.6.egg/EGG-INFO/scripts/assemble", line 55, in
imshow_cspad( cs1(raw_image), ax=ax, scrollable=True )
File "/Library/Frameworks/Python.framework/Versions/6.3/lib/python2.6/site-packages/pypad-0.0.1-py2.6.egg/pypad/cspad.py", line 461, in call
return self._assemble_image(raw_image)
File "/Library/Frameworks/Python.framework/Versions/6.3/lib/python2.6/site-packages/pypad-0.0.1-py2.6.egg/pypad/cspad.py", line 1115, in _assemble_image
quad_index_image = self._assemble_quad( raw_image[quad_index], quad_index )
File "/Library/Frameworks/Python.framework/Versions/6.3/lib/python2.6/site-packages/pypad-0.0.1-py2.6.egg/pypad/cspad.py", line 1077, in _assemble_quad
two_by_one = interp.rotate(two_by_one, -self._asic_rotation(quad_index, i),
File "/Library/Frameworks/Python.framework/Versions/6.3/lib/python2.6/site-packages/pypad-0.0.1-py2.6.egg/pypad/cspad.py", line 996, in _asic_rotation
p, s, f, shape = self._metrology_basis.get_grid( self._asic_index(quad_index, i, j) )
AttributeError: 'CSPad' object has no attribute '_metrology_basis'