silx-kit / pyFAI

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

issue in mx-calibrate #237

Closed kif closed 9 years ago

kif commented 9 years ago

Hi Jerome,

I was realigning our detector on ID30B and wanted to use the MX-calib but I get the following error below. Any ideas? I would really like to get these values.

Thanks,

Andrew

rnice7-0308:20151110/RAW_DATA/Powder5 % MX-calibrate -w 0.976 -c Cr2O3 Cr2O3_200mm_1_0001.cbf Cr2O3_250mm_1_0001.cbf Cr2O3_300mm_1_0001.cbf Cr2O3_350mm_1_0001.cbf Cr2O3_400mm_1_0001.cbf Cr2O3_450mm_1_0001.cbf Cr2O3_500mm_1_0001.cbf Cr2O3_550mm_1_0001.cbf Cr2O3_600mm_1_0001.cbf Please enter the pixel size (in micron, comma separated X, Y i.e. 1.50e+01,1.50e+01) or a spline file: 1.720e-04, 1.720e-04 WARNING:pyFAI.detectors:guess_binning is not implemented for Detector detectors! and image size (2527, 2463)! is wrong, expected None! After refinement : 117008 keypoints After refinement : 39315 keypoints After refinement : 7424 keypoints After refinement : 1148 keypoints After refinement : 60 keypoints WARNING:pyFAI.blob_detection:Blob detection found 164955 keypoints Traceback (most recent call last): File "/usr/bin/MX-calibrate", line 61, in c.process() File "/usr/lib/python2.7/dist-packages/pyFAI/calibration.py", line 2096, in process rec.refine() File "/usr/lib/python2.7/dist-packages/pyFAI/calibration.py", line 1687, in refine wavelength=self.wavelength) File "/usr/lib/python2.7/dist-packages/pyFAI/geometryRefinement.py", line 89, in init assert self.data.ndim == 2 AssertionError

kif commented 9 years ago

It was related to an old install