McXtrace logo

McXtrace - An X-ray ray-trace simulation package

Synchrotron SOLEIL DTU Physics

McXtrace
site 2

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
refractionIf nonzero, refraction is enabled. (0/1)1
fixed_deltaUse a fixed delta to compute refraction - useful for debugging. ( )0
material_datafileFile 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"
geometryFile containing the polygon definition of a general shape object. When xwidth is also given, the object is rescaled accordingly (OFF/PLY)0
xwidthWidth of block. (m)0
yheightHeight of block. (m)0
zdepthThickness of block. (m)0
radiusRadius of cylinder or sphere. (m)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 2023-12-19 19:49:14


Last Modified: Tuesday, 17-Sep-2024 05:33:15 CEST
Search website mailinglist archive GitHub repos