McXtrace logo

McXtrace - An X-ray ray-trace simulation package

ESRF; SAXSLAB Niels Bohr Institute DTU Physics

McXtrace

Project Status
 Project Partners
 Project People
 Goal

Installation
 Mac OSX Installation
 Windows Installation

Mailing List

Links

Publications

Minutes of Meetings

McXtrace Art

About McXtrace

Documentation
 Commands
 Tutorial

Download
 Components

Search


McXtrace: Shadow_output Component

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

The Shadow_output Component

Write x-ray state parameters to SHADOW x-ray event file.

Identification

  • Author: Andrea Prodi
  • Origin: Risoe/ILL
  • Date: November 21, 2011
  • Version: $Revision $

Description

Detector-like component writing x-ray state parameters to a
SHADOW x-ray file. Used to interface McXtrace components or
simulations into SHADOW. Each neutron is 104 bytes.

Note that when standard output is used, as is the default, no
monitors or other components that produce terminal output must be
used, or the x-ray output from this component will become
corrupted.

Example: Shadow_output(file="MySource.vit", bufsize = 10000, progress = 1)

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
file string Filename of x-ray file to write. Default is standard output 0
bufsize records Size of x-ray output buffer 1000
progress flag If not zero, output dots as progress indicator 0

Output parameters

Name Unit Description Default
hfile  
obuf  
pos  
p_out  
p2_out  

Links


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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Mon Apr 24 19:45:24 2017


Last Modified: Monday, 24-Apr-2017 21:45:24 CEST
Search website mailinglist archive SVN repos McCode Trac