Float#
- class ctapipe.core.traits.Float(default_value: float | Sentinel | None = traitlets.Undefined, allow_none: bool = False, read_only: bool | None = False, help: str | None = None, config: Any | None = None, **kwargs: Any)#
Bases:
TraitType
[G
,S
]A float trait.
Attributes Summary
Methods Summary
from_string
(s)Get a value from a config string
subclass_init
(cls)validate
(obj, value)Attributes Documentation
- default_value: t.Any = 0.0#
Methods Documentation