Calculate (X, Y) of an input (RA, DEC)

calculates sky pixel coordinates given an R.A. and Dec.
Post Reply
tatsumikon
Posts: 13
Joined: Wed Feb 09, 2022 6:52 am

Calculate (X, Y) of an input (RA, DEC)

Post by tatsumikon »

Hello everyone

I am trying to input the sky coordinates (RA, DEC) of some optical-detected sources to generate the image coordinates (X, Y) with respect to a reference (RA0, DEC0).
However, radec2xy always raise errors because the input fits file is NOT readable. How to convert an input (RA, DEC) to (X, Y) with respect to a reference (RA0, DEC0)?

Could you please advise?
MiriamRamos
Posts: 23
Joined: Wed Jun 23, 2021 11:46 am

Re: Calculate (X, Y) of an input (RA, DEC)

Post by MiriamRamos »

Hello,

radec2xy only works on event lists, not on images. We suggest re-centre your event list first with radec2xy, then create an image with evtool, which will be centred on the RA/DEC that you use on radec2xy. Further information can be found here:

https://erosita.mpe.mpg.de/edr/DataAnal ... ub_Point_6

Let us know if you have further questions.

Miriam
tatsumikon
Posts: 13
Joined: Wed Feb 09, 2022 6:52 am

Re: Calculate (X, Y) of an input (RA, DEC)

Post by tatsumikon »

Thanks, I have solved this.
Post Reply