LSST Applications  21.0.0-1-g8760c09+64c1bc5aa5,21.0.0-1-ga51b5d4+1350bb8745,21.0.0-119-g1a9a5132+a02c4f7b43,21.0.0-14-g3bd782b+96fca31618,21.0.0-19-gd0ca341+18ad9eec68,21.0.0-2-g103fe59+f9e8f958a8,21.0.0-2-g45278ab+64c1bc5aa5,21.0.0-2-g7f82c8f+d0715873fe,21.0.0-2-gde069b7+11a2aa21cd,21.0.0-2-gfc62afb+6d481ec273,21.0.0-20-g1e553c2+51ed3b0198,21.0.0-20-g3b2d1f0+21e8c24370,21.0.0-21-g51ee50f4+d26c021b80,21.0.0-21-gc8894c7+bed593c0ec,21.0.0-27-gcbf119a+78986a8df2,21.0.0-3-g1b65d06+3e1da953f4,21.0.0-3-g357aad2+367fc68a7a,21.0.0-3-g4a4ce7f+6d481ec273,21.0.0-3-g4be5c26+6d481ec273,21.0.0-3-ga324b9c+6d481ec273,21.0.0-3-ge02ed75+bed593c0ec,21.0.0-3-gf9d8b05+d0715873fe,21.0.0-33-g0da61bd6+c5c70fdf3f,21.0.0-4-g7dab645+37c43c7516,21.0.0-46-g27369044f+649249edd3,21.0.0-5-g5f8d297+d047063c65,21.0.0-5-g8c1d971+02ffdaf10e,21.0.0-5-gcc89fd6+782b3b5ca8,21.0.0-5-gd00fb1e+05e8e2bd3a,21.0.0-6-g1930a60+782b3b5ca8,21.0.0-6-gc675373+6d481ec273,21.0.0-7-g0503b2e+6b209d634c,21.0.0-7-g7aa11f2+bed593c0ec,21.0.0-7-g997b569+330bdc6609,21.0.0-8-g949febb+64c1bc5aa5,21.0.0-9-g7058be7+37de8fccb6,master-ga86695c5c8+bed593c0ec,master-gcc5351303a+f9e8f958a8,w.2021.27
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...