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

Mailing list

Search

Documentation
 Manual
 Commands
 Wiki (GitHub)
 Tutorial

Links

Report bugs (GitHub)

Code-repository (GitHub)


McXtrace: Attenuating_mask

[ Identification | Description | Input parameters | Links ]

The Attenuating_mask Component

Attenuating_mask

Identification

  • Author: Matteo Busi, Erik B Knudsen
  • Origin: DTU Physics
  • Date: November 2017

Description

This component models a mask of energy dependent attenuation. This consists of a rectangular grid of size
"xwidth*yheight", composed of multiple disks of finite thickness "zdepth" of an attenuating material "att_file",
width "blocks_width" and period "blocks_dist"(i.e. distance between the center of each disk).
If holed_mask mode is turned the model of the component is the opposite, i.e. the mask is composed of an
attenuating slab of finite thickness and of size "xwidth*yheight", with apertures of desired width and period.

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
att_file".txt"File that contains the object information. (Default: "W.txt")"W.txt"
xwidthmHorizontal width of the mask. (Default: 1e-1)1e-1
yheightmVertical height of the mask. (Default: 1e-1)1e-1
zdepthmThickness of the absorbing mask. (Default: 3e-3)10e-6
blocks_xwidthmWidth of the absorbing blocks in the x-direction. (Default: 3e-3)1e-3
blocks_xdistmDistance between absorbing blocks in the x-direction. (Default: 10e-3)2.5e-3
blocks_yheightmHeight of the absorbing blocks in the y-direction. (Default: 3e-3)1e-3
blocks_ydistmDistance between absorbing blocks in the y-direction. (Default: 10e-3)2.5e-2
holed_mask1Set to 1 if the mask is a holed grid. (Default: 0)0
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


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

Generated on mcxtrace 3.10.2


Last Modified: Monday, 02-Nov-2026 22:21:08 CET
Search website mailinglist archive GitHub repos