File: lens1.xml

package info (click to toggle)
python-xrt 1.6.0%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 17,572 kB
  • sloc: python: 59,424; xml: 4,786; lisp: 4,082; sh: 22; javascript: 18; makefile: 17
file content (175 lines) | stat: -rw-r--r-- 7,209 bytes parent folder | download | duplicates (2)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<?xml version="1.0"?>
<Project>
<Beams type="prop">
	<None type="flat"></None>
	<geometricSource01beamGlobal01 type="flat"></geometricSource01beamGlobal01>
	<doubleParaboloidLens01beamGlobal01 type="flat"></doubleParaboloidLens01beamGlobal01>
	<doubleParaboloidLens01beamLocal101 type="flat"></doubleParaboloidLens01beamLocal101>
	<doubleParaboloidLens01beamLocal201 type="flat"></doubleParaboloidLens01beamLocal201>
	<screen01beamLocal01 type="flat"></screen01beamLocal01>
</Beams>
<Materials type="prop">
	<material01 type="value">
		<properties type="prop">
			<elements type="param">Be</elements>
			<quantities type="param">None</quantities>
			<kind type="param">lens</kind>
			<rho type="param">1.85</rho>
			<t type="param">0</t>
			<table type="param">Chantler total</table>
			<efficiency type="param">None</efficiency>
			<efficiencyFile type="param">None</efficiencyFile>
			<name type="param">None</name>
		</properties>
		<_object type="object">xrt.backends.raycing.materials.Material</_object>
	</material01>
</Materials>
<beamLine type="value">
	<properties type="prop">
		<azimuth type="param">0.0</azimuth>
		<height type="param">0.0</height>
		<alignE type="param">9000.0</alignE>
	</properties>
	<_object type="object">xrt.backends.raycing.BeamLine</_object>
	<geometricSource01 type="value">
		<properties type="prop">
			<bl type="param">beamLine</bl>
			<name type="param">None</name>
			<center type="param">(0, 0, 0)</center>
			<pitch type="param">0</pitch>
			<yaw type="param">0</yaw>
			<nrays type="param">100000</nrays>
			<distx type="param">normal</distx>
			<dx type="param">0.1</dx>
			<disty type="param">None</disty>
			<dy type="param">0</dy>
			<distz type="param">normal</distz>
			<dz type="param">0.1</dz>
			<distxprime type="param">normal</distxprime>
			<dxprime type="param">0.0</dxprime>
			<distzprime type="param">normal</distzprime>
			<dzprime type="param">0.</dzprime>
			<distE type="param">lines</distE>
			<energies type="param">(9000.0,)</energies>
			<polarization type="param">horizontal</polarization>
			<filamentBeam type="param">False</filamentBeam>
			<uniformRayDensity type="param">False</uniformRayDensity>
		</properties>
		<_object type="object">xrt.backends.raycing.sources.GeometricSource</_object>
		<shine type="prop">
			<parameters type="prop">
				<toGlobal type="param">True</toGlobal>
				<withAmplitudes type="param">False</withAmplitudes>
				<accuBeam type="param">None</accuBeam>
			</parameters>
			<_object type="object">xrt.backends.raycing.sources.GeometricSource.shine</_object>
			<output type="prop">
				<beamGlobal type="param">geometricSource01beamGlobal01</beamGlobal>
			</output>
		</shine>
	</geometricSource01>
	<doubleParaboloidLens01 type="value">
		<properties type="prop">
			<bl type="param">beamLine</bl>
			<name type="param">None</name>
			<center type="param">[0, 25000, 0]</center>
			<pitch type="param">np.pi/2</pitch>
			<roll type="param">0</roll>
			<yaw type="param">0</yaw>
			<positionRoll type="param">0</positionRoll>
			<extraPitch type="param">0</extraPitch>
			<extraRoll type="param">0</extraRoll>
			<extraYaw type="param">0</extraYaw>
			<rotationSequence type="param">RzRyRx</rotationSequence>
			<extraRotationSequence type="param">RzRyRx</extraRotationSequence>
			<material type="param">material01</material>
			<alpha type="param">None</alpha>
			<limPhysX type="param">[-0.65, 0.65]</limPhysX>
			<limOptX type="param">None</limOptX>
			<limPhysY type="param">[-0.65, 0.65]</limPhysY>
			<limOptY type="param">None</limOptY>
			<isParametric type="param">False</isParametric>
			<shape type="param">rect</shape>
			<gratingDensity type="param">None</gratingDensity>
			<shouldCheckCenter type="param">False</shouldCheckCenter>
			<alarmLevel type="param">None</alarmLevel>
			<t type="param">0.1</t>
			<focus type="param">0.1</focus>
			<zmax type="param">0.5</zmax>
			<nCRL type="param">(2000, 9000)</nCRL>
			<targetOpenCL type="param">None</targetOpenCL>
			<precisionOpenCL type="param">float64</precisionOpenCL>
		</properties>
		<_object type="object">xrt.backends.raycing.oes.DoubleParaboloidLens</_object>
		<multiple_refract type="prop">
			<parameters type="prop">
				<beam type="param">geometricSource01beamGlobal01</beam>
				<needLocal type="param">True</needLocal>
				<returnLocalAbsorbed type="param">None</returnLocalAbsorbed>
			</parameters>
			<_object type="object">xrt.backends.raycing.oes.DoubleParaboloidLens.multiple_refract</_object>
			<output type="prop">
				<beamGlobal type="param">doubleParaboloidLens01beamGlobal01</beamGlobal>
				<beamLocal1 type="param">doubleParaboloidLens01beamLocal101</beamLocal1>
				<beamLocal2 type="param">doubleParaboloidLens01beamLocal201</beamLocal2>
			</output>
		</multiple_refract>
	</doubleParaboloidLens01>
	<screen01 type="value">
		<properties type="prop">
			<bl type="param">beamLine</bl>
			<name type="param">None</name>
			<center type="param">[0, 27000, 0]</center>
			<x type="param">auto</x>
			<z type="param">auto</z>
			<compressX type="param">None</compressX>
			<compressZ type="param">None</compressZ>
		</properties>
		<_object type="object">xrt.backends.raycing.screens.Screen</_object>
		<expose type="prop">
			<parameters type="prop">
				<beam type="param">doubleParaboloidLens01beamGlobal01</beam>
			</parameters>
			<_object type="object">xrt.backends.raycing.screens.Screen.expose</_object>
			<output type="prop">
				<beamLocal type="param">screen01beamLocal01</beamLocal>
			</output>
		</expose>
	</screen01>
