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)


McStas: Abs_objects

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

The Abs_objects Component

Release: McXtrace 1.1 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 tries to scale the object to fill that dimension. This is an experimental option.

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
refraction Flag to enable refraction at interfaces.1
objects Input file where the off-shapes are defined."input_small.dat"
geometry0

Output parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault

Links


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

Generated on 2022-02-07 20:46:44


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