ISIS auto start (.isisrc)

From Remeis-Wiki
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");