×

INDI Library v1.9.6 Released (21 May 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

Coordinate system reconstruction from FITS file keywords

  • Posts: 74
  • Thank you received: 1
Hi everyone! 
I am working on a project for photometric analysis performed with amateur telescopes and I am developing a python code to do it. 
I proudly use Ekos to perform my observations and for this reason I hope someone of the developers could help me for the issue I am going to introduce you. 
At some step I have to overplot a grid of coordinates to the analysed image I acquired and solved with ekos. 
Could you suggest me some recipe to convert the parameters related to the coordinates stored in the keywords of the fits file of each image in order to reconstruct the coordinate grid for the image? 
Have you some paper to suggest me? 
Thank you in advance. 

F.
Celestron C8 SCT
QHY268 Mono Cooled imaging camera
Skywatcher HEQ-5 pro mount
QHY CFW3 filter wheel
Orion 80/400 guide refractor telescope
Starlight Xpress Lodestar Pro guiding camera

Image Gallery: www.astrobin.com/users/Franck/
1 year 2 months ago #70326

Please Log in or Create an account to join the conversation.

  • Posts: 280
  • Thank you received: 43
Hi,

Is this something you are looking for ??
docs.astropy.org/en/stable/generated/exa...o-plot-fits-image-py

/Markku
EQ8, Small scope SW200, Big scope SW300, Xagyl FW, Guidescope Celestron 80mm, SX LodestarX2, SXVR-H9.
RPi4, Ubuntu Server 20.04.3 LTS x64, and many Arduinos..
The following user(s) said Thank You: Franck
1 year 2 months ago #70361

Please Log in or Create an account to join the conversation.

  • Posts: 116
  • Thank you received: 27
Hi Frank, I‘ll send you a link later on with my solutions on GitHub, it shows up like this:
mountwizzard4.readthedocs.io/en/latest/_...image_distortion.png

Hope this helps.

Michel

Edit:
Here the link
github.com/mworion/MountWizzard4/blob/ma...extWindows/imageW.py

the important part is
self.axe = self.fig.add_subplot(1, 1, 1, projection=wcs.WCS(self.header, relax=True), facecolor=self.M_GREY_LIGHT)
but you need to have WCS projection coordinates in the fits header.
Last edit: 1 year 2 months ago by Michael.
1 year 2 months ago #70363

Please Log in or Create an account to join the conversation.

  • Posts: 74
  • Thank you received: 1
Hi guys! 
Thank you for your replies! The solution of mworion solved my issue ! 
 
Celestron C8 SCT
QHY268 Mono Cooled imaging camera
Skywatcher HEQ-5 pro mount
QHY CFW3 filter wheel
Orion 80/400 guide refractor telescope
Starlight Xpress Lodestar Pro guiding camera

Image Gallery: www.astrobin.com/users/Franck/
1 year 2 months ago #70374

Please Log in or Create an account to join the conversation.

Time to create page: 0.369 seconds