Re: phased spectra for input into isis

From: John Houck <houck_at_email.domain.hidden>
Date: Wed, 25 Jun 2003 21:33:47 -0400
On Wed, Jun 25, 2003 at 21:11 -0400, Saku Vrtilek wrote:
> keiko-74: isis
> 
> Welcome to ISIS Version 1.0.50
> Copyright (C) 1998, 2003 Massachusetts Institute of Technology
> 
> isis>  load_dataset ("phase0.0to0.3_bincor.fits","id106.rmf","id106.arf");
> *** Assuming frame time = 0.00855
> *** If this is incorrect, use set_frame_time() to provide a value
> Warning:  1 hi/lo grid values needed tweaking
> *** Error:  grid mismatch, data=1024 RMF=2048 channels
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> *** Failed:  assigning RMF 1 to data set 1
> S-Lang Error: Intrinsic Error: called from line 1, file: <stdin>
>

I think Greg's earlier comment was correct:

   goldsteing wrote:
   > I tried and it failed, but I may have overlooked a point when preparing the
   > rmf: " The default for extraction in PI space is
   > axis2=1:1024:1; in PHA space it would be 1:4096:2."

The PHA RMF has a grid of size 2048 (1:4096:2) so it should be
used with a PHA spectrum of size 2048 bins. Similarly, the PI
RMF goes with a PI spectrum -- both with size 1024.

This is consistent with the grid mismatch seen above -- the
spectrum is a PI file, but its being used with a PHA RMF.


> 
> It does indeed seem to be complaining about a grid mismatch.  But then
> why does it work when I use the pha file?


Because the PHA RMF actually matches the PHA spectrum file.
Your PI spectrum file just needs a PI RMF to go with it.


> 
> 
> isis> load_dataset ("phase0.0to0.3_bincor.pha","id106.rmf","id106.arf");       
> 
> *** Assuming frame time = 0.00855
> *** If this is incorrect, use set_frame_time() to provide a value
> Warning:  1 hi/lo grid values needed tweaking
> 


Thanks,

John

-- 
John C. Houck                       MIT Center for Space Research
NE80-6005: 617-253-3849                   77 Massachusetts Avenue
42:21:55.105N, 71:05:28.122W             Cambridge, MA 02139-4307
----
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:
unsubscribe
Received on Wed Jun 25 2003 - 21:34:04 EDT

This archive was generated by hypermail 2.2.0 : Thu Mar 15 2007 - 08:45:50 EDT