The Ccp13 Fibrefix Program Suite and Recent Updates
The Ccp13 Fibrefix Program Suite and Recent Updates
doi: 10.1382/fdr.2006.1403
10
Figure 1: The new query box which appears when it is necessary to select precise parameter ranges for intensity integrations in FibreFix. popup window. However, it was difficult to be precise in positioning the mouse to select an exact area of the image, especially if it is necessary to analyse the same regions in many different patterns using the same limits of integration. These plot regions can now be selected in an alternative way by entering the exact pixel coordinates of the area for integration in a popup window as shown below (Figure 1). Clicking on OK will plot the graph in a separate popup window as before. Another development is such that the program plotting functions have been updated to plot one-dimensional logs when the image is displayed in a log scale. Also a number of bugs in these routines have been fixed. New BSL functions in FibreFix FibreFix 1.3 has been updated with several new added BSL functions such as ADF (ADdition of a series of Frames), CAL (CALibration file normalisation) and CIN (Circular INtegration) which are used as below. There has also been a modification to the use of the ROTation function ROT: [1] ADF: The ADF function adds sets of image Frames together in a time series. By specifying the Frames to be added in the input window, specific groups of Frames in a time series can be added together. Note that only where several Frames are being added is it necessary to include those Frame numbers in the ADF query box. In the example below (Figure 2) new Frame 1 is the same as old Frame 1, new Frame 2 is the sum of old Frames 2 to 4, new Frames 3 and 4 are replaced by old Frames 5 and 6, new Frame 5 is replaced by the sum of Frames 7 to 12 and so on. As a separate application of the ADF function, several independent exposures (files) of exactly the same repeated experiment can be added together by inputting them as a set of files using the input procedure in Figure 6. They
Figure 2: The query box which appears when using the BSL ADF function in FibreFix. are then stored in the program as if they are successive Frames in a multiframe file and can be added together using the ADF function. [2] CAL: The CAL function plots a modified calibration file by dividing the calibration value for each frame by the user input exposure time of each frame in a time series. This allows the measurement which has been saved in the calibration file to be normalized with respect to exposure time so that a sensible plot can be made of the calibration data against frame number. In order to explain the application of CAL, we give an example below from one of our own time-resolved X-ray diffraction experiments on fish muscle (Figure 3). In the recorded exposures the frame duration changed as in Table 1: [3] CIN: The CIN function plots circular integration profiles in a selected radial range of a diffraction pattern. By
11
Table 1: Frame numbers and exposure times in a timeresolved X-ray diffraction experiment on contracting bony fish muscle. Frames 1 and 2 each had exposure times of 100 ms, Frames 3 to 152 had exposure times of 1 ms, Frame 153 had an exposure of 100 ms, and Frames 154 to 254 had exposures times of 4 ms. These translate into the entry in the CAL function input query box in BSL as in Figure 3.
Figure 3: The query box which appears when using the BSL CAL function in FibreFix.
Figure 4: Application of the new BSL CIN (circular integration) function in FibreFix. This selects and plots the observed intensity around an annulus in the observed diffraction pattern and can reveal details of the degree of orientation in a polymer sample.
12
tiframe BSL file. Multiple files can be selected by holding the CTRL key while clicking the necessary files (Figure 6). Alternatively files can be selected by clicking the first file to select and then, while holding down the SHIFT key, clicking the last file to select. The program assumes all the selected files are of same file format and the same dimensions. Estimation of Spacings and Unit Cell Parameters A new feature of FibreFix 1.3 is the ability to determine approximate peak spacings in the pattern once the wavelength and camera length have been put into the Parameter file. Using the Get Spacings option under XFIX, the user can click on a peak of interest of unknown spacing, right click and automatically generate spacing estimates. These are printed in the text box at the bottom of the FibreFix window. Figure 5: The new query box that appears when the BSL function The estimated 'real' spacings given are the ROT is opened. It allows for variable correction of the pattern rotaBragg spacing d and, for 'vertically' oriented tions throughout a time-series. fibre specimens, the radial (row line) and axial (layer line) spacings of the peak. From these spacings the approximate dimensions of the unit cell can selecting the CIN function on the BSL tool tab one can be defined. plot the required intensity profile around a circle either by mouse clicking or by inputting the centre, radius and radiModelling Programs al width of the annular area to be integrated. Then by As well as stripping fibre diffraction data and analysing right-clicking on the mouse the annular intensity profile is other kinds of non-crystalline diffraction patterns, it is plotted (Figure 4). This can be used, for example, for important to have tools with which to model possible canestimating the degree of orientation (texture) in partially didate structures. Two simulation programs have been ordered synthetic polymer samples. written, the program HELIX (Knupp and Squire, 2004) to model simple helical structures and also the program [4] ROT: The ROT tool has been updated to allow for MusLABEL (Squire and Knupp, 2004) to model the speslight variations in absolute orientation of the fibre axis of cific kinds of structures that are found in striated muscles. a single sample during a time series. It applies different The least-squares molecular refinement program LALS is angles of rotation to different time frames (Figure 5). also in the process of being updated for CCP13 (Arnott et al., 1969). Multiple files can be selected and processed together Multiple files can be selected in FibreFix and operations can then be carried out on all the files selected as the mulFigure 6: Selection of multiple files for common processing within BSL.
13
The future: Proposed additional updates In the near future a number of additional features will be added to FibreFix. These include additional routines within the BSL processing package such as: CNV CON CoNVolute two files. Generate a CONtour map.
FFT Perform 2-D Fast Fourier Transform on an image. GAU IFT SUR Generate a 2-D GAUssian function. Calculate the Inverse Fourier Transform. SURface plot (isometric projection).
It is also hoped that new background subtraction procedures will be included in FTOREC and LSQINT. The full program will also include a 2D or 3D Fourier synthesis package based on data output from LSQINT. Finally we hope that before too long updated versions of the 1D analysis programs XFIT and XOTOKO will also be incorporated within FibreFix. When we have a final package which we believe fulfils a great deal of the needs of the non-crystalline diffraction community we will implement the whole FibreFix suite in Java. Please also note that there are several FibreFix tutorials on the CCP13 website (www.ccp13.ac.uk) which refer to particular kinds of user applications. Acknowledgements We are indebted to the BBSRC and EPSRC for several grants supporting the CCP13 activity (recently #28/B10368 & #28/B15281) and specifically the development of FibreFix for CCP13 and also the Wellcome Trust (# 061729) for support of CK while various FibreFix tools were being implemented. We also acknowledge contributions from Andrew He during the early part of FibreFix development (the suite was then called ICE) and the many users who have made suggestions about new features to incorporate into FibreFix or who have pointed out bugs. REFERENCES Arnott, S., Dover, S.D. & Wonacott, A.J. (1969) "Leastsquares refinement of the crystal and molecular structures of DNA and RNA from X-ray data and standard bond lengths and angles". Acta Cryst. B25, 2192-2206. Denny, R.C (1993) Integration of fibre diffraction patterns: FDTOREC and LSQINT. Fibre Diffraction Review 2, 5-8. Denny, R.C. & Shotton, M.W. (1999) CCP13 Software Development Fibre Diffraction Review 8, 14-19. Denny, R.C., Shotton, M.W. & Forsyth, V.T. (1998) CCP13 Software Development. Fibre Diffraction
Review 7, 40-44. He, A., Rajkumar, G., Forsyth, T. & Squire, J.M. (2004) Report on CCP13 software developments: Production of an integrated CCP13 environment (ICE) for Windows. Fibre Diffraction Review 12, 21-23. Knupp, C. & Squire, J.M. (2004) HELIX: A helical diffraction simulation program. J. Appl. Cryst. 37, 832-835. Rajkumar, G., AL-Khayat, H.A., Eakins, F., He, A., Knupp, C. & Squire, J.M. (2005) FibreFix - A New Integrated CCP13 Software Package. Fibre Diffraction Review 13, 11-18. Squire, J.M. & Knupp, C. (2004) MusLABEL: A Program to Model Striated Muscle A-band Lattices, to Explore Crossbridge Interaction Geometries and to Simulate Muscle Diffraction Patterns. J. Mus. Res. Cell Motil. 25, 423-438. Squire, J.M., AL-Khayat, H.A., Arnott, A., Crawshaw, J., Denny, R., Diakun, G., Dover, S.D., Forsyth, V.T., He, A., Knupp, C., Mant, G., Rajkumar, G., Rodman, M.J., Shotton, M. & Windle, A.H. (2003) New CCP13 software and the strategy behind further developments: Stripping and modelling of fibre diffraction data. Fibre Diffraction Review 11, 7-19.
14