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

Download
 Components
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)


McStas: Tomography

[ Identification | Description | Input parameters | Links ]

The Tomography Instrument

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

Identification

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

Description

Instrument to study tomographic imaging by means of the 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.
NameUnitDescriptionDefault
geometrystringName of the OFF file describing the sample shape"socket.off"
omegadegSample rotation around y0
sigma_absbarnSample absorption xs100
frac_scatt1Fraction of neutrons to scatter in the sample0
div_vdegSource vertical divergence (angular height)1e-4
div_hdegSource horisontal divergence (angular width)1e-4
source_wmSource width0.4
source_hmSource height0.2
det_wmDetector width0.4
det_hmDetector height0.2
optsstringMonitor_nD options string"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 | Links ]

Generated on 2023-09-19 20:01:36


Last Modified: Tuesday, 16-Apr-2024 20:05:20 CEST
Search website mailinglist archive GitHub repos