Wednesday, August 03, 2005

genrsp

Finished the upgrade to genrsp (at least for the moment). Now v2.0. The major changes are
  1. Response energies and channel definitions can now be read from input (ascii) files. This required adding new parameters resp_reln, resp_file, chan_reln, chan_file.
  2. If the response energies and/or channel definitions are not read from the file then the parameters to define them have been altered to set the number of energies/channels rather than their size. This will allow an extension to logarithmic intervals at some time in the future.
  3. The response energy parameter names now all start resp_. To avoid possible confusion the resolution parameters res_reln and res_file have been renamed to resol_reln and resol_file
  4. The resol_file input file format has been altered to allow multiple response peaks. genrsp can now build a response with multiple gaussian peaks from a given input energy (eg photopeak and escapes). At present the input file is ascii but a FITS format will be supported when a standard has been defined.

No comments: