×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Coordinate system reconstruction from FITS file keywords

  • Posts: 80
  • 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.
2 years 11 months ago #70326

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

  • Posts: 298
  • Thank you received: 46
The following user(s) said Thank You: Franck
2 years 11 months ago #70361

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

  • Posts: 124
  • Thank you received: 28
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: 2 years 11 months ago by Michael.
2 years 11 months ago #70363

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

  • Posts: 80
  • Thank you received: 1
Hi guys! 
Thank you for your replies! The solution of mworion solved my issue ! 
 
2 years 11 months ago #70374

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

Time to create page: 0.452 seconds