A generic object from the gauss2d library.
Objects have string representations that are guaranteed to be valid in C++ and should also be valid in Python bindings, if implemented correctly. The interface may be expanded in the future.
| virtual std::string lsst::gauss2d::Object::repr |
( |
bool | name_keywords = false, |
|
|
std::string_view | namespace_separator = CC_NAMESPACE_SEPARATOR ) const |
|
pure virtual |
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.
Implemented in lsst::gauss2d::Centroid, lsst::gauss2d::CentroidData, lsst::gauss2d::CentroidValues, lsst::gauss2d::ConvolvedGaussian, lsst::gauss2d::ConvolvedGaussians, lsst::gauss2d::CoordinateSystem, lsst::gauss2d::Covariance, lsst::gauss2d::detail::GradientsExtra< t, Data, Indices >, lsst::gauss2d::Ellipse, lsst::gauss2d::EllipseData, lsst::gauss2d::EllipseMajor, lsst::gauss2d::EllipseValues, lsst::gauss2d::Gaussian, lsst::gauss2d::GaussianEvaluator< T, Data, Indices >, lsst::gauss2d::GaussianIntegral, lsst::gauss2d::GaussianIntegralValue, lsst::gauss2d::Gaussians, lsst::gauss2d::Image< T, C >, lsst::gauss2d::Image< idx_type, Indices >, lsst::gauss2d::Image< idx_type, Indices >, lsst::gauss2d::Image< T, Data >, lsst::gauss2d::Image< T, Data >, lsst::gauss2d::Image< t, Data >, lsst::gauss2d::Image< T, Image< T > >, lsst::gauss2d::Image< T, VectorImage< T > >, lsst::gauss2d::ImageArray< T, C >, lsst::gauss2d::ImageArray< double, Image >, lsst::gauss2d::ImageArray< double, Image >, lsst::gauss2d::ImageArray< T, Data >, and lsst::gauss2d::ImageArray< T, Data >.