Pablo, - for clarity use: xnotice(1, 5,10); - plot_model_flux shows the model over the whole range; can zoom in with: xrange(5.0,10.0); plot_model_flux(1); - the "notice" applies to the _counts_ (I believe) so you will see things limited to the 5-10 range if you do: isis> xrange; % or zoom in: xrange(5.0,10.0); isis> plot_data_counts(1); isis> plot_model_counts(1); -Dan On Aug 28, 2009, at 2:47 PM, Herbert Pablo wrote: > > 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.hidden> with the first line of the message as: > unsubscribe ---------------------------------------------------------- Daniel Dewey dd_at_email.domain.hidden MIT Kavli Institute Office:(617) 253-7244 70 Vassar St., NE80-6085 Fax:(617) 253-8084 Cambridge, MA 02139 http://space.mit.edu/home/dd ---------------------------------------------------------- ---- 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: unsubscribeReceived on Fri Aug 28 2009 - 15:35:11 EDT
This archive was generated by hypermail 2.2.0 : Wed Sep 16 2009 - 08:09:56 EDT