How to laod atables

From Remeis-Wiki
Revision as of 12:00, 13 May 2019 by Chicharro (talk | contribs) (Created page with "How to load atable model <pre> %%Example: %load a table crate with xstar: %for more details use: %isis> help add_atable_model isis> add_atable_model ("xout_aout.fits",...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

How to load atable model



%%Example:
%load a table crate 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);