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 EPICMOS/82560
Full headers

From: eg308@columbia.edu
Subject: MOS PSF
Compose reply
Download message
Move To:
3 replies: 1 2 3
3 followups: 1 2 3

Private message: yes  no

Notes:

Notification:


Date: Tue, 7 Nov 2017 20:52:17 GMT
From: eg308@columbia.edu
To: xmmhelp@sciops.esa.int
CC: eg308@columbia.edu
Subject: MOS PSF
Full_Name: Eric Gotthelf
Submission from: (NULL) (128.59.168.136)


I would like to deconvolve an EPIC MOS image. Where can I find a suitable FITS
image of the PSF? 

Thanks,
Eric


Reply 1

Resend
From: Nora Loiseau <xmmhelp@sciops.esa.int>
To: eg308@columbia.edu
Subject: Re: MOS PSF (PR#82560)
Date: Wed Nov  8 14:53:31 2017
Dear Dr. Gotthelf,

Please check the thread at:
https://www.cosmos.esa.int/web/xmm-newton/sas-thread-2dpsf-amr

And please inform us if this is not what you need.

Best regards,

Nora
 

> 
> 
> I would like to deconvolve an EPIC MOS image. Where can I find a suitable
FITS
> image of the PSF? 
> 
> Thanks,
> Eric
> 
> ----
Dr. Nora Loiseau
XMM-Newton User Support Group


Followup 1

Compose reply
Download message
Subject: Re: MOS PSF (PR#82560)
To: Nora Loiseau <xmmhelp@sciops.esa.int>
From: Eric Gotthelf <eric@astro.columbia.edu>
Date: Wed, 8 Nov 2017 10:09:31 -0500
Thanks Nora, just what I needed!

Eric

On 11/8/17 9:53 AM, Nora Loiseau wrote:
> Dear Dr. Gotthelf,
>
> Please check the thread at:
> https://www.cosmos.esa.int/web/xmm-newton/sas-thread-2dpsf-amr
>
> And please inform us if this is not what you need.
>
> Best regards,
>
> Nora
>   
>
>>
>> I would like to deconvolve an EPIC MOS image. Where can I find a
suitable
> FITS
>> image of the PSF?
>>
>> Thanks,
>> Eric
>>
>> ----
> Dr. Nora Loiseau
> XMM-Newton User Support Group
>
> This message and any attachments are intended for the use of the addressee
or addressees only.
> The unauthorised disclosure, use, dissemination or copying (either in whole
or in part) of its
> content is not permitted.
> If you received this message in error, please notify the sender and delete
it from your system.
> Emails can be altered and their integrity cannot be guaranteed by the
sender.
>
> Please consider the environment before printing this email.
>
>




Followup 2

Compose reply
Download message
Subject: Re: MOS PSF (PR#82560)
To: Nora Loiseau <xmmhelp@sciops.esa.int>
From: Eric Gotthelf <eric@astro.columbia.edu>
Date: Wed, 8 Nov 2017 17:30:04 -0500
Dear Nora,

What I'd like to do is to generate an image of the PSF for a certain 
place in the sky image in XY
coordinates, appropriately rotated by the PA to match a source in the 
observation, and the
resulting image rebinned in pixels to match the input image scale and size.

I was able to run psfgen but the resulting output image file has no 
coordinate information,
neither the pixel size or sky location. Without the pixel size I cannot 
compare this image of
the PSF to my source. Without the sky location I can not be sure that 
this PSF is the one
expected at the location of my source.

I gave an image file as input but the output file does not seem to care 
about the size, binning
and coordinates of the input image. I also give the source position 
using the region parameter,
but I am not clear if this information is applied since there is no 
coordinate information in the
output image file header.

psfgen image=P0111170101M1S001MIEVLI0000.FIT_16_200-10000.sky 
energy=1000 output=mos1_psf.img level=ELLBETA region='(X, Y) IN 
circle(26315.446, 27961.469, 6000)'

The size of the output image is not what I expected. If the region give 
the locations of the source
in sky coordinates and the radius give the half size of the output 
image, than for my input image,
rebinned by 16, a physical radius of 6000 (300 arcsec) should give an 
outfile image size of 750x750,
with 0.8 arcsec/pixel. Instead the output image is 546x546. How are 
these related?

It is not clear form the documentation if the input sky image PA is 
taken into account when generating
the PSF imag or is this something the user should do (and if so does 
rotation=PA)?

Thanks,
Eric


What is the best way to do this?




On 11/8/17 9:53 AM, Nora Loiseau wrote:
> Dear Dr. Gotthelf,
>
> Please check the thread at:
> https://www.cosmos.esa.int/web/xmm-newton/sas-thread-2dpsf-amr
>
> And please inform us if this is not what you need.
>
> Best regards,
>
> Nora
>   
>
>>
>> I would like to deconvolve an EPIC MOS image. Where can I find a
suitable
> FITS
>> image of the PSF?
>>
>> Thanks,
>> Eric
>>
>> ----
> Dr. Nora Loiseau
> XMM-Newton User Support Group
>
> This message and any attachments are intended for the use of the addressee
or addressees only.
> The unauthorised disclosure, use, dissemination or copying (either in whole
or in part) of its
> content is not permitted.
> If you received this message in error, please notify the sender and delete
it from your system.
> Emails can be altered and their integrity cannot be guaranteed by the
sender.
>
> Please consider the environment before printing this email.
>
>




Reply 2

Resend
From: Nora Loiseau <xmmhelp@sciops.esa.int>
To: eric@astro.columbia.edu
Subject: Re: MOS PSF (PR#82560)
Date: Thu Nov  9 15:34:28 2017
Dear Eric,

You are right!, I am consulting the SAS person in charge of this task and he
will provide more info by tomorrow.

Best regards,

Nora

> Dear Nora,
> 
> What I'd like to do is to generate an image of the PSF for a certain 
> place in the sky image in XY
> coordinates, appropriately rotated by the PA to match a source in the 
> observation, and the
> resulting image rebinned in pixels to match the input image scale and
size.
> 
> I was able to run psfgen but the resulting output image file has no 
> coordinate information,
> neither the pixel size or sky location. Without the pixel size I cannot 
> compare this image of
> the PSF to my source. Without the sky location I can not be sure that 
> this PSF is the one
> expected at the location of my source.
> 
> I gave an image file as input but the output file does not seem to care 
> about the size, binning
> and coordinates of the input image. I also give the source position 
> using the region parameter,
> but I am not clear if this information is applied since there is no 
> coordinate information in the
> output image file header.
> 
> psfgen image=P0111170101M1S001MIEVLI0000.FIT_16_200-10000.sky 
> energy=1000 output=mos1_psf.img level=ELLBETA region='(X, Y) IN 
> circle(26315.446, 27961.469, 6000)'
> 
> The size of the output image is not what I expected. If the region give 
> the locations of the source
> in sky coordinates and the radius give the half size of the output 
> image, than for my input image,
> rebinned by 16, a physical radius of 6000 (300 arcsec) should give an 
> outfile image size of 750x750,
> with 0.8 arcsec/pixel. Instead the output image is 546x546. How are 
> these related?
> 
> It is not clear form the documentation if the input sky image PA is 
> taken into account when generating
> the PSF imag or is this something the user should do (and if so does 
> rotation=PA)?
> 
> Thanks,
> Eric
> 
> 
> What is the best way to do this?
> 
> 
> 
> 
> On 11/8/17 9:53 AM, Nora Loiseau wrote:
>> Dear Dr. Gotthelf,
>>
>> Please check the thread at:
>> https://www.cosmos.esa.int/web/xmm-newton/sas-thread-2dpsf-amr
>>
>> And please inform us if this is not what you need.
>>
>> Best regards,
>>
>> Nora
>>   
>>
>>>
>>> I would like to deconvolve an EPIC MOS image. Where can I find a
suitable
>> FITS
>>> image of the PSF?
>>>
>>> Thanks,
>>> Eric
>>>
>>> ----
>> Dr. Nora Loiseau
>> XMM-Newton User Support Group
>>
>> This message and any attachments are intended for the use of the
addressee
or
> addressees only.
>> The unauthorised disclosure, use, dissemination or copying (either in
whole
or
> in part) of its
>> content is not permitted.
>> If you received this message in error, please notify the sender and
delete
it
> from your system.
>> Emails can be altered and their integrity cannot be guaranteed by the
sender.
>>
>> Please consider the environment before printing this email.
>>
>>
> 
> 
> ----
Dr. Nora Loiseau
XMM-Newton User Support Group


Reply 3

Resend
From: Nora Loiseau <xmmhelp@sciops.esa.int>
To: eric@astro.columbia.edu
Subject: Re: MOS PSF (PR#82560)
Date: Fri Nov 10 10:33:04 2017
Dear Eric,

Here is the recommendation of the SAS developer:

---------

The following expression can be used:

psfgen level=ELLBETA output=mos1_psf.img theta=786.0 phi=2.395545 level=ELLBETA
energy=1000 rotate=33.0 xsize=400 ysize=400 instrument=EMOS1

Theta and Phi can be got from the following call:

ecoordconv imageset=P0111170101M1S001MIEVLI0000.FIT_16_200-10000.sky
coordtype=pos x=26315 y=27961

The output will contain a line:

Theta: Phi: 781.76667 2.3955452  (or equivalent)

The rotation angle needed here is the opposite of the PA angle, e.g. if PA_PNT
in the header of P0111170101M1S001MIEVLI0000.FIT_16_200-10000.sky  is 320
degrees. then rotate=40.0.

The output image has pixels of size 1" x 1". This can not be changed but has to
be rebinned later using a tool like fimgbin or similar. The extent of the output
image in pixels (and arcsecs) is set by the xsize, ysize parameters.

------------


Best regards,

Nora



> 
> What I'd like to do is to generate an image of the PSF for a certain 
> place in the sky image in XY
> coordinates, appropriately rotated by the PA to match a source in the 
> observation, and the
> resulting image rebinned in pixels to match the input image scale and
size.
> 
> I was able to run psfgen but the resulting output image file has no 
> coordinate information,
> neither the pixel size or sky location. Without the pixel size I cannot 
> compare this image of
> the PSF to my source. Without the sky location I can not be sure that 
> this PSF is the one
> expected at the location of my source.
> 
> I gave an image file as input but the output file does not seem to care 
> about the size, binning
> and coordinates of the input image. I also give the source position 
> using the region parameter,
> but I am not clear if this information is applied since there is no 
> coordinate information in the
> output image file header.
> 
> psfgen image=P0111170101M1S001MIEVLI0000.FIT_16_200-10000.sky 
> energy=1000 output=mos1_psf.img level=ELLBETA region='(X, Y) IN 
> circle(26315.446, 27961.469, 6000)'
> 
> The size of the output image is not what I expected. If the region give 
> the locations of the source
> in sky coordinates and the radius give the half size of the output 
> image, than for my input image,
> rebinned by 16, a physical radius of 6000 (300 arcsec) should give an 
> outfile image size of 750x750,
> with 0.8 arcsec/pixel. Instead the output image is 546x546. How are 
> these related?
> 
> It is not clear form the documentation if the input sky image PA is 
> taken into account when generating
> the PSF imag or is this something the user should do (and if so does 
> rotation=PA)?
> 
> Thanks,
> Eric
> 
> 
> What is the best way to do this?
> 
> 
> 
> 
> On 11/8/17 9:53 AM, Nora Loiseau wrote:
>> Dear Dr. Gotthelf,
>>
>> Please check the thread at:
>> https://www.cosmos.esa.int/web/xmm-newton/sas-thread-2dpsf-amr
>>
>> And please inform us if this is not what you need.
>>
>> Best regards,
>>
>> Nora
>>   
>>
>>>
>>> I would like to deconvolve an EPIC MOS image. Where can I find a
suitable
>> FITS
>>> image of the PSF?
>>>
>>> Thanks,
>>> Eric
>>>
>>> ----
>> Dr. Nora Loiseau
>> XMM-Newton User Support Group
>>
>> This message and any attachments are intended for the use of the
addressee
or
> addressees only.
>> The unauthorised disclosure, use, dissemination or copying (either in
whole
or
> in part) of its
>> content is not permitted.
>> If you received this message in error, please notify the sender and
delete
it
> from your system.
>> Emails can be altered and their integrity cannot be guaranteed by the
sender.
>>
>> Please consider the environment before printing this email.
>>
>>
> 
> 
> ----
Dr. Nora Loiseau
XMM-Newton User Support Group


Followup 3

Compose reply
Download message
Subject: Re: MOS PSF (PR#82560)
To: Nora Loiseau <xmmhelp@sciops.esa.int>
From: Eric Gotthelf <eric@astro.columbia.edu>
Date: Fri, 10 Nov 2017 11:42:28 -0500
Thanks Nora, I'll check this out.

Eric

On 11/10/17 5:33 AM, Nora Loiseau wrote:
> Dear Eric,
>
> Here is the recommendation of the SAS developer:
>
> ---------
>
> The following expression can be used:
>
> psfgen level=ELLBETA output=mos1_psf.img theta=786.0 phi=2.395545
level=ELLBETA
> energy=1000 rotate=33.0 xsize=400 ysize=400 instrument=EMOS1
>
> Theta and Phi can be got from the following call:
>
> ecoordconv imageset=P0111170101M1S001MIEVLI0000.FIT_16_200-10000.sky
> coordtype=pos x=26315 y=27961
>
> The output will contain a line:
>
> Theta: Phi: 781.76667 2.3955452  (or equivalent)
>
> The rotation angle needed here is the opposite of the PA angle, e.g. if
PA_PNT
> in the header of P0111170101M1S001MIEVLI0000.FIT_16_200-10000.sky  is 320
> degrees. then rotate=40.0.
>
> The output image has pixels of size 1" x 1". This can not be changed but
has to
> be rebinned later using a tool like fimgbin or similar. The extent of the
output
> image in pixels (and arcsecs) is set by the xsize, ysize parameters.
>
> ------------
>
>
> Best regards,
>
> Nora
>
>
>
>> What I'd like to do is to generate an image of the PSF for a certain
>> place in the sky image in XY
>> coordinates, appropriately rotated by the PA to match a source in the
>> observation, and the
>> resulting image rebinned in pixels to match the input image scale and
size.
>>
>> I was able to run psfgen but the resulting output image file has no
>> coordinate information,
>> neither the pixel size or sky location. Without the pixel size I cannot
>> compare this image of
>> the PSF to my source. Without the sky location I can not be sure that
>> this PSF is the one
>> expected at the location of my source.
>>
>> I gave an image file as input but the output file does not seem to care
>> about the size, binning
>> and coordinates of the input image. I also give the source position
>> using the region parameter,
>> but I am not clear if this information is applied since there is no
>> coordinate information in the
>> output image file header.
>>
>> psfgen image=P0111170101M1S001MIEVLI0000.FIT_16_200-10000.sky
>> energy=1000 output=mos1_psf.img level=ELLBETA region='(X, Y) IN
>> circle(26315.446, 27961.469, 6000)'
>>
>> The size of the output image is not what I expected. If the region give
>> the locations of the source
>> in sky coordinates and the radius give the half size of the output
>> image, than for my input image,
>> rebinned by 16, a physical radius of 6000 (300 arcsec) should give an
>> outfile image size of 750x750,
>> with 0.8 arcsec/pixel. Instead the output image is 546x546. How are
>> these related?
>>
>> It is not clear form the documentation if the input sky image PA is
>> taken into account when generating
>> the PSF imag or is this something the user should do (and if so does
>> rotation=PA)?
>>
>> Thanks,
>> Eric
>>
>>
>> What is the best way to do this?
>>
>>
>>
>>
>> On 11/8/17 9:53 AM, Nora Loiseau wrote:
>>> Dear Dr. Gotthelf,
>>>
>>> Please check the thread at:
>>> https://www.cosmos.esa.int/web/xmm-newton/sas-thread-2dpsf-amr
>>>
>>> And please inform us if this is not what you need.
>>>
>>> Best regards,
>>>
>>> Nora
>>>    
>>>
>>>> I would like to deconvolve an EPIC MOS image. Where can I find
a suitable
>>> FITS
>>>> image of the PSF?
>>>>
>>>> Thanks,
>>>> Eric
>>>>
>>>> ----
>>> Dr. Nora Loiseau
>>> XMM-Newton User Support Group
>>>
>>> This message and any attachments are intended for the use of the
addressee
> or
>> addressees only.
>>> The unauthorised disclosure, use, dissemination or copying (either
in whole
> or
>> in part) of its
>>> content is not permitted.
>>> If you received this message in error, please notify the sender and
delete
> it
>> from your system.
>>> Emails can be altered and their integrity cannot be guaranteed by
the
> sender.
>>> Please consider the environment before printing this email.
>>>
>>>
>>
>> ----
> Dr. Nora Loiseau
> XMM-Newton User Support Group
>
> This message and any attachments are intended for the use of the addressee
or addressees only.
> The unauthorised disclosure, use, dissemination or copying (either in whole
or in part) of its
> content is not permitted.
> If you received this message in error, please notify 

Message of length 5208 truncated

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