isis> r = m-d; Saku> S-Lang Error: Type Mismatch: Struct_Type = Struct_Type is not possible Hi Saku - You are close. The "get_" functions return a structure. What you want is: r = d.value - m.value ; To see structure fields, "print" the structure: isis> print( get_data_counts(1) ); bin_lo = Double_Type[4096] bin_hi = Double_Type[4096] value = Double_Type[4096] err = Double_Type[4096] --Dave Saku> Hi, Saku> I use Saku> m = get_model_counts(1); Saku> and Saku> d = get_data_counts(1); Saku> What do I do to get the residuals? Saku> r= get_residual_counts(1) Saku> S-Lang Error: Undefined Name: get_residual_counts is undefined Saku> or isis> r = m-d; Saku> S-Lang Error: Type Mismatch: Struct_Type = Struct_Type is not possible isis> Saku> does not work. Saku> thanks, Saku> Saku Saku> ---- Saku> You received this message because you are Saku> subscribed to the isis-users list. Saku> To unsubscribe, send a message to Saku> isis-users-request_at_email.domain.hidden Saku> with the first line of the message as: Saku> unsubscribe -- 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 Apr 26 2004 - 13:30:58 EDT
This archive was generated by hypermail 2.2.0 : Thu Mar 15 2007 - 08:45:50 EDT