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?
 
Is a homemade radio telescope realistic? There seems to be a confluence of multiple technologies that makes the situation better than when I was a wee lad: software-defined radio (SDR), the easy availability of satellite dishes, surveillance drives, and fast CPUs. Let's take a step back - it is trivial to see the sun in radio. An old analog TV, a set of "rabbit ears" antenna, and you're good to go. Point the antenna at the sun (i.e. the ears are perpendicular to it) and there is...
3I/ATLAS, also known as C/2025 N1 (ATLAS) and formerly designated as A11pl3Z, is an iinterstellar comet. It was discovered by the Asteroid Terrestrial-impact Last Alert System (ATLAS) station at Río Hurtado, Chile on 1 July 2025. Note: it was mentioned (as A11pl3Z) by DaveE in a new member's introductory thread. https://www.physicsforums.com/threads/brian-cox-lead-me-here.1081670/post-7274146 https://earthsky.org/space/new-interstellar-object-candidate-heading-toward-the-sun-a11pl3z/ One...
Back
Top