4 #ifndef GloriaSkyCatalog_h
5 #define GloriaSkyCatalog_h 1
18 #include "GloriaFitsTable.h"
51 inline void AddObject(
double ra,
double dec) { AddRow(ra,dec); };
101 int MatchObject(
double ra,
double dec,
double cut);
116 vector<long> MatchAllObjects(
double ra,
double dec,
double distMax,
double distMin=0.);
126 long* MatchObjectArray(
int nObject,
double* RaArr,
double* DecArr,
double cut);
136 vector<long> MatchObjectVector(vector<double>* RaVec, vector<double>* DecVec,
double cut);
152 vector<string> RaDecNames, vector<string> CopyNames, vector<string> NewNames );
158 vector<long> MatchObjectTable(
GloriaFitsTable *table,
double cut, vector<string> RaDecNames);
163 double SkyDistance(
double ra1,
double dec1,
double ra2,
double dec2);
double GetObjectRA(int iObject)
Get object RA position.
Definition: GloriaSkyCatalog.h:62
namespace for data storing and exchange formats
Definition: GloriaAstrometry.h:15
Table column class for different content types.
Definition: GloriaTableColumn.h:185
Class for storing catalogs of sky objects (eg. stars)
Definition: GloriaSkyCatalog.h:36
void SetObjectRA(int iObject, double ra)
Set object RA position.
Definition: GloriaSkyCatalog.h:79
GloriaFitsTable & GetTable()
Returns the table itself.
Definition: GloriaSkyCatalog.h:91
double GetObjectDEC(int iObject)
Get object DEC position.
Definition: GloriaSkyCatalog.h:66
void AddObject(double ra, double dec)
Add new object to the list.
Definition: GloriaSkyCatalog.h:51
Class for reading and processing fits tables in Luiza.
Definition: GloriaFitsTable.h:109
void SetObjectDEC(int iObject, double dec)
Set object DEC position.
Definition: GloriaSkyCatalog.h:83
vector< double > & GetDECVector()
Returns vector of object positions in DEC.
Definition: GloriaSkyCatalog.h:74
int GetObjectNumber()
Returns number of objects in the list.
Definition: GloriaSkyCatalog.h:59
vector< double > & GetRAVector()
Returns vector of object positions in RA.
Definition: GloriaSkyCatalog.h:70
void AddObject()
Add new object to the list.
Definition: GloriaSkyCatalog.h:55