-
Notifications
You must be signed in to change notification settings - Fork 78
Expand file tree
/
Copy pathxray.py
More file actions
37 lines (33 loc) · 774 Bytes
/
xray.py
File metadata and controls
37 lines (33 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
"""
"""
from ._utils import _cd
from ..unitquantity import UnitConstant
Angstrom_star = UnitConstant(
'Angstrom_star',
_cd('Angstrom star'),
symbol='A*',
u_symbol='Å*'
)
d_220 = a_Si_220 = silicon_220_lattice_spacing = UnitConstant(
'silicon_220_lattice_spacing',
_cd('{220} lattice spacing of silicon'),
symbol='d_220',
u_symbol='d₂₂₀'
)
Cu_x_unit = UnitConstant(
'Cu_x_unit',
_cd('Cu x unit'),
symbol='CuKalpha_1',
u_symbol='CuKα₁'
)
a = a_Si_100 = lattice_parameter_of_silicon = UnitConstant(
'lattice_parameter_of_silicon',
_cd('lattice parameter of silicon')
)
Mo_x_unit = UnitConstant(
'Mo_x_unit',
_cd('Mo x unit'),
symbol='MoKalpha_1',
u_symbol='MoKα₁'
)
del UnitConstant, _cd