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_input

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

The Shadow_input Component

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

Identification

  • Site:
  • 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.
NameUnitDescriptionDefault
fileFilename of x-ray file to read. Default (NULL) is0
bufsizeSize of x-ray input buffer [records]10000
repeat_countNumber of times to repeat each x-ray read [1]1

Output parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
filename
hfile
ibuf
npoint
reclen
ncol
iflag
size
pos
rep
finishedSet to 1 when the last x-ray has been read [int]
count
count2

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