1 /*
2  # This file is part of the Astrometry.net suite.
3  # Licensed under a 3-clause BSD style license - see LICENSE
4  */
5 
6 #ifndef AN_SCAMP_H
7 #define AN_SCAMP_H
8 
9 #include "astrometry/qfits_header.h"
10 #include "astrometry/sip.h"
11 #include "astrometry/starxy.h"
12 
13 int scamp_write_field(const qfits_header* imageheader,
14                       const sip_t* wcs,
15                       const starxy_t* xy,
16                       const char* filename);
17 
18 
19 // Writes a Scamp config file snippet describing the reference and input catalogs
20 // we generate.
21 int scamp_write_config_file(const char* refcatfn, const char* outfn);
22 
23 // Returns a newly-allocated Scamp config file snippet describing the reference
24 // and input catalogs we generate.
25 char* scamp_get_config_options(const char* refcatfn);
26 
27 #endif
28