1 | """ |
---|
2 | *ImageCalibrants: Calibration Standards* |
---|
3 | ---------------------------------------- |
---|
4 | |
---|
5 | GSASII powder calibrants in dictionary ``ImageCalibrants.Calibrants`` |
---|
6 | containing substances commonly used for powder calibrations for image data. |
---|
7 | |
---|
8 | Each entry in ``ImageCalibrants`` consists of:: |
---|
9 | |
---|
10 | 'key':([Bravais num,],[space group,],[(a,b,c,alpha,beta,gamma),],no. lines skipped,(dmin,pixLimit,cutOff),(absent list)) |
---|
11 | |
---|
12 | * See below for Bravais num assignments. |
---|
13 | * The space group may be an empty string. |
---|
14 | * The absent list is optional; it gives indices of lines that have no intensity despite being allowed - see the Si example below; counting begins at zero |
---|
15 | |
---|
16 | As an example:: |
---|
17 | |
---|
18 | 'LaB6 SRM660a':([2,],['',][(4.1569162,4.1569162,4.1569162,90,90,90),],0,(1.0,10,10.)), |
---|
19 | |
---|
20 | For calibrants that are mixtures, the "Bravais num" and "(a,b,...)" values are repeated, as in this case:: |
---|
21 | |
---|
22 | 'LaB6 & CeO2':([2,0],['',''] [(4.1569,4.1569,4.1569,90,90,90),(5.4117,5.4117,5.4117,90,90,90)], 0, (1.0,2,1.)), |
---|
23 | |
---|
24 | Note that Si has reflections (the 4th, 11th,...) that are not extinct by |
---|
25 | symmetry but still have zero intensity. These are supplied in the final list:: |
---|
26 | |
---|
27 | 'Si':([0,],['F d 3 m'],[(5.4311946,5.4311946,5.4311946,90,90,90),],0,(1.,10,10.),(3,10,13,20,23,26,33,35,40,43)), |
---|
28 | |
---|
29 | Note, the Bravais numbers are: |
---|
30 | * 0 F cubic |
---|
31 | * 1 I cubic |
---|
32 | * 2 P cubic |
---|
33 | * 3 R hexagonal (trigonal not rhombohedral) |
---|
34 | * 4 P hexagonal |
---|
35 | * 5 I tetragonal |
---|
36 | * 6 P tetragonal |
---|
37 | * 7 F orthorhombic |
---|
38 | * 8 I orthorhombic |
---|
39 | * 9 C orthorhombic |
---|
40 | * 10 P orthorhombic |
---|
41 | * 11 C monoclinic |
---|
42 | * 12 P monoclinic |
---|
43 | * 13 P triclinic |
---|
44 | |
---|
45 | User-Defined Calibrants |
---|
46 | ======================= |
---|
47 | To expand this list with locally needed additions, do not modify this |
---|
48 | ``ImageCalibrants.py`` file, |
---|
49 | because you may lose these changes during a software update. Instead |
---|
50 | duplicate the format of this file in a file named ``UserCalibrants.py`` |
---|
51 | and there define the material(s) you want:: |
---|
52 | |
---|
53 | Calibrants={ |
---|
54 | 'LaB6 skip 2 lines':([2,],['',],[(4.1569162,4.1569162,4.1569162,90,90,90),],2,(1.0,10,10),()), |
---|
55 | } |
---|
56 | |
---|
57 | New key values will be added to the list of options. |
---|
58 | If a key is duplicated, the information in ``UserCalibrants.py`` will |
---|
59 | override the entry in this (the ``ImageCalibrants.py`` file). |
---|
60 | |
---|
61 | """ |
---|
62 | |
---|
63 | Calibrants={ |
---|
64 | '':([0,],['',],[(0,0,0,0,0,0),],0,(1.0,10,10.)), |
---|
65 | 'LaB6 SRM660b':([2,],[''],[(4.15689,4.15689,4.15689,90,90,90),],0,(1.0,10,10.)), |
---|
66 | 'LaB6 SRM660a':([2,],[''],[(4.1569162,4.1569162,4.1569162,90,90,90),],0,(1.0,10,10.)), |
---|
67 | 'LaB6 SRM660a skip 1':([2,],[''],[(4.1569162,4.1569162,4.1569162,90,90,90),],1,(1.0,10,10.)), |
---|
68 | 'LaB6 SRM660': ([2,],[''],[(4.15695,4.15695,4.15695,90,90,90),],0,(1.0,10,10.)), |
---|
69 | 'Si SRM640c':([0,],['F d 3 m'],[(5.4311946,5.4311946,5.4311946,90,90,90),],0,(1.,10,10.),(3,10,13,20,23,26,33,35,40,43)), |
---|
70 | 'CeO2 SRM674b':([0,],[''],[(5.411651,5.411651,5.411651,90,90,90),],0,(1.0,2,1.)), |
---|
71 | 'Al2O3 SRM676a':([3,],['R -3 c'],[(4.759091,4.759091,12.991779,90,90,120),],0,(1.0,5,5.)), |
---|
72 | 'Ni @ 298K':([0,],[''],[(3.52475,3.52475,3.52475,90,90,90),],0,(1.0,10,10.)), |
---|
73 | 'NaCl @ 298K':([0,],[''],[(5.6402,5.6402,5.6402,90,90,90),],0,(1.0,10,10.)), |
---|
74 | 'NaCl even hkl only':([2,],[''],[(2.8201,2.8201,2.8201,90,90,90),],0,(1.0,10,10.)), |
---|
75 | 'Ag behenate':([6,],[''],[(1.0,1.0,58.380,90,90,90),],0,(7.0,5,1.)), |
---|
76 | 'Spun Si 3600 line/mm grating':([6,],[''],[(1.0,1.0,2777.78,90,90,90),],2,(200.,5,1.)), |
---|
77 | 'Spun Si 7200 line/mm grating':([6,],[''],[(1.0,1.0,1388.89,90,90,90),],1,(200.,5,1.)), |
---|
78 | 'Pt @ 298K':([0,],[''],[(3.9231,3.9231,3.9231,90,90,90),],0,(1.0,5,1.)), |
---|
79 | 'LaB6 & CeO2':([2,0],['','',],[(4.1569162,4.1569162,4.1569162,90,90,90),(5.411651,5.411651,5.411651,90,90,90)],0,(1.0,2,1.)), |
---|
80 | } |
---|
81 | |
---|
82 | # this should not be duplicated in the UserCalibrants.py file: |
---|
83 | try: |
---|
84 | import UserCalibrants as userFile |
---|
85 | Calibrants.update(userFile.Calibrants) |
---|
86 | except: |
---|
87 | pass |
---|