About Genesis
Input Parameters
Input Files
Getting Started
3rd Party Programs
Input File Library
Other Links

The Radiation and Particle Output File

As an addition to the main output file the distribution of the radiation field or the electron beam can be written to binary files. The file names are derived from the file name of the main output file by adding the extension '.fld' and '.par', respectively. In most cases these files are large even in their binary format (ASCII output would increase the file size by roughly a factor of 3). The output order is similar to the output of the main output file with a consecutive output along the undulator. The output for a single slice at a certain position within the undulator is referred to as a record in z. All z records of a single slices form a record in t. The total number of z- and t-records are given in the header of the main output file. Harmonics are written in individual files and have a modified extension which is '.fld#' where the pound sign is the harmonic number.

Each particle record in z starts with the energy of all particles followed by the output of the particle phases, positions in x and y and the momenta in x and y. The momenta are normalized to mc.

The radiation field record contains the real part of the discretized field and then the imaginary part. The field is normalized so that the square sum of the real and imaginary part yields the field intensity with respect to a unit area. To obtain the real intensity each value has to be devided by the area each grid point covers. The order of the grid points starts with the lower left corner (x,y < 0) along the x-axis. At the end of each row in x it jumps back in x and advance y by one step.