McXtrace logo

McXtrace - An X-ray ray-trace simulation package

Synchrotron SOLEIL DTU Physics

McXtrace

About McXtrace
 Publications
 Project Partners
 Project People
 Goal

Download
 Components

Documentation
 Manual
 Commands
 Wiki (GitHub)
 Tutorial

Mailing list

Links

Search

Code-repository (GitHub)

Report bugs (GitHub)


McXtrace: MAXIV_Bloch

[ Identification | Description | Input parameters | Output parameters | Links ]

The MAXIV_Bloch Instrument

Bloch high resolution photoelectron spectroscopy beamline under development at the MAX IV synchrotron.

Identification

  • Site: MAXIV
  • Author: Kristian Soerensen and Philip Smith (s154443@win.dtu.dk)
  • Origin: DTU Physics
  • Date: June 2018

Description

This is a simple simulation of the BLOCH beamline at MAXIV.

Two kinds of paramters are given, P and P2.
P Parameters are the ones used in the general simulation, i.e when the FOI is intensity ect.
P2 parameters are used when the strain of the beamline is the FOI, i.e what happens when the distances change.

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
Wanted_energy0.378
m Diffraction order, used for Monochromator angle. (fungerer ikke).3
cff Constant cff value for the grating.0
r_rhol/mmRuling density of the grating.800
blazed0
blazed_angle0
SourceChoice0/1Choice of souce. For easy simulation do Flat souce [0],in nonzero, the undulator is used.0
E0keVThe centreal energy to sample from source model.0.6
dEkeVSpectral width to sample from source model.0.4
undK Undulator K parameter, overrides E0, only used if SourceChoice is non zero.5.6
Nper Number of magnetic periods in the undulator.187
grating_mode0/1If [1] the NIM mode will be used. If [0] cPGM. Otherwise, optimum will be calculated.-1
zm_mirror2mdistance(z) to mirror2 from previous component.2
R0_M2 Constant relectivity of Mirror2 [0;1].1
R0_PG1
zm_mirror1mdistance(z) to first mirror from previous component.14
theta_mirror1mglancing angle of first mirror.3
R0_M1 Constant relectivity of Mirror2 [0;1].1
zm_mirror3mdistance(z) to mirror3 from previous component.1
theta_mirror3degglancing angle of mirror3.3
R0_M3 Constant relectivity of Mirror3 [0;1].1
zm_mirror4mdistance(z) to mirror4 from previous component.19
theta_mirror4degglancing angle of mirror4.3
R0_M4 Constant relectivity of Mirror4 [0;1].1
zm_ExitSlitmdistance from Mirror4 to exit slit.9
xwidth_ExSlitmxwidth of exit slit.1e-2
yheight_ExSlitmyheight of exit slit.1e-2
Exitslit_yshift y-shift of the exit slit.0.005
R0_PG1
verbose0
perfectMirrors0
Error0
angle_grating6
mirror2_angle6

Links

  • Source code for MAXIV_Bloch.instr.
  • Bloch_MAX IV description:
  • https://www.maxiv.lu.se/accelerators-beamlines/beamlines/bloch/
  • McXtrace komponent definition:
  • http://www.mcxtrace.org
  • Further reading:

[ Identification | Description | Input parameters | Output parameters | Links ]

Generated on 2022-02-07 21:31:39


Last Modified: Wednesday, 11-May-2022 22:46:11 CEST
Search website mailinglist archive GitHub repos