McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; ESS Niels Bohr Institute DTU Physics NEXMAP

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding
 Screenshots

Download
 Components
 Linux Install (deb/rpm)
 Mac OS X Install
 Unix Install (src code)
 Windows Install
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 McStas manual
 FAQ
 Known problems
 Publications
 C Compilers
 Other
 Tools
 Tutorial

Workshops/conferences

Developments

Links

Report bugs

Git

McStas Ubuntu live-dvd


McStas: Tomography Instrument at Templates

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

The Tomography Instrument

Instrument to study tomographic imaging by means of the new V_sample feature of OFF shape samples.

Identification

  • Site: Templates
  • Author: Peter Willendrup, based on work by Reynald ARNERIN
  • Origin: Risoe
  • Date: June 20th, 2008
  • Version: $Revision$

Description

Instrument to study tomographic imaging by means of the new V_sample feature of OFF shape samples.

Example: mcrun Tomography.instr offfile=bunny.off -n1e4 -N18 omega=0,340 -d TomoScan
(Note that to achieve proper statistics for tomographic reconstruction, MUCH higher ncounts
 are needed)

Use the provided Matlab tomo_recon.m function (requires imaging toolbox, PGPLOT output data
and a Unix/Mac) in the tools/matlab folder to reconstruct a 3D volume of the object. Use e.g. 
isosurface to do thresholding for extraction of the object surface.


Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
geometry string Name of the OFF file describing the sample shape "socket.off"
omega deg Sample rotation around y 0
sigma_abs barn Sample absorption xs 100
frac_scatt 1 Fraction of neutrons to scatter in the sample 0
div_v angular height [deg] Source vertical divergence 1e-4
div_h angular width [deg] Source horisontal divergence 1e-4
source_w m Source width 0.4
source_h m Source height 0.2
det_w m Detector width 0.4
det_h m Detector height 0.2
opts string Detector Monitor_nD options "x bins=80 y bins=40"

Links

  • Source code for Tomography.instr.
  • http://shape.cs.princeton.edu/benchmark/documentation/off_format.html

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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Wed Apr 19 10:57:33 2017


Last Modified: Wednesday, 19-Apr-2017 12:57:33 CEST
Search website mailinglist archive GitHub repos