/usr/include/astrometry/fits-guess-scale.h is in libastrometry-dev 0.73+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 | /*
# This file is part of the Astrometry.net suite.
# Licensed under a 3-clause BSD style license - see LICENSE
*/
#ifndef FITS_GUESS_SCALE_H
#define FITS_GUESS_SCALE_H
#include "astrometry/qfits_header.h"
#include "astrometry/bl.h"
int fits_guess_scale(const char* infn,
sl** p_methods, dl** p_scales);
/*
If p_methods is not NULL but *p_methods is NULL, allocates a new sl; otherwise
uses *p_methods. Ditto for p_scales. So do:
sl* methods = NULL;
fits_guess_scale_hdr(hdr, &methods, NULL);
// ... process it...
sl_free2(methods);
OR
sl* methods = sl_new(4);
fits_guess_scale_hdr(hdr, &methods, NULL);
// ... process it...
sl_free2(methods);
*/
void fits_guess_scale_hdr(const qfits_header* hdr,
sl** p_methods, dl** p_scales);
#endif
|