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

Mailing list

Search

Documentation
 Manual
 Commands
 Wiki (GitHub)
 Tutorial

Links

Report bugs (GitHub)

Code-repository (GitHub)


McXtrace: File

[ Identification | Description | Input parameters | Links ]

The File Component

File.comp - allows to generate instrument/component input-files from METADATA blocks

Identification

  • Author: Greg Tucker
  • Origin: ESS
  • Date: 2024

Description

File.comp - allows to generate instrument/component input-files
from METADATA blocks - see test_File.instr for an example.

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
filenamestringFilename for output-file generated from metadata block0
metadatakeystringMETADATA-key for looking up file content (may belong to File instance or another comp)
keep1Flag to indicate if file should be kept post-simulation0
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


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

Generated on mcxtrace 3.10.2


Last Modified: Monday, 02-Nov-2026 21:43:07 CET
Search website mailinglist archive GitHub repos