Customizing XSPECThe XSPEC environment can be customized using two separate files, both of which are searched for in the directory $HOME/.xspec The first file, Xspec.init contains a number of settings that control items in XSPEC. The settings available are as follows.
A copy of this file is placed in the $HOME/.xspec directory on XSPEC12's first start-up or when it is not found. After this users can modify settings such as default cosmology or the energy range for dummy response for their own requirements. This is also the place where users can select if they want to view PDF help files from the XSPEC distribution or HTML either locally or from the HEASARC site. Setting USE_ONLINE_HELP to true uses the remote HTML files while false will use either PDF or HTML local files depending on the value of LOCAL_HELP_FORMAT. The PDF_COMMAND and HTML_COMMAND entries determine which applications are run for the two viewing cases. The HTML_COMMAND value should typically just be the name of a web browser, or “open” for Mac OS X users. The default settings for the PDF_COMMAND entry are what work best for launching Adobe Acrobat Reader 7.0.x on Linux/Unix systems. For those launching earlier versions, the “-openInNewWindow” flag should be replaced with “-useFrontEndProgram”. For Mac users, again we recommend the entire entry simply be replaced with “open”. The second file that is searched for is the xspec.rc file. This contains users' own customizations, for example Tcl or XSPEC command abbreviations, packages to be loaded on startup, or Tcl scripts containing procedures that are to be executed as commands. Please consult Appendix A and references/links therein for details of Tcl commands and scripting.
HEASARC Home | Observatories | Archive | Calibration | Software | Tools | Students/Teachers/Public Last modified: Friday, 23-Aug-2024 13:20:40 EDT HEASARC Staff Scientist Position - Applications are now being accepted for a Staff Scientist with significant experience and interest in the technical aspects of astrophysics research, to work in the High Energy Astrophysics Science Archive Research Center (HEASARC) at NASA Goddard Space Flight Center (GSFC) in Greenbelt, MD. Refer to the AAS Job register for full details. |