McXtrace logo

McXtrace - An X-ray ray-trace simulation package

Synchrotron SOLEIL DTU Physics

McXtrace

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)


The Shadow_utput McXtrace Component

9.3  The Shadow_output McXtrace Component

Release: McXtrace 0.1

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

Identification

  • 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 photon 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

””

bufsize

records

Size of x-ray output buffer

1000

progress

flag

If not zero, output dots as progress indicator

0

Links

  • Component source code found in file Shadow_output.comp.

Saving the photon rays for use with SHADOW

Documentation pending.


Last Modified: Monday, 05-Oct-2026 10:48:08 CEST
Search website mailinglist archive GitHub repos