/usr/include/astrometry/augment-xylist.h is in libastrometry-dev 0.70+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 | /*
# This file is part of the Astrometry.net suite.
# Licensed under a 3-clause BSD style license - see LICENSE
*/
#ifndef AUGMENT_XYLIST_H
#define AUGMENT_XYLIST_H
#include <time.h>
#include "astrometry/starxy.h"
#include "astrometry/an-bool.h"
#include "astrometry/bl.h"
#include "astrometry/an-opts.h"
#define SCALE_UNITS_DEG_WIDTH 0
#define SCALE_UNITS_ARCMIN_WIDTH 1
#define SCALE_UNITS_ARCSEC_PER_PIX 2
#define SCALE_UNITS_FOCAL_MM 3
struct augment_xylist_s {
char* tempdir;
int verbosity;
anbool no_delete_temp;
// contains ranges of depths as pairs of ints.
il* depths;
// contains ranges of fields as pairs of ints.
il* fields;
int cutobjs;
sl* verifywcs;
il* verifywcs_ext;
sip_t* predistort;
// FITS columns copied from index to RDLS output
sl* tagalong;
anbool tagalong_all;
// column to sort RDLS output by; prefix with "-" for descending order.
char* sort_rdls;
// input files
char* imagefn;
char* xylsfn;
char* solvedinfn;
anbool assume_fits_image;
// output files
char* axyfn;
char* cancelfn;
char* solvedfn;
char* matchfn;
char* rdlsfn;
// SCAMP reference catalog
char* scampfn;
char* wcsfn;
char* corrfn;
char* keepxylsfn;
char* pnmfn;
time_t wcs_last_mod;
anbool keep_fitsimg;
char* fitsimgfn;
// FITS extension to read image from
int extension;
// set during augment_xylist: is the input image or xyls FITS?
anbool isfits;
anbool guess_scale;
anbool pnm;
anbool force_ppm;
anbool use_sextractor;
char* sextractor_path;
char* sextractor_config;
int W;
int H;
double scalelo;
double scalehi;
int scaleunit;
int parity;
float cpulimit;
anbool tweak;
int tweakorder;
anbool no_removelines;
anbool no_bg_subtraction;
int uniformize;
anbool invert_image;
float image_sigma;
float image_nsigma;
char* xcol;
char* ycol;
char* sortcol;
char* bgcol;
// WCS reference point
anbool set_crpix;
anbool set_crpix_center;
double crpix[2];
anbool sort_ascending;
anbool resort;
double codetol;
double pixelerr;
double odds_to_tune_up;
double odds_to_solve;
double odds_to_bail;
double odds_to_stoplooking;
int downsample;
anbool dont_augment;
anbool verify_uniformize;
anbool verify_dedup;
// try to verify FITS input images?
anbool try_verify;
// fractions
double quadsize_min;
double quadsize_max;
// for searching only within indexes that are near some estimated position.
double ra_center;
double dec_center;
double search_radius;
};
typedef struct augment_xylist_s augment_xylist_t;
int parse_scale_units(const char* str);
int augment_xylist(augment_xylist_t* args,
const char* executable_path);
void augment_xylist_init(augment_xylist_t* args);
void augment_xylist_free_contents(augment_xylist_t* args);
void augment_xylist_print_help(FILE* fid);
void augment_xylist_add_options(bl* opts);
int augment_xylist_parse_option(char argchar, char* optarg, augment_xylist_t* axyargs);
void augment_xylist_print_special_opts(an_option_t* opt, bl* opts,
int index,
FILE* fid, void* extra);
#endif
|