LSST Applications  21.0.0-139-g4e3796b1+8e0e4477b2,22.0.0+22452ee3e8,22.0.0+5c8c79b9bb,22.0.0+64c1bc5aa5,22.0.0+a7cb47fe15,22.0.0+c28b2074bc,22.0.0+d0d93e33b5,22.0.1-1-g7d6de66+8fa39470f7,22.0.1-1-g87000a6+9f9726e262,22.0.1-1-g8760c09+64c1bc5aa5,22.0.1-1-g8e32f31+d0d93e33b5,22.0.1-10-g779eefa+7cd471aaa9,22.0.1-12-g3bd7ecb+46a3b70696,22.0.1-14-g86e9b50+99e7338883,22.0.1-17-ge5a99e88+8a77b73346,22.0.1-18-g473f1e9+8fa39470f7,22.0.1-2-g1cb3e5b+b4ba395e9d,22.0.1-2-g8ef0a89+8fa39470f7,22.0.1-2-g92698f7+a7cb47fe15,22.0.1-2-ga9b0f51+64c1bc5aa5,22.0.1-2-gb66926d+d0d93e33b5,22.0.1-2-gcb770ba+25b68d6910,22.0.1-2-ge470956+2bf6a8d4a7,22.0.1-21-g532228a4+ca1041e437,22.0.1-28-g197addcb9+e812cf48d3,22.0.1-3-g59f966b+3a013779d7,22.0.1-3-g8c1d971+f4bf734fca,22.0.1-3-g997b569+0b1c48e3e0,22.0.1-3-gaaec9c0+a441c9b5a1,22.0.1-4-g1930a60+a886f25f17,22.0.1-4-g5b7b756+d686d30ffd,22.0.1-4-g8623105+8fa39470f7,22.0.1-7-g3402376+8ed7904e4c,22.0.1-7-gba73697+a886f25f17,master-g5f2689bdc5+c28b2074bc,w.2021.37
LSST Data Management Base Package
Namespaces | Typedefs | Enumerations | Functions
base.h File Reference
#include <string>
#include <stdexcept>
#include <vector>
#include "ndarray.h"
#include "star/ast.h"

Go to the source code of this file.

Namespaces

 ast
 AST wrapper classes and functions.
 

Typedefs

using ast::Array2D = ndarray::Array< double, 2, 2 >
 2D array of const double; typically used for lists of const points More...
 
using ast::ConstArray2D = ndarray::Array< const double, 2, 2 >
 2D array of const double; typically used for lists of const points More...
 
using ast::PointI = std::vector< int >
 Vector of ints; typically used for the bounds of Mapping.tranGridForward and inverse. More...
 
using ast::PointD = std::vector< double >
 Vector of double; used for bounds, points. More...
 

Enumerations

enum class  ast::DataType {
  ast::IntType = AST__INTTYPE , ast::ShortIntType = AST__SINTTYPE , ast::ByteType = AST__BYTETYPE , ast::DoubleType = AST__DOUBLETYPE ,
  ast::FloatType = AST__FLOATTYPE , ast::StringType = AST__STRINGTYPE , ast::ObjectType = AST__OBJECTTYPE , ast::PointerType = AST__POINTERTYPE ,
  ast::UndefinedType = AST__UNDEFTYPE , ast::BadType = AST__BADTYPE
}
 Data types held by a KeyMap. More...
 

Functions

void ast::assertOK (AstObject *rawPtr1=nullptr, AstObject *rawPtr2=nullptr)
 Throw std::runtime_error if AST's state is bad. More...
 
bool ast::escapes (int include=-1)
 Control whether graphical escape sequences are included in strings. More...
 
int ast::ast_version (void)
 
ConstArray2D ast::arrayFromVector (std::vector< double > const &vec, int nAxes)
 Reshape a vector as a 2-dimensional array that shares the same memory. More...
 
Array2D ast::arrayFromVector (std::vector< double > &vec, int nAxes)
 Reshape a vector as a 2-dimensional array that shares the same memory. More...