Skip to content

Commit

Permalink
Remove long-deprecated photoCalib arg
Browse files Browse the repository at this point in the history
The only places that passed this arg were in meas_astrom, and I'm taking care
of them on this ticket.
  • Loading branch information
parejkoj committed Dec 28, 2021
1 parent 984413d commit 5c88bc0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions python/lsst/meas/algorithms/loadReferenceObjects.py
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ def _calculateCircle(bbox, wcs, pixelMargin):
return pipeBase.Struct(coord=coord, radius=radius, bbox=bbox)

@staticmethod
def getMetadataCircle(coord, radius, filterName, photoCalib=None, epoch=None):
def getMetadataCircle(coord, radius, filterName, epoch=None):
"""Return metadata about the reference catalog being loaded.
This metadata is used for reloading the catalog (e.g. for
Expand All @@ -656,8 +656,6 @@ def getMetadataCircle(coord, radius, filterName, photoCalib=None, epoch=None):
Radius of the search region.
filterName : `str`
Name of the camera filter.
photoCalib : `None`
Deprecated, only included for api compatibility.
epoch : `astropy.time.Time` or `None`, optional
Epoch to which to correct proper motion and parallax, or `None` to
not apply such corrections.
Expand All @@ -676,7 +674,7 @@ def getMetadataCircle(coord, radius, filterName, photoCalib=None, epoch=None):
md.add('EPOCH', "NONE" if epoch is None else epoch.mjd, 'Epoch (TAI MJD) for catalog')
return md

def getMetadataBox(self, bbox, wcs, filterName, photoCalib=None, epoch=None,
def getMetadataBox(self, bbox, wcs, filterName, epoch=None,
bboxToSpherePadding=100):
"""Return metadata about the load
Expand All @@ -691,8 +689,6 @@ def getMetadataBox(self, bbox, wcs, filterName, photoCalib=None, epoch=None,
The WCS object associated with ``bbox``.
filterName : `str`
Name of the camera filter.
photoCalib : `None`
Deprecated, only included for api compatibility.
epoch : `astropy.time.Time` or `None`, optional
Epoch to which to correct proper motion and parallax, or `None` to
not apply such corrections.
Expand Down

0 comments on commit 5c88bc0

Please sign in to comment.