</beamLine>
<plots type="value">
</plots>
<run_ray_tracing type="prop">
	<_object type="object">xrt.runner.run_ray_tracing</_object>
	<plots type="param">plots</plots>
	<repeats type="param">1</repeats>
	<updateEvery type="param">1</updateEvery>
	<pickleEvery type="param">None</pickleEvery>
	<energyRange type="param">None</energyRange>
	<backend type="param">raycing</backend>
	<beamLine type="param">beamLine</beamLine>
	<threads type="param">1</threads>
	<processes type="param">1</processes>
	<generator type="param">None</generator>
	<generatorArgs type="param">[]</generatorArgs>
	<generatorKWargs type="param">auto</generatorKWargs>
	<globalNorm type="param">0</globalNorm>
	<afterScript type="param">None</afterScript>
	<afterScriptArgs type="param">[]</afterScriptArgs>
	<afterScriptKWargs type="param">{}</afterScriptKWargs>
</run_ray_tracing>
<description>This example has three double-parabolic CRLs. To visualize them nicely and to see that they do focus x-rays, start Glow, and:

- In Navigation select all 6 lens surfaces in the column "Surface" (if hidden, enlarge the window) and center the view at one of them.

- In Transformation set all 3 Log scales equal to 4. 

- In Color / Color Axis select xzprime -- the axial divergence, :math:`(xz)'=\sqrt{x'^2+ z'^2}`.

- Rotate and zoom the view as convenient.

- Observe with a close zoom that the footprint points deviate from the surface because the surfaces are too simplified by OpenGL. To make the surfaces more precise, put two equal larger numbers as tessellation parameters in Scene. This will result in better surfaces but also slower 3D manipulation of the scene.


 </description>
</Project>