ISIS auto start (.isisrc)

From Remeis-Wiki
Revision as of 10:50, 31 July 2018 by Kuehnel (talk | contribs) (Created page with "As part of its startup, ISIS executes a file called <code>~/.isisrc</code> (i.e., the file named <code>.isisrc</code> which is located in your $HOME directory). This file is u...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

As part of its startup, ISIS executes a file called ~/.isisrc (i.e., the file named .isisrc which is located in your $HOME directory). This file is useful for setting up a standard environment. We recommend this file to be short and to include only the most important commands.

Example .isisrc:

% allow the easy access to require("isisscripts")
add_to_isis_load_path("/Path/To/isisscripts/share/");

% you might even require the ISISscripts on startup
require("isisscripts");

% set the solar abundance vector and X-ray cross-sections,
% which is important to calculate the X-ray absorption correctly
()=xspec_abund("wilm");
()=xspec_xsect("vern");

% set your desired editor used by, e.g., edit_par
putenv("EDITOR=emacs -nw");