LSST Applications  21.0.0-1-g8760c09+64c1bc5aa5,21.0.0-1-ga51b5d4+5491f2a448,21.0.0-12-gbc0a1a5+358ec59a0b,21.0.0-16-gec61338+5610ae7019,21.0.0-17-g535a0ce+68fccf98ea,21.0.0-17-g712f02f+45471446cb,21.0.0-17-gd94932e+2079490dd7,21.0.0-18-g7027a3f+4cbab02c09,21.0.0-2-g103fe59+06c026c8ca,21.0.0-2-g45278ab+64c1bc5aa5,21.0.0-2-g5242d73+6960a99322,21.0.0-2-g7f82c8f+67f3a3c28a,21.0.0-2-ga326454+67f3a3c28a,21.0.0-2-gde069b7+4f46bdaea8,21.0.0-2-gecfae73+2147fbf537,21.0.0-2-gfc62afb+6960a99322,21.0.0-20-gddd4cb5+65cad37c35,21.0.0-23-gd55139e+1c650b9db3,21.0.0-23-gdb5a2aa5+0812f74ba3,21.0.0-3-g357aad2+4d30138d3a,21.0.0-3-g4a4ce7f+6960a99322,21.0.0-3-g4be5c26+6960a99322,21.0.0-3-gd7ab7aa+fdc5edd43f,21.0.0-3-ge02ed75+68fccf98ea,21.0.0-35-g4939cbb3d+fb0e51fe34,21.0.0-4-g591bb35+68fccf98ea,21.0.0-4-g65b4814+65cad37c35,21.0.0-4-g7dab645+661e67791c,21.0.0-4-ge8a399c+f93516e5e6,21.0.0-5-g8c1d971+7b9a448d34,21.0.0-5-gcc89fd6+fdc5edd43f,21.0.0-5-gd00fb1e+d528b983c0,21.0.0-6-g0bf7090+18535a8d22,21.0.0-6-gc675373+6960a99322,21.0.0-7-gdf92d54+64c1bc5aa5,21.0.0-8-g5674e7b+8087abed30,21.0.0-85-g296c1d01+374697a2d0,master-gac4afde19b+68fccf98ea,w.2021.20
LSST Data Management Base Package
Namespaces | Functions
Utils.cc File Reference
#include <cstdint>
#include <iostream>
#include <vector>
#include "boost/format.hpp"
#include "lsst/pex/exceptions.h"
#include "lsst/daf/base/PropertySet.h"
#include "lsst/daf/persistence/LogicalLocation.h"
#include "lsst/afw/formatters/Utils.h"

Go to the source code of this file.

Namespaces

 lsst
 A base class for image defects.
 
 lsst::afw
 
 lsst::afw::formatters
 

Functions

int lsst::afw::formatters::extractSliceId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties)
 
int lsst::afw::formatters::extractVisitId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties)
 
int64_t lsst::afw::formatters::extractFpaExposureId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties)
 
int lsst::afw::formatters::extractCcdId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties)
 
int lsst::afw::formatters::extractAmpId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties)
 
int64_t lsst::afw::formatters::extractCcdExposureId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties)
 
int64_t lsst::afw::formatters::extractAmpExposureId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties)
 
std::string const lsst::afw::formatters::getItemName (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties)
 Extracts and returns the string-valued "itemName" property from the given data property object. More...
 
bool lsst::afw::formatters::extractOptionalFlag (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties, std::string const &name)
 Returns true if and only if properties is non-null and contains a unique property with the given name that has type bool and a value of true. More...
 
int lsst::afw::formatters::countFitsHeaderCards (lsst::daf::base::PropertySet const &prop)
 
ndarray::Array< std::uint8_t, 1, 1 > lsst::afw::formatters::stringToBytes (std::string const &str)
 Encode a std::string as a vector of uint8. More...
 
std::string lsst::afw::formatters::bytesToString (ndarray::Array< std::uint8_t const, 1, 1 > const &bytes)
 Decode a std::string from a vector of uint8 returned by stringToBytes. More...