Microstructural studies using X-ray diffraction http://merkel.texture.rocks/>RDX/ |
Texture
In works Memo |
Converting The Diffraction DataEDF Files3D-XRD processing is usually based on the EDF format for diffraction images. EDF stands from European Data Format and it is widely used at ESRF for storing diffraction data. Each EDF file contains, beside the binary data of the rectangular matrix, an ASCII header which normally consists of 24 lines of text. This header includes, among other things, the endian bit type (little or big), the data type (e.g. unsigned short or long integer), the horizontal and vertical dimensions of the image matrix in pixels, the size of the data file in bytes, the date and time of data acquisition, and various information about the beamline configurations and motors. It is quite useful for 3D-XRD because all information is contained in one file and you do not have to remember, nor write down, all the image names while performing omega scans, for instance. Data collected at id11 at ESRFData collected at the id11 beamline of the ESRF is already in EDF so there is nothing to be done. Data collected at P02 in Petra IIIData collected at the P02 beamline at Petra III is not in EDF. It consists of
The
It will parse the P02 logfile, and create EDF files with the corresponding header. Here is the help you will get if you type Conversion of PETRA Perkin-Elmer diffraction files to be used with fable from ESRF Copyright 2012, S. Merkel, http://merkel.zoneo.net/ Usage: petraPE2edf.py [options] Options: -h, --help show this help message and exit -d TIFFIMAGEPATH, --data=TIFFIMAGEPATH Path to TIFF images created during experiment (mendatory) -e EDFIMAGEPATH, --edf=EDFIMAGEPATH where to save EDF file (mendatory) -l LOGFILE, --log=LOGFILE logfile created during the PETRA experiment (mendatory) Usage: - petraPE2edf.py -d locationOfPEData -e locationOfEDFData -l logfile Data collected at id27 at ESRFIf you ask for it, id27 data can also be saved in EDF, so you will not need to convert anything. |