Re: using fakeit

From: John E. Davis <davis_at_email.domain.hidden>
Date: Wed, 19 Aug 2009 15:54:06 -0400
Herbert Pablo <hpablo_at_email.domain.hidden> Also. John are you sure that that script worked for you. I even changed out 
> the rmf and arf for the test data to see if that would make a difference and I 
> get no change. It essentially brings up a plot with axis but no actual lines.

What are the ranges on the axes?

Also, in order for John to replicate what you did as well as the isis
state, I think that it would be better to put the commands into a file
and then load that file into isis from the command line.  For example,
save the following to a file called "foo.sl" and invoke it using
"isis-script":

   %unix> isis-script ./foo.sl

Here is the isis-script that should be put into foo.sl:

require("xspec");
define isis_main ()
{
   load_arf("/export/lecanard/6601/combined/6601_HEG_1.arf");
   load_rmf("/export/lecanard/6601/rmf/acis_1.0_HEG_-1_rmf.fits");
   assign_rmf(1,1);
   assign_arf(1,1);

   fit_fun("phabs(1)*pcfabs(2)*diskbb(3)");

   set_par("phabs(1)", [2.683428 ]);
   set_par("pcfabs(2)",[2.711441 ,0.6840924]);
   set_par("diskbb(3)",[52.20151 ,1.897251]);

   fakeit ();
   plot_unit("kev");
   plot_data_counts(1);
   plot_pause ();
}

Thanks,
--John (Davis)
----
You received this message because you are
subscribed to the isis-users list.
To unsubscribe, send a message to
isis-users-request_at_email.domain.hiddenwith the first line of the message as:
unsubscribe
Received on Wed Aug 19 2009 - 15:54:14 EDT

This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:46 EDT