Has Anyone Used a FITS Library for Extracting Galaxy Coordinates in C++?

AI Thread Summary
The discussion centers on the extraction of galaxy coordinates from FITS files using C++. A student seeks advice on using a FITS library, specifically libCCfits, for this purpose. Most participants recommend using cfitsio directly, as it is a C library that integrates well with C++. Clarification is sought on whether the student needs coordinates from images or a list from a FITS table. Additionally, there is a suggestion to consider existing software like IRAf instead of developing a new solution.
eag
Messages
1
Reaction score
0
hie all,

i'm a student and I'm working on a software using FITS file. I need coordinates of galaxies which are stocked in those FITS file. For that i have to use a c++ library then i'll b
e able to extract them.

i would like to know if somebody has ever code a c++ program using a FITS library like libCCfits ( http://heasarc.gsfc.nasa.gov/docs/software/fitsio/ccfits/ ) or know who has already use something else?

to know more about my project EAG, please visit: www.eag-project.net

thank you in advance.

contact@eag-project.net

EAG-Team
 
Last edited by a moderator:
Astronomy news on Phys.org
Most people just use cfitsio directly. It's a 'c' lib so you can call it quite easily from C++.
There isn't a lot of heirarchy in a fits file that benefits from having an object wrapper.

Do you mean you are looking for the coordiantes of galaxies from images in a fits-file or do you mean reading a list of coordinates from a fits table?

Do you really want to write your own software rather than using IRAf or similair?
 
Publication: Redox-driven mineral and organic associations in Jezero Crater, Mars Article: NASA Says Mars Rover Discovered Potential Biosignature Last Year Press conference The ~100 authors don't find a good way this could have formed without life, but also can't rule it out. Now that they have shared their findings with the larger community someone else might find an explanation - or maybe it was actually made by life.
TL;DR Summary: In 3 years, the Square Kilometre Array (SKA) telescope (or rather, a system of telescopes) should be put into operation. In case of failure to detect alien signals, it will further expand the radius of the so-called silence (or rather, radio silence) of the Universe. Is there any sense in this or is blissful ignorance better? In 3 years, the Square Kilometre Array (SKA) telescope (or rather, a system of telescopes) should be put into operation. In case of failure to detect...
Thread 'Could gamma-ray bursts have an intragalactic origin?'
This is indirectly evidenced by a map of the distribution of gamma-ray bursts in the night sky, made in the form of an elongated globe. And also the weakening of gamma radiation by the disk and the center of the Milky Way, which leads to anisotropy in the possibilities of observing gamma-ray bursts. My line of reasoning is as follows: 1. Gamma radiation should be absorbed to some extent by dust and other components of the interstellar medium. As a result, with an extragalactic origin, fewer...
Back
Top