LSSTApplications
18.1.0
LSSTDataManagementBasePackage
|
#include <astrometry_net.h>
Public Member Functions | |
MultiIndex (std::string const &filepath) | |
Construct a MultiIndex from an astrometry.net multi-index file. More... | |
~MultiIndex () | |
index_t * | operator[] (int i) const |
Get the specified index. More... | |
void | addIndex (std::string const &filepath, bool metadataOnly) |
Add an index read from a file. More... | |
int | isWithinRange (double ra, double dec, double radius_deg) |
Is this multi-index in range of the specified cone? More... | |
void | unload () |
Unload the indices. More... | |
std::string | getName () const |
int | getLength () const |
Get the number of indices. More... | |
void | reload () |
Reload the indices. More... | |
Definition at line 51 of file astrometry_net.h.
lsst::meas::extensions::astrometryNet::MultiIndex::MultiIndex | ( | std::string const & | filepath | ) |
Construct a MultiIndex from an astrometry.net multi-index file.
Definition at line 32 of file astrometry_net.cc.
|
inline |
Definition at line 60 of file astrometry_net.h.
void lsst::meas::extensions::astrometryNet::MultiIndex::addIndex | ( | std::string const & | filepath, |
bool | metadataOnly | ||
) |
Add an index read from a file.
Definition at line 40 of file astrometry_net.cc.
|
inline |
Get the number of indices.
Definition at line 93 of file astrometry_net.h.
|
inline |
Definition at line 86 of file astrometry_net.h.
int lsst::meas::extensions::astrometryNet::MultiIndex::isWithinRange | ( | double | ra, |
double | dec, | ||
double | radius_deg | ||
) |
Is this multi-index in range of the specified cone?
Definition at line 50 of file astrometry_net.cc.
|
inline |
Get the specified index.
Definition at line 65 of file astrometry_net.h.
void lsst::meas::extensions::astrometryNet::MultiIndex::reload | ( | ) |
Reload the indices.
Definition at line 54 of file astrometry_net.cc.
|
inline |
Unload the indices.
Definition at line 82 of file astrometry_net.h.