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: Abs_objects

[ Identification | Description | Input parameters | Links ]

The Abs_objects Component

Release: McXtrace 1.1 Blocks of attenuating material in off format

Identification

  • Author: Erik Knudsen
  • Origin: DTU Physics
  • Date: Jan 24, 2011

Description

This component is a model of 1 or more off-shaped blocks attenuating the x-ray beam.
Which shapes are present and their relative positions are described in a file of the follwing format:
#objects
Material-filename  OFF-filename x y z xwidth yheight zdepth
...

An example is;
2
Be.txt  cube.off  0 0.01 0    0 0 0
Rh.txt  chess.off 0 -0.01 0   0 0 0

A xwidth etc of zero means use whatever dimensions are in the off/ply file.
If xwidth (or yheight or zdepth) is nonzero, the component scales the object
to fill that dimension. The xyz coordinates indicate the object shift.

Example: Abs_objects(objects="input_abs_objects_template.dat")

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
refractionstrFlag to enable refraction at interfaces.1
objectsstrInput file where the off-shapes are defined."input_abs_objects_template.dat"
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


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

Generated on mcxtrace 3.10.2


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