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

[ Identification | Description | Input parameters | Links ]

The Filter Component

Block of an attenuating material

Identification

  • Site:
  • 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)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
refraction0/1If nonzero, refraction is enabled.1
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
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links

  • Source code for Filter.comp.
  • Meshlab https://www.meshlab.net/
  • Geomview and Object File Format (OFF)
  • Java version of Geomview (display only) jroff.jar
  • qhull
  • Powercrust https://www.cs.ucdavis.edu/~amenta/powercrust.html
  • material datafile obtained from http://physics.nist.gov/cgi-bin/ffast/ffast.pl

[ 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