On Mon, Apr 26, 2004 at 12:55 -0400, Saku Vrtilek wrote: > I use > > m = get_model_counts(1); > > and > > d = get_data_counts(1); > > > What do I do to get the residuals? > The residuals can be computed interactively as the difference of the 'value' fields of the structures returned by those functions. You can use the 'print' function to interactively determine the fields of a Struct_Type and to print out the values of its fields. isis> m = get_model_counts(1); isis> d = get_data_counts(1); isis> print(m); bin_lo = Double_Type[512] bin_hi = Double_Type[512] value = Double_Type[512] err = NULL isis> print(d); bin_lo = Double_Type[512] bin_hi = Double_Type[512] value = Double_Type[512] err = Double_Type[512] isis> print(m.value - d.value); . Alternatively, to save those numbers in an ascii file, you could use the 'writecol' function and provide a filename: isis> writecol ("file.txt", m.value, d.value, m.value-d.value); 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: unsubscribeReceived on Mon Apr 26 2004 - 13:28:47 EDT
This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:44 EDT