Re: unable to change range

From: Manfred Hanke <Manfred.Hanke_at_email.domain.hidden>
Date: Fri, 28 Aug 2009 21:40:18 +0200

 > 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.

Manfred Hanke wrote on 19 Aug 2009 19:09:18:
> But as I said, I don't think that the USER_GRID is what you need for
> your problem.

I definitely believe, for the model
> fit_fun("phabs(1)*pcfabs(2)*diskbb(3)");
you wouldn't need an extended USER_GRID at all.

As it seems that you only want to do
> fakeit (); flux_corr(1); plot_model_flux(1);
you even don't need the flux_corr.

You can do

variable bin_lo, bin_hi; (bin_hi, bin_lo) = linear_grid (0.1, 10, 5000);
variable int_flux = eval_fun(bin_lo, bin_hi);  % in photons/s/cm^2/bin
variable flux = int_flux/(bin_hi-bin_lo);  % in photons/s/cm^2/A
hplot(bin_lo, bin_hi, flux);

if you only want to plot the model flux in a given wavelength range.


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:
Received on Fri Aug 28 2009 - 15:40:38 EDT

This archive was generated by hypermail 2.2.0 : Fri Aug 28 2009 - 15:58:27 EDT