Re: model_spectrum and mt_calc_model in 1.4.9

From: John Houck <houck_at_email.domain.hidden>
Date: Thu, 20 Mar 2008 19:58:15 -0400
On Thu, Mar 20, 2008 at 14:20 -0700, Ming F. Gu wrote:
> John,
> 
> Something changed with model_spectrum and mt_calc_model in 1.4.9? or 
> recently? Thanks.
> 
> the following commands no longer works:
> 
> plasma(aped);
> s=default_plasma_state();
> define_model(s);
> (lo,hi)=linear_grid(1,20,2000);
> y=model_spectrum(lo,hi);
> % this gives y=[0.0];, and it seems to return the lo and hi in the result 
> % stack.
> m = mt_def_model(s);
> y=mt_calc_model(m, lo, hi, MODEL_LINES);
> % mt_calc_model will no longer accept MODEL_LINES argument, and the line
> % list flag too.
> 

Yes, when I recently added new features to implement
create_aped_line_modifier and create_aped_line_profile, 
I neglected to update the model_spectrum interface.

These bugs have been fixed in the newest source code, 
available from:
 ftp://space.mit.edu/pub/cxc/isis/pre_release/isis-1.4.9-13.tar.gz

Alternatively it should be possible to work around this problem
by using a different interface.  See 'create_aped_fun' for
details.

Thanks,
-John
----
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 Thu Mar 20 2008 - 19:58:18 EDT

This archive was generated by hypermail 2.2.0 : Thu Mar 20 2008 - 19:59:30 EDT