34#ifndef _SINFONI_SINFO_STAR_INDEX_H_
35#define _SINFONI_SINFO_STAR_INDEX_H_
38typedef struct _star_index_ star_index;
42star_index* star_index_load(
const char* fits_file);
46star_index* star_index_create(
void);
49int star_index_add(star_index* pindex,
double RA,
double DEC,
const char* star_name, cpl_table* ptable);
50int star_index_remove_by_name(star_index* pindex,
const char* starname);
51int star_index_save(star_index* pindex,
const char* fits_file_name);
52cpl_table* star_index_get(star_index* pindex,
double RA,
double DEC,
double RA_EPS,
double DEC_EPS,
const char** pstar_name);
53void star_index_delete(star_index* pindex);
54void star_index_dump(star_index* pindex, FILE* pfile);
55cpl_error_code eris_parse_catalog_std_stars(cpl_frame* cat,
double dRA,
double dDEC,
56 double EPSILON, cpl_table** pptable);