VisitSystem#
- class lsst.obs.base.VisitSystem(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
EnumEnumeration used to label different visit systems.
Attributes Summary
Visit membership is defined by the value of the group dimension or, for older dimension universes, exposure.group_id.
Visit membership is defined by the values of the
exposure.day_obs,exposure.seq_start, andexposure.seq_endvalues.Each exposure is assigned to its own visit.
Methods Summary
all()Return a
frozensetcontaining all members.from_name(external_name)Construct the enumeration from given name.
from_names(names)Return a
frozensetof all the visit systems matching the supplied names.Attributes Documentation
- BY_GROUP_METADATA = 1#
Visit membership is defined by the value of the group dimension or, for older dimension universes, exposure.group_id.
- BY_SEQ_START_END = 2#
Visit membership is defined by the values of the
exposure.day_obs,exposure.seq_start, andexposure.seq_endvalues.
- ONE_TO_ONE = 0#
Each exposure is assigned to its own visit.
Methods Documentation
- classmethod all() frozenset[VisitSystem]#
Return a
frozensetcontaining all members.
- classmethod from_name(external_name: str) VisitSystem#
Construct the enumeration from given name.
- classmethod from_names(names: Iterable[str] | None) frozenset[VisitSystem]#
Return a
frozensetof all the visit systems matching the supplied names.Parameters#
- namesiterable of
str, orNone Names of visit systems. Case insensitive. If
Noneor empty, all the visit systems are returned.
Returns#
- systems
frozensetofVisitSystem The matching visit systems.
- namesiterable of