#include <gaussian.h>
|
|
typedef std::vector< std::shared_ptr< ConvolvedGaussian > > | Data |
| |
|
using | iterator = typename Data::iterator |
| |
|
using | const_iterator = typename Data::const_iterator |
| |
|
|
| ConvolvedGaussians (std::optional< const Data > data) |
| |
|
| ConvolvedGaussians (std::vector< std::optional< const Data > > data) |
| |
|
ConvolvedGaussian & | at (size_t i) const |
| |
|
const ConvolvedGaussian & | at_const (size_t i) const |
| |
|
std::shared_ptr< ConvolvedGaussian > | at_ptr (size_t i) const |
| |
|
Data::iterator | begin () noexcept |
| |
|
Data::iterator | end () noexcept |
| |
|
Data::const_iterator | begin () const noexcept |
| |
|
Data::const_iterator | end () const noexcept |
| |
|
Data::const_iterator | cbegin () const noexcept |
| |
|
Data::const_iterator | cend () const noexcept |
| |
|
Data | get_data () const |
| |
|
size_t | size () const |
| |
| std::string | repr (bool name_keywords=false, std::string_view namespace_separator=Object::CC_NAMESPACE_SEPARATOR) const override |
| |
| std::string | str () const override |
| | Return a brief, human-readable string representation of this.
|
| |
|
ConvolvedGaussian & | operator[] (size_t i) |
| |
|
const ConvolvedGaussian & | operator[] (size_t i) const |
| |
|
|
static std::string_view | null_str (const std::string_view &namespace_separator) |
| |
|
static constexpr std::string_view | CC_NAMESPACE_SEPARATOR = "::" |
| | The C++ namespace separator.
|
| |
|
static constexpr std::string_view | NULL_STR_GENERAL = "None" |
| |
|
static constexpr std::string_view | PY_NAMESPACE_SEPARATOR = "." |
| |
A collection of ConvolvedGaussian objects.
This class exists largely for the same reason as Gaussians, and to be passed to evaluators.
◆ repr()
| std::string lsst::gauss2d::ConvolvedGaussians::repr |
( |
bool | name_keywords = false, |
|
|
std::string_view | namespace_separator = Object::CC_NAMESPACE_SEPARATOR ) const |
|
overridevirtual |
Return a full, callable string representation of this.
- Parameters
-
| name_keywords | Whether to prefix arguments with "{name}=", where name is the arg name in the header (as with keyword arguments in Python). |
| namespace_separator | The string to use to delimit namespaces, i.e. :: in C++ and . in Python. |
- Returns
- A callable string representation of this, which should return an an identical object to this.
- Note
- The representation with name_keywords=false must be callable in C++. The representation with name_keywords=true should be callable in Python, if there are any bindings.
Implements lsst::gauss2d::Object.
◆ str()
| std::string lsst::gauss2d::ConvolvedGaussians::str |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files: