[ Identification | Description | Input parameters | Links ]

The Source_spectra Component

Specialized X-ray source for reading in SPECTRA 10 source definitions

Identification

Description

This is a source component for connecting SPECTRA 10-output files with McXtrace.
json-style SPECTRA 11 output files are not yet supported.

SPECTRA is an application software to calculate optical properties of synchrotron
radiation (SR) emitted from bending magnets, wigglers (conventional and elliptical)
and undulators (conventional, helical, elliptical and figure-8). Calculations
of radiation from an arbitrary magnetic field distribution are also available.
Parameters on the electron beam and the source can be edited completely on
graphical user interfaces (GUIs) and it is possible to show the calculation
result graphically. The energy spectrum and radiation power after transmitting
various filters and convolution of detector's resolution are also available.
See SPECTRA.

If the source is symmetric in x and/or y it is possible to speed up the spectra
calculations by only including one half-plane or quadrant. The other side/quadrants will then
be mirrored by McXtrace.

%BUGS
Absolute intensity of 4D (x,y,x',y') is nor correctly normalized.

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
spectra_stem_xstrFilename stem of x-projection of source distribution. -n.xxx will be added where n is a serial number and xxx spectra_suffix.""
spectra_stem_ystrFilename stem of y-projection of source distribution. -n.xxx will be added where n is a serial number and xxx spectra_suffix.""
spectra_stemstrFilename stem of x,x',y,y'-source distribution distribution. -n.xxx will be added where n is a serial number and xxx spectra_suffix.""
spectra_suffixstrSuffix of spectra output files."dsc"
E0keVMean energy of X-rays.0
dEkeVEnergy spread of X-rays.0
EminkeVEnergy of low end of the Spectra-calculated data.
EmaxkeVEnergy of high end of the Spectra-calculated data.
nEintNumber of steps in the spectra-calculations.
randomphase0/1If !=0 the photon phase is chosen randomly.1
phaseradValue of the photon phase (only used if randomphase==0).0
nxintNumber of grid points along x in datafiles. If zero this is computed from the files.0
nyintNumber of grid points along y in datafiles. If zero this is computed from the files.0
npxintNumber of grid points along x' in datafiles. If zero this is computed from the files.0
npyintNumber of grid points along y' in datafiles. If zero this is computed from the files.0
initial_serialintFirst serial number of the series of spectra files.1
symmetricx0/1If nonzero the source is mirrored in the x-axis. This to allow smaller spectra-calculations.0
symmetricy0/1If nonzero the source is mirrored in the y-axis. This to allow smaller spectra-calculations.0
verbose0/1If non-zero output more warning messages.0
flag4d0/1Use either (0) x,y-projections or (1) full 4D x,y,x',y' datafiles.0
noinit0/1Do no initialize the component. Can be usefiul in conjunction with a deactivating WHEN-clause.0
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

Generated on mcxtrace 3.5.24