lsst.meas.extensions.astrometryNet  14.0-1-g013352c+17
Classes | Functions
lsst::meas::extensions::astrometryNet::detail Namespace Reference

Classes

struct  IndexManager
 RAII manager for astrometry.net indices. More...
 
struct  MagColInfo
 

Functions

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. More...
 

Function Documentation

◆ getCatalogImpl()

afwTable::SimpleCatalog lsst::meas::extensions::astrometryNet::detail::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.

Parameters
[in]indsstar kd-trees from astrometry.net
[in]ctrCoordcenter of search region
[in]radiussearch radius
[in]idColname of ID column in astrometry.net data
[in]magColInfoListlist of information about magnitude columns in astrometry.net data
[in]starGalColname of "starGal" column (true if object is a star) in astrometry.net data
[in]varColname of "var" column (true if brightness is variable) in astrometry.net data
[in]uniqueIdsif true then only return unique IDs (the first of each seen)

Returned schema:

  • id
  • coord: sky position (an lsst::afw::coord::IcrsCoord)
  • centroid: centroid on some exposure, if relevant (an lsst::afw::geom::Point2D); returned value is not set
  • hasCentroid: if true then centroid has been set; returned value is false
  • filterName_flux: flux in the specified filter (double)
  • filterName_fluxSigma: flux uncertainty in the specified filter (double)
  • resolved (if starGalCol specified): true if object is not resolved
  • variable (if varCol specified): true if brightness is variable
  • photometric: true if not resolved (or starGalCol blank) and not variable (or varCol blank); note that if starGalCol and varCol both blank then all objects are claimed to be photometric

Definition at line 59 of file utils.cc.