I am writing an application using python to display a FITS image file. I am using pythoncard to build GUI for my application.I can display image files in jpeg, .png, etc . but I am not able to dispaly FITS image in the same application...I donot understand why I am unable to display fits image....

Recommended Answers

All 2 Replies

Python and some of the standard GUI toolkits themselves do not have a builtin method to display FITS images (they are simply too specialized), but I am sure one of the external scientific modules that handle astronmoy will do just that.

I know the PyFITS module will (NASA/Goddard Space Flight Center), see:
http://www.adass.org/adass/proceedings/adass99/P1-55/

Python and some of the standard GUI toolkits themselves do not have a builtin method to display FITS images (they are simply too specialized), but I am sure one of the external scientific modules that handle astronmoy will do just that.

I know the PyFITS module will (NASA/Goddard Space Flight Center), see:
http://www.adass.org/adass/proceedings/adass99/P1-55/

yes there are some FITS file viewers like DS9 I can invoke this application through my python program and it is displaying the image but I want to display the fits image in my own application in an image canvas( box ) .

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.