LSST Applications g0f08755f38+9c285cab97,g1635faa6d4+13f3999e92,g1653933729+a8ce1bb630,g1a0ca8cf93+bf6eb00ceb,g28da252d5a+0829b12dee,g29321ee8c0+5700dc9eac,g2bbee38e9b+9634bc57db,g2bc492864f+9634bc57db,g2cdde0e794+c2c89b37c4,g3156d2b45e+41e33cbcdc,g347aa1857d+9634bc57db,g35bb328faa+a8ce1bb630,g3a166c0a6a+9634bc57db,g3e281a1b8c+9f2c4e2fc3,g414038480c+077ccc18e7,g41af890bb2+fde0dd39b6,g5fbc88fb19+17cd334064,g781aacb6e4+a8ce1bb630,g80478fca09+55a9465950,g82479be7b0+d730eedb7d,g858d7b2824+9c285cab97,g9125e01d80+a8ce1bb630,g9726552aa6+10f999ec6a,ga5288a1d22+2a84bb7594,gacf8899fa4+c69c5206e8,gae0086650b+a8ce1bb630,gb58c049af0+d64f4d3760,gc28159a63d+9634bc57db,gcf0d15dbbd+4b7d09cae4,gda3e153d99+9c285cab97,gda6a2b7d83+4b7d09cae4,gdaeeff99f8+1711a396fd,ge2409df99d+5e831397f4,ge79ae78c31+9634bc57db,gf0baf85859+147a0692ba,gf3967379c6+41c94011de,gf3fb38a9a8+8f07a9901b,gfb92a5be7c+9c285cab97,w.2024.46
LSST Data Management Base Package
|
#include <parameters.h>
Public Member Functions | |
std::string | get_desc () const override |
Get a string description for this parameter class. | |
T | get_default () const override |
Get the default value. | |
bool | get_fixed () const override |
Return whether the parameter is fixed (not free). | |
bool | get_free () const override |
Return whether the parameter is free (not fixed). | |
std::string | get_label () const override |
Return a string label for this parameter instance. | |
const Limits< T > & | get_limits_maximal () const override |
Return limits representing the maximum/minimum untransformed value. | |
const Limits< T > & | get_limits () const override |
Return the limits for the untransformed value. | |
bool | get_linear () const override |
Return whether the parameter is linear. | |
T | get_min () const override |
Return the minimum value for this parameter instance. | |
T | get_max () const override |
Return the maximum value for this parameter instance. | |
std::string | get_name () const override |
Get a string name for this parameter class. | |
const Transform< T > & | get_transform () const override |
Return the transforming function for this parameter instance. | |
std::shared_ptr< const Transform< T > > | get_transform_ptr () const override |
Return the transform pointer for this parameter instance. | |
T | get_transform_derivative () const override |
Return the derivative of the transform for this parameter instance. | |
const Unit & | get_unit () const override |
Return the unit of this parameter instance. | |
T | get_value () const override |
Return the untransformed value of this parameter instance. | |
T | get_value_transformed () const override |
Return the transformed value of this parameter instance. | |
std::shared_ptr< C > | ptr () |
Return a shared pointer to this. | |
void | set_fixed (bool fixed) override |
Set the parameter to be fixed (or not). | |
void | set_free (bool free) override |
Set the parameter to be free (or not). | |
void | set_label (std::string label) override |
Set the string label for this parameter instance. | |
void | set_limits (std::shared_ptr< const Limits< T > > limits) override |
Set the limits for this parameter instance. | |
void | set_transform (const std::shared_ptr< const Transform< T > > transform) override |
Set the transforming function for this parameter instance. | |
void | set_value (T value) override |
Set the untransformed value for this parameter instance. | |
void | set_value_transformed (T value_transformed) override |
Set the transformed value for this parameter instance. | |
void | set_unit (std::shared_ptr< const Unit > unit=nullptr) override |
Set the unit for this parameter instance. | |
std::string | repr (bool name_keywords=false, const std::string_view &namespace_separator=Object::CC_NAMESPACE_SEPARATOR) const override |
Return a full, callable string representation of this. | |
std::string | str () const override |
Return a brief, human-readable string representation of this. | |
T | shared_from_this (T... args) |
Static Public Member Functions | |
static constexpr T | _get_default () |
Get the default value for the derived type of this. | |
static const std::string | get_type_name (bool strip_namespace_separator=false, const std::string_view &namespace_separator=detail::NAMESPACE_SEPARATOR) |
Get the name of the derived type of this. | |
static const UnitTransform< T > & | transform_none () |
Static Public Attributes | |
static constexpr double | _min = -1. |
static constexpr double | _default = 0. |
static constexpr double | _max = 1. |
static const std::string | _desc = "Gaussian correlation (rho)" |
static const std::string | _name = "rho" |
static constexpr std::string_view | CC_NAMESPACE_SEPARATOR = "::" |
The C++ namespace separator. | |
Static Protected Member Functions | |
static const std::string | _get_desc () |
static constexpr bool | _get_linear () |
static constexpr T | _get_min () |
static constexpr T | _get_max () |
static const std::string | _get_name () |
Protected Attributes | |
T | _value |
The untransformed value. | |
T | _value_transformed |
The cached, transformed value. | |
Definition at line 119 of file parameters.h.
|
inlinestaticconstexprinherited |
Get the default value for the derived type of this.
Definition at line 212 of file parameter.h.
|
inlinestaticprotectedinherited |
Definition at line 204 of file parameter.h.
|
inlinestaticconstexprprotectedinherited |
Definition at line 205 of file parameter.h.
|
inlinestaticconstexprprotectedinherited |
Definition at line 207 of file parameter.h.
|
inlinestaticconstexprprotectedinherited |
Definition at line 206 of file parameter.h.
|
inlinestaticprotectedinherited |
Definition at line 208 of file parameter.h.
|
inlineoverridevirtualinherited |
Get the default value.
Implements lsst::modelfit::parameters::ParameterBase< T >.
Definition at line 216 of file parameter.h.
|
inlineoverridevirtualinherited |
Get a string description for this parameter class.
Implements lsst::modelfit::parameters::ParameterBase< T >.
Definition at line 214 of file parameter.h.
|
inlineoverridevirtualinherited |
Return whether the parameter is fixed (not free).
Implements lsst::modelfit::parameters::ParameterBase< T >.
Definition at line 218 of file parameter.h.
|
inlineoverridevirtualinherited |
Return whether the parameter is free (not fixed).
Implements lsst::modelfit::parameters::ParameterBase< T >.
Definition at line 220 of file parameter.h.
|
inlineoverridevirtualinherited |
Return a string label for this parameter instance.
Implements lsst::modelfit::parameters::ParameterBase< T >.
Definition at line 222 of file parameter.h.
|
inlineoverridevirtualinherited |
Return the limits for the untransformed value.
Implements lsst::modelfit::parameters::ParameterBase< T >.
Definition at line 230 of file parameter.h.
|
inlineoverridevirtualinherited |
Return limits representing the maximum/minimum untransformed value.
Implements lsst::modelfit::parameters::ParameterBase< T >.
Definition at line 224 of file parameter.h.
|
inlineoverridevirtualinherited |
Return whether the parameter is linear.
Implements lsst::modelfit::parameters::ParameterBase< T >.
Definition at line 232 of file parameter.h.
|
inlineoverridevirtualinherited |
Return the maximum value for this parameter instance.
Implements lsst::modelfit::parameters::ParameterBase< T >.
Definition at line 236 of file parameter.h.
|
inlineoverridevirtualinherited |
Return the minimum value for this parameter instance.
Implements lsst::modelfit::parameters::ParameterBase< T >.
Definition at line 234 of file parameter.h.
|
inlineoverridevirtualinherited |
Get a string name for this parameter class.
Implements lsst::modelfit::parameters::ParameterBase< T >.
Definition at line 238 of file parameter.h.
|
inlineoverridevirtualinherited |
Return the transforming function for this parameter instance.
Implements lsst::modelfit::parameters::ParameterBase< T >.
Definition at line 240 of file parameter.h.
|
inlineoverridevirtualinherited |
Return the derivative of the transform for this parameter instance.
Implements lsst::modelfit::parameters::ParameterBase< T >.
Definition at line 244 of file parameter.h.
|
inlineoverridevirtualinherited |
Return the transform pointer for this parameter instance.
Implements lsst::modelfit::parameters::ParameterBase< T >.
Definition at line 242 of file parameter.h.
|
inlinestaticinherited |
Get the name of the derived type of this.
Definition at line 248 of file parameter.h.
|
inlineoverridevirtualinherited |
Return the unit of this parameter instance.
Implements lsst::modelfit::parameters::ParameterBase< T >.
Definition at line 254 of file parameter.h.
|
inlineoverridevirtualinherited |
Return the untransformed value of this parameter instance.
Implements lsst::modelfit::parameters::ParameterBase< T >.
Definition at line 256 of file parameter.h.
|
inlineoverridevirtualinherited |
Return the transformed value of this parameter instance.
Implements lsst::modelfit::parameters::ParameterBase< T >.
Definition at line 258 of file parameter.h.
|
inlineinherited |
|
inlineoverridevirtualinherited |
Return a full, callable string representation of this.
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. |
Implements lsst::modelfit::parameters::Object.
Definition at line 312 of file parameter.h.
|
inlineoverridevirtualinherited |
Set the parameter to be fixed (or not).
Implements lsst::modelfit::parameters::ParameterBase< T >.
Definition at line 263 of file parameter.h.
|
inlineoverridevirtualinherited |
Set the parameter to be free (or not).
Implements lsst::modelfit::parameters::ParameterBase< T >.
Definition at line 264 of file parameter.h.
|
inlineoverridevirtualinherited |
Set the string label for this parameter instance.
Implements lsst::modelfit::parameters::ParameterBase< T >.
Definition at line 265 of file parameter.h.
|
inlineoverridevirtualinherited |
Set the limits for this parameter instance.
Implements lsst::modelfit::parameters::ParameterBase< T >.
Definition at line 266 of file parameter.h.
|
inlineoverridevirtualinherited |
Set the transforming function for this parameter instance.
Implements lsst::modelfit::parameters::ParameterBase< T >.
Definition at line 283 of file parameter.h.
|
inlineoverridevirtualinherited |
Set the unit for this parameter instance.
Implements lsst::modelfit::parameters::ParameterBase< T >.
Definition at line 308 of file parameter.h.
|
inlineoverridevirtualinherited |
Set the untransformed value for this parameter instance.
Implements lsst::modelfit::parameters::ParameterBase< T >.
Definition at line 297 of file parameter.h.
|
inlineoverridevirtualinherited |
Set the transformed value for this parameter instance.
Implements lsst::modelfit::parameters::ParameterBase< T >.
Definition at line 303 of file parameter.h.
|
inlineoverridevirtualinherited |
Return a brief, human-readable string representation of this.
Implements lsst::modelfit::parameters::Object.
Definition at line 321 of file parameter.h.
|
inlinestaticinherited |
Definition at line 111 of file parameter.h.
|
inlinestaticconstexpr |
Definition at line 121 of file parameters.h.
|
inlinestatic |
Definition at line 123 of file parameters.h.
|
inlinestaticconstexpr |
Definition at line 122 of file parameters.h.
|
inlinestaticconstexpr |
Definition at line 120 of file parameters.h.
|
inlinestatic |
Definition at line 124 of file parameters.h.
|
protectedinherited |
The untransformed value.
Definition at line 200 of file parameter.h.
|
protectedinherited |
The cached, transformed value.
Definition at line 202 of file parameter.h.
|
staticconstexprinherited |