AstroTime#

class ctapipe.core.traits.AstroTime(default_value: Any = traitlets.Undefined, allow_none: bool = False, read_only: bool | None = None, help: str | None = None, config: Any | None = None, **kwargs: Any)[source]#

Bases: TraitType

A trait representing a point in Time, as understood by astropy.time.

Attributes Summary

info_text

str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

Methods Summary

validate(obj, value)

try to parse and return an ISO time string

Attributes Documentation

info_text: str#

Methods Documentation

validate(obj, value)[source]#

try to parse and return an ISO time string