1 #ifndef LSST_MEAS_EXTENSIONS_ASTROMETRYNET_UTILS_H 2 #define LSST_MEAS_EXTENSIONS_ASTROMETRYNET_UTILS_H 14 namespace astrometryNet {
23 return !magErrCol.
empty();
43 if (index->quads && index->quads->fb && index->quads->fb->fid) {
44 _close(index->quads->fb->fid);
46 if (index->codekd && index->codekd->tree && index->codekd->tree->io) {
47 _close(index->codekd->tree->io);
49 if (index->starkd && index->starkd->tree && index->starkd->tree->io) {
50 _close(index->starkd->tree->io);
62 _close(reinterpret_cast<kdtree_fits_t*>(io)->fid);
97 const char* starGalCol,
103 #endif // LSST_MEAS_EXTENSIONS_ASTROMETRYNET_UTILS_H std::string magCol
name of magnitude column
lsst::afw::table::SimpleCatalog getCatalogImpl(std::vector< index_t *> inds, lsst::afw::coord::Coord const &ctrCoord, lsst::afw::geom::Angle const &radius, const char *idCol, std::vector< MagColInfo > const &magColInfoList, const char *starGalCol, const char *varCol, bool uniqueIds=true)
Implementation for index_t::getCatalog method.
std::string magErrCol
name of magnitude sigma column
A class representing an angle.
A base class for image defects.
Custom catalog class for record/table subclasses that are guaranteed to have an ID, and should generally be sorted by that ID.
RAII manager for astrometry.net indices.
IndexManager(index_t *ind)
std::string filterName
name of filter
This is the base class for spherical coordinates.