Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-38846: Remove ImageDifferenceTask #783

Merged
merged 2 commits into from May 16, 2023
Merged

DM-38846: Remove ImageDifferenceTask #783

merged 2 commits into from May 16, 2023

Conversation

isullivan
Copy link
Contributor

Remove the deprecated ImageDifferenceTask, and the supporting code from lsst.ip.diffim. Removing the supporting code also required removing the ancient lsst.ip.diffim.SnapPsfMatchTask.

# Useful diagnostic for the degree of astrometric shift between snaps.
diffKern = diffRet.psfMatchingKernel
width, height = diffKern.getDimensions()
raise NotImplementedError("PSF-matching of snaps is not yet supported.")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks to me that we have stopped supporting a feature that used to be possible earlier. Was this ever deprecated?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this functionality has never actually been supported. We will need to add it, but it will be cleaner to start fresh than to try to use this very old code.

The replacement Tasks can be found in lsst.ip.diffim.subtractImages
Copy link
Member

@arunkannawadi arunkannawadi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@isullivan isullivan merged commit 5e700ac into main May 16, 2023
1 check passed
@isullivan isullivan deleted the tickets/DM-38846 branch May 16, 2023 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants