unable to change range

From: Herbert Pablo <hpablo_at_email.domain.hidden>
Date: Fri, 28 Aug 2009 14:47:09 -0400
Hey all,

I've been advised and dissuaded from using this method, but since I have no 
other real options to try, I thought I'd give it a shot. Anyway, I can't seem 
to make any difference in the wavelenght/energy range. No matter what I put in 
for my numbers, it always displays the same range. Does anyone mind taking a 
look at this code and seeing where my error might be?

Code:

require("xspec");
variable bin_lo, bin_hi;

   
define extender (id, s)
{
(s.bin_lo, s.bin_hi) = linear_grid (0.1,10,5000);
 return s;
}


define isis_main ()
{
 	

   load_arf("/export/lecanard/6601/combined/6601_HEG_1.arf");

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

   set_eval_grid_method (USER_GRID, 1, &extender);

   set_kernel (1, "std;eval=all");
   xnotice(5,10);

   fakeit ();
   flux_corr(1);
   plot_unit("angstrom");
   plot_model_flux(1);
   plot_pause ();
}


----
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 Fri Aug 28 2009 - 14:47:19 EDT

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