raygen - generate rays
raygen options
raygen uses an IRAF compatible parameter file.
It takes the following parameters
The Lua script which specifies the sources.
Lua statements to be passed to the source script. These are placed in a function called `override', which may be called by the source script.
A Lua script which defines the entrance aperture to illuminate.
Lua statements to be passed to the entrance_aperture script.
These are placed in a function called override
, which may be
called by the script.
The output file. If it is the string stdout
, the rays are written
to the UNIX standard output stream.
A file to which logging output should be written. If it is the
string stderr
the rays are written to the UNIX standard error
stream.
This determines how raygen knows when to stop outputting rays.
It determines what the limit
parameter specifies. It can one of
the following values:
rays
the number of rays
krays
the number of rays, in units of one thousand rays
Mrays
the number of rays, in units of one million rays
sec
the time to run, in seconds
ksec
the time to run, in units of one thousand seconds
r/cm2
rays per square centimeter at the entrance aperture
r/mm2
rays per square millimeter at the entrance aperture
The quantity of whatever limit_type
specifies that raygen must
generate.
The node Z position (mm) from which to measure the off-axis source angle (theta).
The first seed for the random number generator. It must be in the range [1,2147483562].
The second seed for the random number generator. It must be in the range [1,214748339]
The random number block to start at. It must be in the range [0,1048575].
How the rays should be distributed at the entrance aperture.
Currently, only random
is supported.
A list of debug flags; none are presently available.
Output the version to the UNIX standard error stream and exit.
Output a help message and exit.
For more information, see the full manual.
Copyright 2006 Smithsonian Astrophysical Observatory
This software is released under the GNU General Public License. You may find a copy at
http://www.fsf.org/copyleft/gpl.html
This documents version 2.6.2 of raygen.
Diab Jerius ( djerius@cfa.harvard.edu )