McXtrace logo

McXtrace - An X-ray ray-trace simulation package

Synchrotron SOLEIL Niels Bohr Institute DTU Physics

McXtrace

About McXtrace
 Publications
 Project Partners
 Project People
 Goal

Download
 Components

Documentation
 Wiki (GitHub)
 Commands
 Manual
 Tutorial

Mailing list

Links

Code-repository (GitHub)

Search


McXtrace: Shadow_output

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

The Shadow_output Component

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

Identification

  • Site:
  • Author: Andrea Prodi
  • Origin: Risoe/ILL
  • Date: November 21, 2011

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.
NameUnitDescriptionDefault
fileFilename of x-ray file to write. Default is standard0
bufsizeSize of x-ray output buffer [records]1000
progressIf not zero, output dots as progress indicator [flag]0

Output parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
filename
hfile
obuf
pos
reclen
ncol
i
iflag
p_out
p2_out

Links


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

Generated on 2022-01-24 12:07:05


Last Modified: Monday, 24-Jan-2022 12:07:05 CET
Search website mailinglist archive GitHub repos