|
lsst.afw
16.0-51-gb4b4a8566+2
|
Functions | |
| bool | 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... | |
| std::string const | 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... | |
| std::string const | getTableName (std::shared_ptr< lsst::pex::policy::Policy const > const &policy, std::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
| Returns the name of the table that a single slice of a pipeline involved in the processing of a single visit should use for persistence of a particular output. More... | |
| std::vector< std::string > | getAllSliceTableNames (std::shared_ptr< lsst::pex::policy::Policy const > const &policy, std::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
| Stores the name of the table that each slice of a pipeline involved in processing a visit used for persistence of its outputs. More... | |
| int | extractSliceId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
| int64_t | extractFpaExposureId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
| int64_t | extractCcdExposureId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
| int64_t | extractAmpExposureId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
| int | extractVisitId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
| int | extractCcdId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
| int | extractAmpId (std::shared_ptr< lsst::daf::base::PropertySet const > const &properties) |
| int | countFitsHeaderCards (lsst::daf::base::PropertySet const &prop) |
| ndarray::Array< std::uint8_t, 1, 1 > | stringToBytes (std::string const &str) |
| Encode a std::string as a vector of uint8. More... | |
| std::string | bytesToString (ndarray::Array< std::uint8_t const, 1, 1 > const &bytes) |
| Decode a std::string from a vector of uint8 returned by stringToBytes. 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.
| int lsst::afw::formatters::countFitsHeaderCards | ( | lsst::daf::base::PropertySet const & | prop | ) |
| int64_t lsst::afw::formatters::extractAmpExposureId | ( | 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 | ) |
| int lsst::afw::formatters::extractCcdId | ( | 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 | ) |
| bool lsst::afw::formatters::extractOptionalFlag | ( | std::shared_ptr< lsst::daf::base::PropertySet const > const & | properties, |
| std::string const & | name | ||
| ) |
| 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 | ) |
| std::vector< std::string > lsst::afw::formatters::getAllSliceTableNames | ( | std::shared_ptr< lsst::pex::policy::Policy const > const & | policy, |
| std::shared_ptr< lsst::daf::base::PropertySet const > const & | properties | ||
| ) |
Stores the name of the table that each slice of a pipeline involved in processing a visit used for persistence of its outputs.
If slices were configured to all use the same (per-visit) table name, a single name is stored.
| [in] | policy | The Policy containing the table name pattern ("${itemName}.tableNamePattern", where ${itemName} is looked up in properties using the "itemName" key) from which the the actual table name is derived. This pattern may contain a set of parameters in %(key) format - these are interpolated by looking up "key" in the properties PropertySet. |
| [in] | properties | The runtime specific properties necessary to construct the table names. |
string. The "visitId0" property must also be present, and shall be a non-negative integer of type int64_t uniquely identifying the current LSST visit. If the "${itemName}.isPerSliceTable" property is present, is of type bool and is set to true, then it is assumed that "${itemName}.numSlices" (a positive integer of type int) output tables exist and are to be read in.
| 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.
| lsst::pex::exceptions::InvalidParameterError | If the given pointer is null, or the PropertySet pointed to does not contain a unique property named "itemName". |
| std::string const lsst::afw::formatters::getTableName | ( | std::shared_ptr< lsst::pex::policy::Policy const > const & | policy, |
| std::shared_ptr< lsst::daf::base::PropertySet const > const & | properties | ||
| ) |
Returns the name of the table that a single slice of a pipeline involved in the processing of a single visit should use for persistence of a particular output.
All slices can be configured to use the same (per-visit) table name using policy parameters.
| [in] | policy | The Policy containing the table name pattern ("${itemName}.tableNamePattern", where ${itemName} is looked up in properties using the "itemName" key) from which the the actual table name is derived. This pattern may contain a set of parameters in %(key) format - these are interpolated by looking up "key" in the properties PropertySet. |
| [in] | properties | Provides runtime specific properties necessary to construct the output table name. |
| ndarray::Array< std::uint8_t, 1, 1 > lsst::afw::formatters::stringToBytes | ( | std::string const & | str | ) |
Encode a std::string as a vector of uint8.
1.8.13