8787* - Electron beam sizes are nominal SOLEIL short straight section values
8888* (beta_x=2.19 m, beta_y=1.09 m, emittance 3.74 nm rad, 1% coupling).
8989*
90- * %Example: PX1_E0=12.67 Detector: PX1_sample_monitor_I=1.232e+20
90+ * %Example: PX1_E0=12.67 Detector: PX1_sample_monitor_I=1.8992e+21
9191*
9292* %Parameters
9393* PX1_E0: [keV] Energy selected at the Undulator (reference energy 12.67 keV, standard range 6.5-15 keV).
@@ -213,14 +213,14 @@ COMPONENT PX1_vfm = Mirror_curved(
213213 width=0.1,
214214 radius=PX1_vfm_radius)
215215AT (0,0,0) RELATIVE PX1_vfm_location
216- ROTATED (0,-PX1_mirror_grazing_angle,0) RELATIVE PX1_vfm_in_xz_plane
216+ ROTATED (0,-PX1_mirror_grazing_angle*RAD2DEG ,0) RELATIVE PX1_vfm_in_xz_plane
217217EXTEND %{
218218 flag_vfm=SCATTERED;
219219%}
220220
221221COMPONENT PX1_vfm_takeoff = COPY(PX1_vfm_location)
222222AT (0,0,0) RELATIVE PX1_vfm_in_xz_plane
223- ROTATED (-2*PX1_mirror_grazing_angle, 0, 0) RELATIVE PX1_vfm_location
223+ ROTATED (-2*PX1_mirror_grazing_angle*RAD2DEG , 0, 0) RELATIVE PX1_vfm_location
224224
225225// KB 2nd mirror: horizontal focusing, at 1.95 m from the sample
226226COMPONENT PX1_hfm_location = COPY(PX1_vfm_location)
@@ -232,14 +232,14 @@ COMPONENT PX1_hfm = Mirror_curved(
232232 width=0.1,
233233 radius=PX1_hfm_radius)
234234AT (0,0,0) RELATIVE PX1_hfm_location
235- ROTATED (0,-PX1_mirror_grazing_angle,0) RELATIVE PX1_hfm_location
235+ ROTATED (0,-PX1_mirror_grazing_angle*RAD2DEG ,0) RELATIVE PX1_hfm_location
236236EXTEND %{
237237 flag_hfm=SCATTERED;
238238%}
239239
240240COMPONENT PX1_hfm_takeoff = COPY(PX1_vfm_location)
241241AT (0,0,0) RELATIVE PX1_hfm_location
242- ROTATED (0,-2*PX1_mirror_grazing_angle,0) RELATIVE PX1_hfm_location
242+ ROTATED (0,-2*PX1_mirror_grazing_angle*RAD2DEG ,0) RELATIVE PX1_hfm_location
243243
244244// Sample ----------------------------------------------------------------------
245245// We centre the beam after the KB. Sample position (SG) at 23.846 m.
0 commit comments