Up to top level
AO15   AO16   AO17   AO18   AO19   Backgrounds   Calibration   Conference   Data   Docs   EPICMOS   EPICpn   Feedback   Gallery   Misc   OM   Pending   PhD_Theses   Publications   RGS   RadMonitor   SAS_Hardware   SAS_WS   SASv16.0   SASv16.0_Installation   SASv16.1   SASv16.1_Installation   SASv17.0   SASv17.0_Installation   SASv18.0   SASv18.0_Installation   SciSim   Simulators_other   Suggestions   Trash   Visibility   XMM-bouncing   XMM-news   XRPS   XSA   esas   incoming  

Logged in as guest

Viewing RGS/73636
Full headers

From: sav2@le.ac.uk
Subject: RGScombine and SPECGROUP
Compose reply
Download message
Move To:
1 replies: 1
0 followups:

Private message: yes  no

Notes:

Notification:


Date: Wed, 12 Feb 2014 21:10:57 GMT
From: sav2@le.ac.uk
To: xmmhelp@sciops.esa.int
CC: sav2@le.ac.uk
Subject: RGScombine and SPECGROUP
Full_Name: Simon Vaughan
Submission from: (NULL) (86.144.95.2)


Dear Helpdesk,

I have used RGScombine to combine two exposures with RGS1 and two exposures with
RGS2. But I am unable to rebin the output using SPECgroup.

SPECgroup runs perfectly on the spectra from each exposure, but not on the
combined exposure. The error is:

** specgroup: error (attributableNotFound), Could not find attribute with
qualified name merged_rgs_src.pha%INSTRUME in attributable set
merged_rgs_src.pha

And indeed I find the INSTRUME keyword is missing from extension #0 in the
combined spectrum file, but it is there in the individual spectral files. I
imagine this is because the output combines RGS1 and RGS2.

Is there any way to use SPECgroup the output of RGScombine? 

I tried using SPECgroup on the RGS1 data and then using SPECgroup to rebin the
combined spectrum using this as a grouptemplate. This also failed (same error).

My current work-around is to use SPECgroup on the RGS1 data, use GRPPHA to write
the grouping information to a file, and then use this to rebin the combined
spectrum. 

Thanks, Simon


Reply 1

Resend
From: Rosario Gonzalez Riestra <xmmhelp@sciops.esa.int>
To: sav2@le.ac.uk
Subject: Re: RGScombine and SPECGROUP (PR#73636)
Date: Thu Feb 13 13:58:48 2014
Dear Simon

> I have used RGScombine to combine two exposures with RGS1 and two exposures
with
> RGS2. But I am unable to rebin the output using SPECgroup.
> 
> SPECgroup runs perfectly on the spectra from each exposure, but not on the
> combined exposure. The error is:
> 
> ** specgroup: error (attributableNotFound), Could not find attribute with
> qualified name merged_rgs_src.pha%INSTRUME in attributable set
> merged_rgs_src.pha
> 
> And indeed I find the INSTRUME keyword is missing from extension #0 in the
> combined spectrum file, but it is there in the individual spectral files.
I
> imagine this is because the output combines RGS1 and RGS2.
> 

That's right. Since there is not any limitation on the spectra that can be
combined, 
this keyword is not written.

But, on the other hand, it is required by specgroup. Why is that? Because
specgroup 
accesses a CCF (XMM_SPECQUAL) to get some information, specific to each
instrument, in particular the energy resolution when using the option
'oversample'. 

Since, at present, the CCF holds the same values for RGS1 and RGS2, the
workaround would be to write 'manually' this keyword in the combined spectrum:

fparkey 'RGS1' 'RGS.fit[0]' INSTRUME add=yes

and then run specgroup.

Please let me know if this works,

Regards

Rosario Gonzalez-Riestra
XMM-SOC User Support Group







> 
> 

Up to top level
AO15   AO16   AO17   AO18   AO19   Backgrounds   Calibration   Conference   Data   Docs   EPICMOS   EPICpn   Feedback   Gallery   Misc   OM   Pending   PhD_Theses   Publications   RGS   RadMonitor   SAS_Hardware   SAS_WS   SASv16.0   SASv16.0_Installation   SASv16.1   SASv16.1_Installation   SASv17.0   SASv17.0_Installation   SASv18.0   SASv18.0_Installation   SciSim   Simulators_other   Suggestions   Trash   Visibility   XMM-bouncing   XMM-news   XRPS   XSA   esas   incoming  

Logged in as guest


Please make your (short) question the subject of your request!


Web interface using JitterBug ... back to the XMM home page