[GSAS-II] edf format issue
Andrzej Falenty
afalent at gwdg.de
Wed May 21 04:08:34 CDT 2014
Dear all,
I was recently attempting to load some 2D image files to GSAS II from
one of our experiments at ID15b, ESRF and while "mar2300" format seems
to work well I could not open any of our "edf" files. All files come
from Pixium 2700 image plate with 2640x1920 pixels (rather odd shape
for the powder diffraction but its origin is in the medical scanners).
At the moment I can go around this obstacle either by converting edf-s
to some readable format and the load it in GSAS II or use the "good old
" Fit2D+GSAS combo but I would be grateful if you could take a look on
the issue. Below you will find the message form GSAS II terminal window
with the error. If it is of any help I can also provide an exemplary edf
image.
Best wishes
Andrzej
------------------------------------------------------------------------------------------------------------------------------------------
GSAS-II binary directory: C:\GSASII\binwin2.7
Python module versions loaded:
python: 2.7.3
wxpython: 2.8.10.1
matplotlib: 1.1.0
numpy: 1.6.1
scipy: 0.10.1
OpenGL: 3.0.2a5
This is GSAS-II version: 0.2.0 revision 1355
Read European detector data edf file: D:\03_Post-Doc
(Goettingen)\Exp\ESRF\2013_ID15B\Data\powder\LaB6_room\LaB6_room_0001.edf
Traceback (most recent call last):
File "C:\GSASII\GSASII.py", line 2035, in OnImageRead
Comments,Data,Npix,Image = G2IO.GetImageData(self,imagefile)
File "C:\GSASII\GSASIIIO.py", line 258, in GetImageData
Comments,Data,Npix,Image = GetEdfData(imagefile)
File "C:\GSASII\GSASIIIO.py", line 314, in GetEdfData
sizexy[0] = int(fields[2])
ValueError: invalid literal for int() with base 10: '2640;'
------------------------------------------------------------------------------------------------------------------------------------------
--
--
Dr. Andrzej Falenty <afalent at gwdg.de>
Abt. Kristallographie
GZG, Georg-August-Universität
Goldschmidtstraße 1
D-37077 Göttingen
Tel. 0049 551 3912150
http://kristall.uni-mki.gwdg.de/
More information about the GSAS-II
mailing list