/usr/include/astrometry/resort-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 | /*
# This file is part of the Astrometry.net suite.
# Licensed under a 3-clause BSD style license - see LICENSE
*/
#ifndef RESORT_XYLIST_H
#define RESORT_XYLIST_H
/*
Sorts the xylist in *infn*, writing the output to *outfn*.
The sorting order is strange. The algorithm first performs two
indirect sorts, by flux and by flux+background. It then interleaves
these two results, without duplication. This can be useful if you
don't really trust the background subtraction...
*/
int resort_xylist(const char* infn, const char* outfn,
const char* fluxcol, const char* backcol,
int ascending);
#endif
|