How to laod atables

From Remeis-Wiki
Jump to navigation Jump to search

How to load atable model



%%Example:
%load a table created with xstar:
%for more details use:

%isis> help add_atable_model


isis> add_atable_model ("xout_aout.fits", "xout");

%plot it;
%create a grid to evaluate the function:

isis> (lo, hi) = log_grid(0.1, 100, 100000);

%evaluate the function;
isis> fit_fun("xout");

isis> f=eval_fun_keV (, lo hi);

isis> f=eval_fun_keV ( lo, hi);


%plot:

isis> xlog; ylog;

isis> hplot(lo, hi, f);