How to laod atables

From Remeis-Wiki
Revision as of 12:02, 13 May 2019 by Chicharro (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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);