quef - apply an energy dependent weighting factor to rays
quef parameters
quef processes a bpipe format stream of rays, applying a multiplicative factor to a ray's weight based upon the ray's energy. The factors are interpolated from a user provided lookup table.
Interpolation within the lookup table is done using either a linear or logarithmic algorithm, determined by the xtype and ytype parameters. Rays whose energies are outside of the table have their weights set to zero.
The lookup table must be an RDB formatted file with at least three columns. One column provides the multiplicative factor; the other two describe the energy range over which the factor is valid. The interpolation schemes assume that the tabulated factors are associated with the midpoints of the listed ranges. The values of the factor at the bin edges are determined via linear interpolation between the values at the centers of neighboring bins.
quef uses an IRAF-compatible parameter interface.
The name of the input ray stream. If it is the string stdin
,
queff will read rays from the standard input stream.
The name of the output ray stream. If it is the string stdout
,
queff will write rays to the standard output stream.
The name of the file containing the quantum efficiency data. This file is an RDB database with at least three columns consisting of beginning energy, ending energy, and the quantum efficiency.
The name of the column in the lookup table which contains the lower bound energies for the bins.
The name of the column in the lookup table which contains the upper bound energies for the bins.
The name of the column in the lookup table which contains the quantum efficiency for the energy at the midpoint of the bin.
lin
|log
This specifies the type of tabular interpolation to be perfomed on the energy.
Valid values are lin
or log
.
lin
|log
This specifies the type of tabular interpolation to be perfomed on the
multiplicative factors. Valid values are lin
or log
.
If true, QE values are clipped to the values specified in qemin and qemax
The minimum QE value. Interpolated values are clipped to this if qeclip is true.
The maximum QE value. Interpolated values are clipped to this if qeclip is true.
If set to yes
rays whose energies fall outside of the ranges
specified in the lookup table are not wirtten to the output ray stream.
Be a little less quiet.
If yes
or 1
version information is output, after which the
program will exit.
This parameter takes a comma delimited list of debug flags. The available flags are:
Dump all of the QE tables
Dump the QE table as read from the input file.
Dump the initial interpolated QE table
Dump the transformed QE table
If yes
or 1
usage information is output, after which the program
will exit
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 1.0.3 of quef.
Dan Nguyen
Diab Jerius