21"""This file only exists to deprecate the Filter and FilterProperty classes.
24from lsst.utils.deprecated
import deprecate_pybind11
26from ._imageLib
import VisitInfo
48 boresightAirmass=None,
49 boresightRotAngle=None,
58 observationReason=None,
60 hasSimulatedContent=None,
62 if exposureId
is None:
67 if exposureTime
is None:
68 exposureTime = self.exposureTime
70 darkTime = self.darkTime
77 if boresightRaDec
is None:
78 boresightRaDec = self.boresightRaDec
79 if boresightAzAlt
is None:
80 boresightAzAlt = self.boresightAzAlt
81 if boresightAirmass
is None:
82 boresightAirmass = self.boresightAirmass
83 if boresightRotAngle
is None:
84 boresightRotAngle = self.boresightRotAngle
86 rotType = self.rotType
87 if observatory
is None:
88 observatory = self.observatory
90 weather = self.weather
91 if instrumentLabel
is None:
92 instrumentLabel = self.instrumentLabel
97 if observationType
is None:
98 observationType = self.observationType
99 if scienceProgram
is None:
100 scienceProgram = self.scienceProgram
101 if observationReason
is None:
102 observationReason = self.observationReason
105 if hasSimulatedContent
is None:
106 hasSimulatedContent = self.hasSimulatedContent
109 exposureId=exposureId,
110 exposureTime=exposureTime,
115 boresightRaDec=boresightRaDec,
116 boresightAzAlt=boresightAzAlt,
117 boresightAirmass=boresightAirmass,
118 boresightRotAngle=boresightRotAngle,
120 observatory=observatory,
122 instrumentLabel=instrumentLabel,
125 observationType=observationType,
126 scienceProgram=scienceProgram,
127 observationReason=observationReason,
129 hasSimulatedContent=hasSimulatedContent,
133VisitInfo.getExposureId = deprecate_pybind11(
134 VisitInfo.getExposureId,
135 reason=
"Replaced by VisitInfo.id for full focal plane identifiers and by ExposureInfo.id for "
136 "detector-level identifiers. Will be removed after v25.",
def copyWith(self, exposureId=None, exposureTime=None, darkTime=None, date=None, ut1=None, era=None, boresightRaDec=None, boresightAzAlt=None, boresightAirmass=None, boresightRotAngle=None, rotType=None, observatory=None, weather=None, instrumentLabel=None, id=None, focusZ=None, observationType=None, scienceProgram=None, observationReason=None, object=None, hasSimulatedContent=None)
def __deepcopy__(self, memo=None)