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-49333: Allow PropertySet to be passed to afw display #769

Merged
merged 3 commits into from
Mar 19, 2025
Merged

Conversation

timj
Copy link
Member

@timj timj commented Mar 7, 2025

No description provided.


# Now WcsB, so that pixel (0,0) is correctly labelled (but ignoring XY0)
# Ignored by writeFits below
_add_wcs("B", ps)
Copy link
Member Author

Choose a reason for hiding this comment

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

Consensus is that I'm going to drop this.

@arunkannawadi arunkannawadi self-requested a review March 11, 2025 23:26
else:
raise TypeError(f"Unsupported type {data!r}")

def mtv(self, data, title="", wcs=None):
def mtv(self, data, title="", wcs=None, metadata=None):
"""Display an image on a display, with semi-transparent masks
overlaid, if available.
Copy link
Member

Choose a reason for hiding this comment

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

It's somewhat separate from this ticket, but it would be good to at least point to image in the docstring so one would know where to go and look up the parameters for mtv.

@arunkannawadi arunkannawadi self-requested a review March 12, 2025 21:49
@timj timj force-pushed the tickets/DM-49333 branch from afaa5ee to 01b09f1 Compare March 18, 2025 03:37
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.

Looks great after the cleanup and with the tests!

@timj timj force-pushed the tickets/DM-49333 branch from 01b09f1 to 4efd46c Compare March 18, 2025 20:45
@timj timj merged commit 8ec4aff into main Mar 19, 2025
2 checks passed
@timj timj deleted the tickets/DM-49333 branch March 19, 2025 19:41
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