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)


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-02-07 21:31:39


Last Modified: Wednesday, 11-May-2022 22:46:11 CEST
Search website mailinglist archive GitHub repos