Hi John - I noticed that I had a user model whose norm params were NOT all being normed. So I did a quick test: isis> define dummy_fit(){ return 1; } isis> add_slang_function("dummy", ["a","b","c"], [0:2] ); Norm indices must be numbered from 1 <= n <= N My normed params were 15:40 (from list_par), but 40 was not being normed. In my function, I assumed array indices of 14:39. On the other end, the wrong kind of parameter was being used as a norm. So I never generated the error. (Hopefully, this will explain some edge effects in my models.) I think the help file should state that the indices are NOT array indices, but the logical parameter indices, starting at 1: "The optional third argument, norm_indexes, is an integer array specifying the indices of the parameters which should be interpreted as normalization coefficients." This is ambiguous, since the parameters are also in slang arrays. An explicit example might make proper use clear. Thanks for the error message, though, which helped track this down easily. -- Dave David Huenemoerder (617-253-4283; fax: 253-8084) MIT Center for Space Research/Chandra X-ray Center 70 Vassar St., NE80-6023, Cambridge, MA 02139 [Admin. Asst.: Elaine Tirrell, 617-253-7480, egt_at_email.domain.hidden---- 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 Mon Dec 13 2004 - 13:44:58 EST
This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:44 EDT