LSST Applications g07dc498a13+5a531fccd6,g1409bbee79+5a531fccd6,g1a7e361dbc+5a531fccd6,g1fd858c14a+bae9e05889,g28da252d5a+b6acab2954,g33399d78f5+749e2df9f6,g35bb328faa+e55fef2c71,g3bd4b5ce2c+753c3426d3,g3d4cdeeb7c+495e717508,g43bc871e57+32b9ddb877,g53246c7159+e55fef2c71,g60b5630c4e+f9e43d3906,g6e5c4a0e23+f441d97430,g78460c75b0+8427c4cc8f,g786e29fd12+307f82e6af,g8534526c7b+af2545e932,g85d8d04dbe+ded3a614ca,g89139ef638+5a531fccd6,g8b49a6ea8e+f9e43d3906,g9125e01d80+e55fef2c71,g989de1cb63+5a531fccd6,g9a9baf55bd+f1bd1a7c26,g9f33ca652e+c963d5c8aa,gaaedd4e678+5a531fccd6,gabe3b4be73+9c0c3c7524,gb092a606b0+a33ed67792,gb58c049af0+28045f66fd,gc2fcbed0ba+f9e43d3906,gca43fec769+e55fef2c71,gcf25f946ba+749e2df9f6,gd6cbbdb0b4+784e334a77,gde0f65d7ad+a0ab96d407,ge278dab8ac+25667260f6,geab183fbe5+f9e43d3906,gecb8035dfe+0fa5abcb94,gefa07fa684+89734069dd,gf58bf46354+e55fef2c71,gfe7187db8c+55cd7d2043,w.2025.01
LSST Data Management Base Package
Loading...
Searching...
No Matches
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

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

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.
 
bool ast::escapes (int include=-1)
 Control whether graphical escape sequences are included in strings.
 
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.
 
Array2D ast::arrayFromVector (std::vector< double > &vec, int nAxes)
 Reshape a vector as a 2-dimensional array that shares the same memory.