>>>>> "Saku" == Saku Vrtilek <saku_at_email.domain.hidden Saku> double-quotes does not work: isis> f = region_flux ("id105.pha", 0.5, 9.8); Saku> S-Lang Error: Type Mismatch: Unable to typecast String_Type to Integer_Type It needs to be the integer histogram index of the loaded dataset, not a filename. n = load_data("id105.pha"); f = region_flux( n, 0.5, 9.8 ); .. as long is it's a pha file with only one spectrum. If it's a default chandra 12-row hetg file, then n will be a 12 element array. then you either index it, or just: list_data; to see the loaded data. -- Dave ---- 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 Tue Mar 02 2004 - 10:40:54 EST
This archive was generated by hypermail 2.2.0 : Thu Mar 15 2007 - 08:45:50 EDT