×

INDI Library v1.9.0 Released (23 Apr 2021)

Major INDI Library release v1.9.0 bring significant internal changes championed by @pawel-soja to modernize core INDI Library drivers and clients. New drivers for DeepSkyDad Flat Panel & Pegasus devices plus further improvements to PCM8 drivers.

Coordinate system reconstruction from FITS file keywords

  • Posts: 70
  • 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
ZWO ASI 1600MM Cooled imaging camera
Skywatcher HEQ-5 pro mount
ZWO EFW
Orion 80/400 guide refractor telescope
ASI 120MC-S guiding camera
ZWO LRGB filters
ZWO H-alpha (7nm), SII (7nm), OIII(7nm) narrow band filters

Image Gallery: www.astrobin.com/users/Franck/
1 month 4 weeks ago #70326

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

  • Posts: 268
  • 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 Mate, and many Arduinos..
The following user(s) said Thank You: Angelo Franck
1 month 3 weeks ago #70361

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

  • Posts: 94
  • Thank you received: 23
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 month 3 weeks ago by Michael.
1 month 3 weeks ago #70363

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

  • Posts: 70
  • Thank you received: 1
Hi guys! 
Thank you for your replies! The solution of mworion solved my issue ! 
 

Celestron C8 SCT
ZWO ASI 1600MM Cooled imaging camera
Skywatcher HEQ-5 pro mount
ZWO EFW
Orion 80/400 guide refractor telescope
ASI 120MC-S guiding camera
ZWO LRGB filters
ZWO H-alpha (7nm), SII (7nm), OIII(7nm) narrow band filters

Image Gallery: www.astrobin.com/users/Franck/
1 month 3 weeks ago #70374

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

Time to create page: 0.919 seconds