Re: get_iback

From: David P. Huenemoerder <dph_at_email.domain.hidden>
Date: Thu, 18 Oct 2007 11:36:07 -0400
    rgibson> How can I recover the original counts spectrum of the
    rgibson> instrumental background, binned to the grid of my data
    rgibson> set?

Hi Rob,

Since you have done:

> define_back( n, back_file) ;

you could also do:

> n_back = load_data( back_file ) ; 

and treat it like any other counts histogram. (assuming you then bin
it like your data are binned).

Does that suffice for what you want to do?

-- Dave

David Huenemoerder  617-253-4283 (o); -253-8084 (f);
MIT Kavli Institute for Astrophysics and Space Research
70 Vassar St., NE80-6065,
Cambridge, MA  02139
[Admin. Asst.: Elaine Tirrell, 617-253-7480, egt_at_email.domain.hidden
    rgibson> I have:
    rgibson> bScale = BACKSCAL of background
    rgibson> sScale = BACKSCAL of source
    rgibson> expo = exposure in seconds

    rgibson> print(get_iback(1) * bScale / sScale / expo) comes close to giving a list of
    rgibson> integer counts, but not quite.

    rgibson> Thanks,
    rgibson> Rob

    rgibson> ----

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:
Received on Thu Oct 18 2007 - 11:36:17 EDT

This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:45 EDT