Hi, Herbert Pablo wrote: > So, I was trying your method and I ran into a little snag at step 4: newdata > = get_model_counts(1); % You are getting the counts from > the model you just fit > > I get the following error message: > > Unable to typecast Null_Type to Double_Type Are you sure that you have *just* fit your model? At first sight, it seemed to me that you might not have evaluated your model yet (if you did a new startup of ISIS and only load_par'ed your parameter file). ISIS doesn't evaluate the model every time you do a {plot,get}_model_{counts,flux}, but stores it internally. If one hasn't *just* fit the model, one has to do at least an ()=eval_counts(); to evaluate the model on the grid(s) defined by the data. However, I cannot reproduce your error with the situation described above (with ISIS >=1.4.9-55). Which version of ISIS and S-Lang are you using? message(_isis_version_string); message(_slang_version_string); Furthermore, if you start isis with the -g option and set Isis_Verbose=1, you might get some more debug output. Cheers, Manfred ---- 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 Wed Jul 29 2009 - 02:47:37 EDT
This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:46 EDT