Difference between revisions of "How to laod atables"

From Remeis-Wiki
Jump to navigation Jump to search
(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",...")
 
 
Line 6: Line 6:
 
<pre>
 
<pre>
 
%%Example:
 
%%Example:
%load a table crate with xstar:
+
%load a table created with xstar:
 
%for more details use:
 
%for more details use:
  

Latest revision as of 12:02, 13 May 2019

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);