McXtrace logo

McXtrace - An X-ray ray-trace simulation package

ESRF; SAXSLAB Niels Bohr Institute DTU Physics

McXtrace

Download
 Components
 Linux Installation (deb/rpm)
 Mac OSX Installation
 Unix Install (src code)
 Windows Installation

Project Status
 Project Partners
 Project People
 Goal

Mailing list

Links

Publications

Minutes of Meetings

McXtrace Art

About McXtrace

Documentation
 Commands
 Tutorial

Search


McXtrace: Shadow_input Component

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

The Shadow_input Component

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

Identification

  • Author: Andrea Prodi
  • Origin: Risoe/ILL
  • Date: November 21, 2011
  • Version: $Revision $

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 0
bufsize records Size of x-ray input buffer 10000
repeat_count 1 Number of times to repeat each x-ray read 1

Output parameters

Name Unit Description Default
filename  
hfile  
ibuf  
npoint  
reclen  
ncol  
iflag  
size  
pos  
rep  
finished int Set to 1 when the last x-ray has been read  
count  
count2  

Links


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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Thu Mar 5 10:05:12 2020


Last Modified: Thursday, 05-Mar-2020 11:05:12 CET
Search website mailinglist archive SVN repos McCode Trac