Project

General

Profile

Wiki » History » Version 6

Goret, Gael, 30/01/2015 09:17 AM

1 1 Goret, Gael
[1.1] How to Start-up the 3DRSR execution : 3DRSR_config
2 1 Goret, Gael
3 1 Goret, Gael
The configuration program for 3DRSR is made of two consecutive procedures : firstly an initial auto-assignment of the parameters from configuration file(s) inputted, then, a manual definition of all the parameters that has not been defined automatically.
4 1 Goret, Gael
5 1 Goret, Gael
3DRSR_config is launched in this way:
6 1 Goret, Gael
7 6 Goret, Gael
> python 3DRSR_config.py Xcalibur_parameter_file.par [Inhouse_config_file.cfg]
8 1 Goret, Gael
9 1 Goret, Gael
* Inhouse_config_file.cfg being optional
10 1 Goret, Gael
11 1 Goret, Gael
Inhouse_config_file.cfg format (without the “---” lignes): 
12 1 Goret, Gael
13 5 Goret, Gael
14 4 Goret, Gael
># gfs1_2	- file name template
15 4 Goret, Gael
>
16 4 Goret, Gael
># 1800	- number of input files
17 4 Goret, Gael
>
18 4 Goret, Gael
># 1		- starting from number
19 4 Goret, Gael
>
20 4 Goret, Gael
># 2463	- Size-Fastest-Dimension
21 4 Goret, Gael
>
22 4 Goret, Gael
># 2527	- Size-Second-Dimension
23 4 Goret, Gael
>
24 4 Goret, Gael
># 0		- starting angle
25 4 Goret, Gael
>
26 4 Goret, Gael
># 0.1		- oscillation size in degrees
27 4 Goret, Gael
>
28 4 Goret, Gael
># 1		- apply symmetry (0/1)
29 4 Goret, Gael
>
30 4 Goret, Gael
># 53.898	- 1st tilt of U matrix
31 4 Goret, Gael
>
32 4 Goret, Gael
># 29.653	- 2nd tilt of U matrix
33 4 Goret, Gael
>
34 4 Goret, Gael
># 54.696	- 3rd tilt of U matrix
35 5 Goret, Gael
36 1 Goret, Gael
37 1 Goret, Gael
The configuration procedure start by assigning the parameter values available in the Xcalibur parameter file and (if present) in the inhouse configuration file.
38 1 Goret, Gael
Then the program display a summary of the parameters associated with their values or “None” if the program has failed to initialize one parameter.
39 1 Goret, Gael
40 1 Goret, Gael
Then the program inspect the configuration object and ask the user to set manually the value of each parameter with an undefined value.
41 1 Goret, Gael
42 1 Goret, Gael
At the end of the manual setting procedure, the program display again the list of parameter values, and write an ASCII file, named 3DRSR.conf containing all the information on parameters.
43 1 Goret, Gael
44 1 Goret, Gael
This file can be edited by any text editor in order to modify the configuration before setting the file as input of 3DRSR.  
45 1 Goret, Gael
46 1 Goret, Gael
[1.2] 3DRSR : 3D Reciprocal Space Reconstruction
47 1 Goret, Gael
48 1 Goret, Gael
Once you have obtained a 3DRSR.conf file [see 1.1], you can start 3DRSR using the following syntax :
49 1 Goret, Gael
50 1 Goret, Gael
>>> python 3DRSR.py 3DRSR.conf Filter_file images-file(s)
51 1 Goret, Gael
52 1 Goret, Gael
e.g. : python 3DRSR.py conf/3DRSR.conf mask6M ~/data/GFS/images/*
53 1 Goret, Gael
54 1 Goret, Gael
where,
55 1 Goret, Gael
56 1 Goret, Gael
“conf/3DRSR.conf” is the path to the configuration file,
57 1 Goret, Gael
58 1 Goret, Gael
“mask6M” is the path to the filtering mask (in the example located in the current dir),
59 1 Goret, Gael
60 1 Goret, Gael
“and ~/data/GFS/images/*” is a list of X-ray detector images (given to the program by the command shell via the keyword *)
61 1 Goret, Gael
62 1 Goret, Gael
The Input file formats handled are the following :  
63 1 Goret, Gael
=================== 
64 1 Goret, Gael
* Bruker 
65 1 Goret, Gael
  o brukerimage 
66 1 Goret, Gael
  o bruker100image 
67 1 Goret, Gael
  o kcdimage: Nonius KappaCCD diffractometer 
68 1 Goret, Gael
* Mar Research 
69 1 Goret, Gael
  o marccd (fileformat derived from Tiff) 
70 1 Goret, Gael
  o mar345 imaging plate with PCK compression 
71 1 Goret, Gael
* Dectris 
72 1 Goret, Gael
  o cbfimage (implements a fast byte offset decompression scheme in python/cython) 
73 1 Goret, Gael
  o pilatusimage (fileformat derived from Tiff) 
74 1 Goret, Gael
* ESRF 
75 1 Goret, Gael
  o edfimage: The ESRF data Format 
76 1 Goret, Gael
  o xsdimage: XML serialized image from EDNA 
77 1 Goret, Gael
  o fit2dmaskimage: Fit2d Mask format 
78 1 Goret, Gael
  o fit2dspreadsheetimage: Fit2d ascii tables (spread-sheet) 
79 1 Goret, Gael
* ADSC 
80 1 Goret, Gael
  o adscimage 
81 1 Goret, Gael
* GE detector at APS 
82 1 Goret, Gael
  o GEimage 
83 1 Goret, Gael
* PNM 
84 1 Goret, Gael
  o pnmimage 
85 1 Goret, Gael
* Tiff 
86 1 Goret, Gael
  o tifimage 
87 1 Goret, Gael
* D3M 
88 1 Goret, Gael
  o d3mimage 
89 1 Goret, Gael
* Hamamatsu 
90 1 Goret, Gael
  o HiPiCimage 
91 1 Goret, Gael
* Oxford Diffraction Sapphire 3 
92 1 Goret, Gael
  o OXDimage 
93 1 Goret, Gael
* Nonius 
94 1 Goret, Gael
 o KappaCCD 
95 1 Goret, Gael
* Raw Binary without compression 
96 1 Goret, Gael
=================== 
97 1 Goret, Gael
98 1 Goret, Gael
Once 3DRSR is launched with the proper attributes, the logo is displayed, and the first question appears :  
99 1 Goret, Gael
100 1 Goret, Gael
!3DRSR1.png!
101 3 Goret, Gael
102 3 Goret, Gael
Internally, 3DRSR is composed by two distinct procedures :
103 3 Goret, Gael
The reconstruction of the whole reciprocal space binned into a 3D Cartesian grid.
104 3 Goret, Gael
Or, the reconstruction of an image corresponding to a slice of this volume.
105 3 Goret, Gael
Depending of what you want to do, type key “v” or “s”, then press Enter.
106 3 Goret, Gael
107 3 Goret, Gael
[1.2.1] Volumetric reconstruction
108 3 Goret, Gael
109 3 Goret, Gael
From a series of diffraction images taken in rotation (with different tilt angles along one axis), the program back-project each image on the Ewald sphere, and thanks to the diffractometer parameters (goniometer angles, crystal orientation, ... ) the given curved image is binned into a 3D grid. The intensities contained in each image (the value of each pixel) are summed-up, symmetrized, and finally averaged to give the final reconstruction.
110 3 Goret, Gael
111 3 Goret, Gael
Once the type of reconstruction is chosen, the program display the minimal list of generators necessary to compute, by combination, the symmetry operator list of all the point groups.
112 3 Goret, Gael
113 3 Goret, Gael
If you want that 3DRSR symmetrized the computed reconstruction, you can defined a list of generators adapted to you case. 
114 3 Goret, Gael
115 3 Goret, Gael
e.g. : 
116 3 Goret, Gael
P6mmm → 2(z),3(z),m(x),m(y),m(z)
117 3 Goret, Gael
m4m → 1~,2(y),2(z),2(110),3(111)
118 3 Goret, Gael
119 3 Goret, Gael
If you prefer computing a volume without symmetry applications, juste press the key Enter, “no symmetry” is the default choice.
120 3 Goret, Gael
121 3 Goret, Gael
The application of symmetry operations are computed on the 3D massif at the end of the reconstruction 
122 3 Goret, Gael
123 3 Goret, Gael
!3DRSR2.png!