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

  • Context: Undergrad 
  • Thread starter Thread starter eag
  • Start date Start date
  • Tags Tags
    Astrophysics Format
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:
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?
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 152 ·
6
Replies
152
Views
13K
  • · Replies 8 ·
Replies
8
Views
7K
  • · Replies 1 ·
Replies
1
Views
11K