Hi ISIS users, I have what may be a simple question but this has been bugging me for a while. I'm trying to compute exposure corrected counts for an energy range of a spectrum, say 1-2 keV (~12.4-6.2 A). Within ISIS, it seems like one should be able to read in a spectrum, arf, and rmf, run flux_corr then do region_counts over the energy range. This doesn't seem to work, however. I get the same counts value regardless of whether flux_corr has been performed. Am I missing something obvious? Example script below. Thanks very much! -Roy % test variable e1=12.39854; variable e2=6.19927; import("isis"); variable data_id=load_data("source12_corr.pi"); variable rmf_id=load_rmf("source12.wrmf"); variable arf_id=load_arf("source12_corr.warf"); assign_rmf (rmf_id, data_id); assign_arf (arf_id, data_id); flux_corr(data_id); variable b1=region_counts(data_id,e2,e1); variable c1=b1.sum; print(name + " " + string(c1)); ---- 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 Oct 28 2002 - 16:35:50 EST
This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:44 EDT