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

[ Identification | Description | Input parameters | Links ]

The Filter Component

Release: McXtrace 1.1 Block of an attenuating material

Identification

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

Description

A chunk of attenuating material. Attenuation is computed through
the effective length travelled within the material.
No scattering is modelled at present.

Filter shape may be a cylinder, a sphere, a box or any other shape.
box/plate:       xwidth x yheight x zdepth
cylinder:        radius x yheight (along Y axis)
sphere:          radius
any shape:       geometry=OFF/PLY_file

Example: Filter(material_datafile="Ge.txt",
geometry="wire.ply",xwidth=0.02,yheight=0,zdepth=0)
Example: Filter(material_datafile="Ge.txt",xwidth=0.02,yheight=0.02, zdepth=1e-4)
Example: Filter(material_datafile="Ge.txt",radius=1e-4,yheight=0.02)
Example: Filter(material_datafile="Ge.txt",radius=1e-3, refraction=1)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
refraction0/1If nonzero, refraction is enabled. (Only functional for basic geometries, does not yet work for OFF)0
fixed_delta0/1Use a fixed delta to compute refraction - useful for debugging.0
material_datafilestrFile where the material parameters for the filter may be found. Format is similar to what may be found off the NIST website. [Be.txt]"Be.txt"
geometrystrFile containing the polygon definition of a general shape object. When xwidth is also given, the object is rescaled accordingly (OFF/PLY)0
xwidthmWidth of block.0
yheightmHeight of block.0
zdepthmThickness of block.0
radiusmRadius of cylinder or sphere.0
mu_colidxColumn index to pick up absorption length mu, counted from 0. Use with non-standard input file, e.g. 2-3 column files. -1 means attempt autodetect.-1
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