lsst.meas.extensions.astrometryNet  14.0-1-g013352c+33
Classes | Public Member Functions | List of all members
lsst::meas::extensions::astrometryNet::MultiIndex Class Reference

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

Detailed Description

Definition at line 53 of file astrometry_net.h.

Constructor & Destructor Documentation

◆ MultiIndex()

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.

◆ ~MultiIndex()

lsst::meas::extensions::astrometryNet::MultiIndex::~MultiIndex ( )
inline

Definition at line 62 of file astrometry_net.h.

Member Function Documentation

◆ addIndex()

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.

◆ getLength()

int lsst::meas::extensions::astrometryNet::MultiIndex::getLength ( ) const
inline

Get the number of indices.

Definition at line 95 of file astrometry_net.h.

◆ getName()

std::string lsst::meas::extensions::astrometryNet::MultiIndex::getName ( ) const
inline

Definition at line 88 of file astrometry_net.h.

◆ isWithinRange()

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.

◆ operator[]()

index_t* lsst::meas::extensions::astrometryNet::MultiIndex::operator[] ( int  i) const
inline

Get the specified index.

Definition at line 67 of file astrometry_net.h.

◆ reload()

void lsst::meas::extensions::astrometryNet::MultiIndex::reload ( )

Reload the indices.

Definition at line 54 of file astrometry_net.cc.

◆ unload()

void lsst::meas::extensions::astrometryNet::MultiIndex::unload ( )
inline

Unload the indices.

Definition at line 84 of file astrometry_net.h.


The documentation for this class was generated from the following files: