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_nput McXtrace Component

9.2  The Shadow_input McXtrace Component

Release: McXtrace 0.1

Read x-ray state parameters from SHADOW x-ray event file.

Identification

  • Author: Andrea Prodi

  • Origin: Risoe/ILL

  • Date: November 21, 2011

Description

Source-like component reading x-ray state parameters from a SHADOW x-ray event file. Used to interface McXtrace components or simulations into SHADOW.

Example: Shadow_input(file=”MySource.00”, bufsize = 10000, repeat_count = 2)

Input parameters

Parameters in boldface are required; the others are optional.

Name

Unit

Description

Default

file

string

Filename of x-ray file to read. Default (NULL) is standard input. Empty string ”” unactivates component

””

bufsize

records

Size of x-ray input buffer

10000

repeat_count

1

Number of times to repeat each x-ray read

1

Links

  • Component source code found in file Shadow_input.comp.

Reading input from Shadow

Documentation pending


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