21"""This file only exists to deprecate the Filter and FilterProperty classes.
24from lsst.utils.deprecated
import deprecate_pybind11
26from ._imageLib
import VisitInfo
44 boresightAirmass=None,
45 boresightRotAngle=None,
54 observationReason=None,
56 hasSimulatedContent=None,
58 if exposureId
is None:
63 if exposureTime
is None:
64 exposureTime = self.exposureTime
66 darkTime = self.darkTime
73 if boresightRaDec
is None:
74 boresightRaDec = self.boresightRaDec
75 if boresightAzAlt
is None:
76 boresightAzAlt = self.boresightAzAlt
77 if boresightAirmass
is None:
78 boresightAirmass = self.boresightAirmass
79 if boresightRotAngle
is None:
80 boresightRotAngle = self.boresightRotAngle
82 rotType = self.rotType
83 if observatory
is None:
84 observatory = self.observatory
86 weather = self.weather
87 if instrumentLabel
is None:
88 instrumentLabel = self.instrumentLabel
93 if observationType
is None:
94 observationType = self.observationType
95 if scienceProgram
is None:
96 scienceProgram = self.scienceProgram
97 if observationReason
is None:
98 observationReason = self.observationReason
101 if hasSimulatedContent
is None:
102 hasSimulatedContent = self.hasSimulatedContent
105 exposureId=exposureId,
106 exposureTime=exposureTime,
111 boresightRaDec=boresightRaDec,
112 boresightAzAlt=boresightAzAlt,
113 boresightAirmass=boresightAirmass,
114 boresightRotAngle=boresightRotAngle,
116 observatory=observatory,
118 instrumentLabel=instrumentLabel,
121 observationType=observationType,
122 scienceProgram=scienceProgram,
123 observationReason=observationReason,
125 hasSimulatedContent=hasSimulatedContent,
129VisitInfo.getExposureId = deprecate_pybind11(
130 VisitInfo.getExposureId,
131 reason=
"Replaced by VisitInfo.id for full focal plane identifiers and by ExposureInfo.id for "
132 "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)