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

[ Identification | Description | Input parameters | Links ]

The Abs_objects Component

Blocks of attenuating material in off format

Identification

  • Site:
  • 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 | Input parameters | Links ]

Generated on mcxtrace 3.5.27


Last Modified: Tuesday, 29-Apr-2025 16:44:04 CEST
Search website mailinglist archive GitHub repos