MAUD for Java has the capability to convert large TIFF files into 1D
data files in CIF format. Other programs may require you to integrate in
two bits as they can have limitations on the number of datapoints.
Thanks to John Francis of the Natural History Museum in London, UK for providing the following TIF data files used in this example. The Image Manager in Maud can open JPG, Uncompressed TIF and GIF. If using JPG format, saved in the lowest compression possible so you lose the minimum of information using JPG compression. Also, most programs save as compressed TIF as default - so save as uncompressed TIF if you wish to be able to use MAUD to integrate the data.
|
Run Maud to bring up the following screen (in this case from the Windows version)
|
Select the Data sets tabpanel
|
Delete the existing data set and select the Add New to
add a new data set.
|
Using the mouse, select the new Dataset name then Edit the dataset pressing the Edit button.
|
Go to the Datafiles tabpanel.
|
Press the "image manager" button (bottom-left of the panel) to
bring up the "Area Manager".
Then from the "Area Manager" window, select File, Open and browse to open the image data of interest.
|
If you find out that the image is inverted such that it shows peaks as "troughs",
invert the data using,
|
In the image, click and drag the mouse to select the area you want to analyse
(for the Debye-Scherrer film the advice is to select from the center of one hole
to the center of the other, so you have two points of which you know exactly the
corresponding 2-theta required by the program)
|
After selection choose from the menu Analyze, Plot Profile
and a window will appear containing the spectrum
(Again: if the image was a negative better to first use the command Edit, Invert that works only for gray scale; conversion from color to gray scale can be also performed)
|
On the window with the spectrum put the correct Min coord and Max coord in the units
you want to use. For the film example if you selected between the two holes put
0 and 180 (degrees) and press the button "add to dataset and save".
The program will ask for a file name and will save a CIF file containing the 2theta
coord from Min to Max with a step equal to (Max - Min) / (number of pixels +1).
|
You can then open another TIF (and close the olf file) and repeat this if you wish.
In the image manager, on selecting File, Quit, the spectrum will "also" be added to the Maud dataset on which you can continue a Rietveld or other analysis supported by Maud. You can now repeat the process. If the Image Manager seems to freeze at this point, kill Maud (your CIF file is safe) and restart Maud. The Image Manager may not be the most stable or programs under Windows(?). |
In the image manager, on selecting File, Quit, the spectrum will "also"
be added to the Maud dataset on which you can continue a Rietveld or other analysis
supported by Maud.
From Luca Lutterotti:
Following is what part of the resulting CIF file looks like. The step width depends on the range you chose, and the number of pixels - in this case a step width of 0.04222378.
_pd_meas_number_of_points 4264 _riet_meas_datafile_calibrated true loop_ _pd_proc_2theta_corrected _pd_calc_intensity_total 0.00000000 0.29017856 0.04222378 0.60714286 0.08444757 0.36607143 0.12667135 0.43303570 0.16889514 0.31250000 . . . . 179.704433 0.50892859 179.746657 0.53125000 179.788881 0.31250000 179.831104 0.06250000 179.873328 0.04910714 179.915552 0.00000000 179.957776 0.01785714 180.000000 0.00000000
|